Usage:
#include "mbed.h"
#include "swo.h"
using namespace sixtron;
static SWO swo;
int main() {
swo.printf("Hello, World!\n");
}To open a separated GUI to monitor SWO output via a J-Link probe, execute
JLinkSWOViewer with your device name, and CPU frequency e.g.:
JLinkSWOViewer -device STM32L496RG -cpufreq 80000000To get the SWO output on a command line interface, the command is
- On Windows:
JLinkSWOViewerCL -device STM32L496RG -cpufreq 80000000 -itmport 0
- On Linux:
JLinkSWOViewer_CL -device STM32L496RG -cpufreq 80000000 -imtport 0