Hello,
I am trying to debug an IAR Cortex STM32 eval board unsuccessfully using GDB and Eclipse. I can connect to the GDB server from Eclipse but I don't seem to be able to flash the device. I have a 30day license and so it should all be possible. My current thoughts are that my initialisation commands are wrong. Currently they are based off the initialisation commands for an ARM 7 device from (yagarto.de/howto/jlink/index.html).
# Listening for commands on this PC's tcp port 2331
target remote 127.0.0.1:2331
# Enable flash download and flash breakpoints.
# Select flash device
monitor flash device = STM32F103RBT6
# Enable FlashDL and FlashBPs
monitor flash download = 1
monitor flash breakpoints = 1
# Set gdb server to little endian
monitor endian little
# Set JTAG speed in khz
monitor speed 12000
load
break main
continue
So does anyone know what the correct intialisation and download commands for the STM32 device are???
Any suggestions would be gratefully received......
Thanks
Richard
I am trying to debug an IAR Cortex STM32 eval board unsuccessfully using GDB and Eclipse. I can connect to the GDB server from Eclipse but I don't seem to be able to flash the device. I have a 30day license and so it should all be possible. My current thoughts are that my initialisation commands are wrong. Currently they are based off the initialisation commands for an ARM 7 device from (yagarto.de/howto/jlink/index.html).
# Listening for commands on this PC's tcp port 2331
target remote 127.0.0.1:2331
# Enable flash download and flash breakpoints.
# Select flash device
monitor flash device = STM32F103RBT6
# Enable FlashDL and FlashBPs
monitor flash download = 1
monitor flash breakpoints = 1
# Set gdb server to little endian
monitor endian little
# Set JTAG speed in khz
monitor speed 12000
load
break main
continue
So does anyone know what the correct intialisation and download commands for the STM32 device are???
Any suggestions would be gratefully received......
Thanks
Richard