Thanks to visit codestin.com
Credit goes to github.com

Skip to content

catie-aq/mbed_swo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Wire Output (SWO) Library

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 80000000

To 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

About

Serial Wire Output (SWO) library for Mbed OS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages