Search Results
Search results 1-4 of 4.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
[SOLVED] How to automate periodically calling Export.CodeProfile from script
fefu - - Ozone related
PostIn order to isolate/understand the cause of an issue, in certain conditions I would like to halt the debug session in Ozone, in addition I would like periodically to write in a file (or stream?) what `Export.CodeProfile` is showing me at one moment. By comparing the code profiles, it would be easy to spot the set of functions which suddenly behaves differently. Is there a way to periodically call `Export.CodeProfile`in Ozone scripting? I tried to look for similar event catchers like `Break.OnCha…
-
[SOLVED] How to halt the program immediately after download and reset? How JLinkScript can be reused both in J-Link GDB Server and Ozone?
fefu - - Ozone related
PostAfter I used Debug.SetResetMode(RM_RESET_HALT); as described above, I could observe that the DDR controller was initialized but the memory remapping registers were not enabling the memory remapping, therefore was wrong. Once I added those register settings, I could Load and Debug with Ozone and I see RTOS aware view and the Timeline also works. Still remained unsolved the case when I just use a J-Link GDB Server and use SoftConsole IDE which connect to gdb server local ip and port. It starts the…
-
[SOLVED] How to halt the program immediately after download and reset? How JLinkScript can be reused both in J-Link GDB Server and Ozone?
fefu - - Ozone related
PostQuote from fefu: “ - How can I load a program in Ozone, then immediately halt? ” I found the answer to mMy first question. By reading the UG, the following 3 places together : - 5.6.1.1 Reset Mode - 7.9.12.9 Debug.SetResetMode - 7.2.8 Reset Modes tells me that if I manually insert Debug.SetResetMode(RM_RESET_HALT); in .jdebug file Source Code (11 lines)then it works. My execution is halted in reset handler function at the beginning.
-
[SOLVED] How to halt the program immediately after download and reset? How JLinkScript can be reused both in J-Link GDB Server and Ozone?
fefu - - Ozone related
PostI have a SmartFusion2 based custom board which requires external DDR. SoftConsole and OpenOCD I have been used before with some cheap internal debugger. Since this board has Pin tracing available and by design it was made to be able to use J-Trace Pro Cortex-M for traceability, I started to use J-Trace with Ozone. First, I translated the DDR memory controller initialization part from OpenOCD compatible script to JLinkScript. I added all the register write operations in int AfterResetTarget() fun…