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

Debugging STM32L103RE ... no C debugging with ULINK but there with simulator

I have been using MDK-ARM for about 13 years - normally works well.

I have a project now that uses a STM32F103RE uC. Project packs based, RTOS2.  The CMSIS / rtos project compiles in a library for ST drivers and a library for the application.   Both libs are of my creation. 

Using the exact same compile, I can debug nicely using simulator for the CPU variant.   It steps through C level source, shows C in the disassembly window, and such as expected.   When switching to the uLINK debugger (choose hardware rather than sim in options->debug  tab,  NO rebuild / recompile / etc) it will only step through assembly.  NO C listed in assembly.   Program runs identical on real hardware as it dose simulator.  

Same PCB with same ulink and other projects source level debug fine.

Looking for suggestions.  IF it was a different build between simulator and hardware I could see info not being in debugger files but with same build I am at a loss.

Thanks,

CHad