I have a project that needs to be built on IAR EW for ARM and try to debug it from Linux.
I can see all symbols in the resulting ELF, however I can't break on "main symbols", IAR creates bunch of partial symbols, including "main symbols".
E.g. there is method/function SPCmd::HandleCmdData, but the code never breaks on it. I have to add all extra breakpoints on symbols weirdly named HandleCmdData_xx (where xx is 0 to 23). This includes lots of flash breakpoints. And it applies to all of the other methods/functions.
Versions:
* Ozone v3.28b (latest version) on Linux (where it's debugged) with JTrace
* IAR EW for ARM 9.30.1 on Windows (where executable is built)
See screenshot where I have breakpoint on SPCmd::HandleCmdData, but it never gets hit, instead HandleCmdData_0 is hit. I tried turning off all optimizations in IAR EWARM, but nothing seem to work. The main functions/methods are never hit if set as breakpoints.
I can see all symbols in the resulting ELF, however I can't break on "main symbols", IAR creates bunch of partial symbols, including "main symbols".
E.g. there is method/function SPCmd::HandleCmdData, but the code never breaks on it. I have to add all extra breakpoints on symbols weirdly named HandleCmdData_xx (where xx is 0 to 23). This includes lots of flash breakpoints. And it applies to all of the other methods/functions.
Versions:
* Ozone v3.28b (latest version) on Linux (where it's debugged) with JTrace
* IAR EW for ARM 9.30.1 on Windows (where executable is built)
See screenshot where I have breakpoint on SPCmd::HandleCmdData, but it never gets hit, instead HandleCmdData_0 is hit. I tried turning off all optimizations in IAR EWARM, but nothing seem to work. The main functions/methods are never hit if set as breakpoints.