Hello.
I'm trying to integrate the ITM/SWO support into my project. At first step, I wrote a code required to initialize the hardware and send out the text data. It works more or less fine. Though it still has some issues, at least I see the printouts in the "Terminal" window of the Ozone debugger.
The problem is it is not convenient for the test team to run the complete debugger environment to get the application's printouts, so I tried to use the "JLinkSWOViewer" and "JLinkSWOViewerCL" tools I found in the J-Link software pack. Both doesn't work for me. They do connect to the MCU, I see the data starts to shift out when that happens. But no output is printed.
Conditions are the following:
The "JLinkSWOViewerCL" invoked, prompted to input the name of the MCU and reported the following:
Please select a device for automatic CPU frequency detection.
Device > LPC5528JBD64
Target CPU (LPC5528JBD64) is running @ 95996 kHz.
Receiving SWO data @ 49231 kHz.
Showing data from stimulus port(s): 0
-----------------------------------------------
Shutting down...
Nothing has been received.
I tried to invoke it with the following arguments to make its operating conditions unambiguous: "-device lpc5528jbd64 -swofreq 48000000". That didn't help:
Target CPU (lpc5528jbd64) is running @ 95996 kHz.
Receiving SWO data @ 48000 kHz.
Showing data from stimulus port(s): 0
-----------------------------------------------
Shutting down...
The GUI version "JLinkSWOViewer" also doesn't work. Plus, attempt to press the "Measure" button silently shuts it down, if one open "Edit - Configure" menu and then press the "Measure" button.
Do I do something wrong, or these tools are just incomplete for the regular use?
I'm trying to integrate the ITM/SWO support into my project. At first step, I wrote a code required to initialize the hardware and send out the text data. It works more or less fine. Though it still has some issues, at least I see the printouts in the "Terminal" window of the Ozone debugger.
The problem is it is not convenient for the test team to run the complete debugger environment to get the application's printouts, so I tried to use the "JLinkSWOViewer" and "JLinkSWOViewerCL" tools I found in the J-Link software pack. Both doesn't work for me. They do connect to the MCU, I see the data starts to shift out when that happens. But no output is printed.
Conditions are the following:
- LPC5528JDB64 running at 96MHz;
- SWO frequency is 48 MHz;
- test string is "1\r\n";
- stimulus port is 0.
The "JLinkSWOViewerCL" invoked, prompted to input the name of the MCU and reported the following:
Please select a device for automatic CPU frequency detection.
Device > LPC5528JBD64
Target CPU (LPC5528JBD64) is running @ 95996 kHz.
Receiving SWO data @ 49231 kHz.
Showing data from stimulus port(s): 0
-----------------------------------------------
Shutting down...
Nothing has been received.
I tried to invoke it with the following arguments to make its operating conditions unambiguous: "-device lpc5528jbd64 -swofreq 48000000". That didn't help:
Target CPU (lpc5528jbd64) is running @ 95996 kHz.
Receiving SWO data @ 48000 kHz.
Showing data from stimulus port(s): 0
-----------------------------------------------
Shutting down...
The GUI version "JLinkSWOViewer" also doesn't work. Plus, attempt to press the "Measure" button silently shuts it down, if one open "Edit - Configure" menu and then press the "Measure" button.
Do I do something wrong, or these tools are just incomplete for the regular use?