I have a J-Trace Pro Cortex-M set up and running with Ozone V3.30b, J-Link drivers V7.92.
I've been using it for more than a year to debug an Arm Cortex M3 on a Smartfusion2 device and it has been very reliable.
I use the ETM trace function with 4b trace output at 36 MHz (same as CPU), no timestamps, 50M max instruction count and default trace timing. The J-Link debug is set to 25 MHz.
When I use "Download and Reset Program" to start my debug session, the trace count does not increment other than if I hit a breakpoint. It counts on the breakpoint but not on surrounding instructions that would also have been hit. However, if I first "Download and reset" the program, then "Stop debug session", followed by "Attach and Halt program", then "Reset to Main" to play from the beginning, then the count works correctly and records every single instruction hit.
The attached table shows the output from a similar stage in the debug run for each different mode I use.
I thought this might be a bug in Ozone so I reported it to Segger support, however I was told it is most likely a configuration issue on my side and that Ozone is behaving as expected.
My J-Trace is two years old and therefore out of the support period, so I am wondering if anyone else has seen this issue and can offer advice how to fix it please?
I would like to see Trace output in "Download & Reset Program" mode, in the same was as I do in the other two modes.
Thanks,
Huw
I've been using it for more than a year to debug an Arm Cortex M3 on a Smartfusion2 device and it has been very reliable.
I use the ETM trace function with 4b trace output at 36 MHz (same as CPU), no timestamps, 50M max instruction count and default trace timing. The J-Link debug is set to 25 MHz.
When I use "Download and Reset Program" to start my debug session, the trace count does not increment other than if I hit a breakpoint. It counts on the breakpoint but not on surrounding instructions that would also have been hit. However, if I first "Download and reset" the program, then "Stop debug session", followed by "Attach and Halt program", then "Reset to Main" to play from the beginning, then the count works correctly and records every single instruction hit.
The attached table shows the output from a similar stage in the debug run for each different mode I use.
I thought this might be a bug in Ozone so I reported it to Segger support, however I was told it is most likely a configuration issue on my side and that Ozone is behaving as expected.
My J-Trace is two years old and therefore out of the support period, so I am wondering if anyone else has seen this issue and can offer advice how to fix it please?
I would like to see Trace output in "Download & Reset Program" mode, in the same was as I do in the other two modes.
Thanks,
Huw