This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GNU Toolchain and ULINK2 HLL debugging

Hi,
I have a project which is build with the CodeSourcery G++ Lite GNU Toolchain. The compiler option -gdwarf-2 is on.
Now I create a new uVision4 Project, select the Micro (STM32F103ZE) and set up in the OPTION dialog under OUTPUT the name of the elf-file at "Name of Executable". Afterwards I choose the ULINK Cortex Debugger at the DEBUG tab and select "Load Application at Startup" and "Run to main()"

Also I write a ini-file where are the SET SRC commands to all directorys of my project.

So after I push the button Start/Stop Debug Session there will be a message in the output window: "*** Warning: corrupted .debug_loc section info ignored, locations of local symbols are unknown" and "Cannot access Memory"

The programm stops at main. Every time I push the button Step the message "Cannot access Memory" will be come again.

What can I do to do a high-level-debugging with ULINK2

Thanks

Michael

0