ilg-archived / qemu

The GNU MCU Eclipse QEMU
http://gnuarmeclipse.github.io/qemu/
Other
204 stars 78 forks source link

Blinky on QEMU with STM32F1 fails #69

Closed cooked closed 5 years ago

cooked commented 5 years ago

Description

The default blinky project used to test the correct functioning of QEMU does not work for the STM32F1 targets.

Steps to Reproduce

  1. create new project from File>New>Others
  2. selected C++ Project and the STM32F10x Executable template with the ARM Cross GCC toolchain
  3. select default target options as below image
  4. select folders settings default,
  5. create Debug/Release configurations default GNU MCU Eclipse ARM Embedded GCC (arm-none-eabi-gcc) toolchain and complete
  6. built the project, Debug configuration
  7. assigned the NUCLEO STM32F103RB device (or equivalent NUCLEO board) to the project image
  8. create and launch debug config image

Expected behaviour: QEMU to run the blinky project succesfully

Actual behaviour: QEMU throws the following error

image

Versions

cooked commented 5 years ago

Also the STM32F0x seems to fail in a similar way.

ilg-ul commented 5 years ago

thank you, I'll investigate.

randre70 commented 5 years ago

Also applies to Windows version. Tried several configuration options of cpu and qemu to no avail. image image

ilg-ul commented 5 years ago

could you try the latest version? it is available from

https://github.com/xpack-dev-tools/qemu-arm-xpack/releases

randre70 commented 5 years ago

Same error image image

ilg-ul commented 5 years ago

thank you, I entered a new ticket, I'll investigate and try to fix it in the next release.

ilg-ul commented 5 years ago

Please check 2.8.0-8 and confirm if the bug was fixed.