So, I am attempting to use the same process as outlined in the document https://info.atollic.com/hubfs/Whitepap ... Cortex.pdf
but seem to be doing something wrong.
Here is my debugger script:
Code: Select all
# Default GDB command file (FLASH) for SEGGER J-LINK and STMicroelectronics STM32F765VI microcontroller.
# Set character encoding
set host-charset CP1252
set target-charset CP1252
# Set JTAG speed to 30 kHz
monitor speed 30
# Set GDBServer to little endian
monitor endian little
# Reset the chip to get to a known state.
# Set auto JTAG speed
monitor speed auto
# Setup GDB FOR FASTER DOWNLOADS
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed
# Enable flash download
monitor flash download = 1
#Load the Flasher applicaton
# Load the program executable
#Add debug symbol information from the bootloader (start of .text section)
add-symbol-file ./Debug/Flasher.elf 0x080101f8
# Reset the chip to get to a known state. Remove "monitor reset" command
# if the code is not located at default address and does not run by reset.
# Set a breakpoint at main().
# Run to the breakpoint.
The applicatiosn seem to load, and stop at the main application breakpoint. But the main app does not run.
Any guidance would be appreciated....