Hello,
for performance reasons I execute some code in internal SRAM (Controller: LPC54618) instead of flash. I need different functions at differtent times, so I use overlays to put the required function into SRAM when needed.
The code works as expected, but debugging the code is sometimes difficult. If I set a breakpoint in an overly function , and the breakpoint is hit, uVision does not always shows the correct code. Instead it shows the alternative code which would be at the same execution location, but is currently not running/active.
I use compiler V5.06. Changing to the newer compiler V6 is not so easy, I get a lot of errors when I try to use compiler 6.
Would the problems be solved if I change to compiler V6, or would I see the same debugging-problem?