Erich,
Thank you for the tip. I have seen this issue come up and also traced it to break points to code that is not present anymore.
Regarding FreeRTOS, I use version 8.0.1. I use FreeRTOS as a separate static library project that I link against as opposed to processor expert managed FreeRTOS inside the application. I prefer to keep code functionality in separate libraries as much as possible so as to keep application code cleaner, to promote loose coupling and to make it easier to track dependencies. I had experimented with processor expert plugin for FreeRTOS component while using CodeWarrior. Breakpoints followed by stepping did work without issue when I used PE in Codewarrior. I now use KDS which does not have FreeRTOS component although I am not sure if I need to add plugin separately or if I need to upgrade to newer v2.0. I notice in your blog that you mention that FreeRTOS is now built into KDS.
To use FreeRTOS as a separate static library, I simply use processor expert in the KDS application project to set vector function names for SVC_Handler, PendSV_Handler and SysTick_Handler (FreeRTOS ISRs). I set up systick timer 1ms and edit FreeRTOSConfig.h to match processor clock (72mhz) and tick time (1ms). My application at this point is quite basic, there is no FreeRTOS calls in ISRs, only free running tasks that did what the application did without an RTOS plus a task to blink an LED. LED blinks at the rate I expect given clock and tick settings. The application works fine except for the breakpoint/step problem.
The FreeRTOS ISR code I use is the stock ISRs for GCC/CM3 that come with FreeRTOS. I notice that FreeRTOS ISR code that CodeWarrior generated through PE component is more specialized for CM4. Again, the processor I use is MK10DX256VLH7, it is not CM4F core. The next thing I am going to look at is what is different in PE generated ISRs.
Any suggestions are welcome.
Thanks,
Dave