Demonstration program for STM Studio monitor and debug tool.

Dependencies:   mbed

The ARM Cortex M series supports tracing capabilities through the Serial Wire Debug (SWD) en Serial Wire Output(SWO) port. A simple lib for tracing via SWO is available here. The STM Studio application provided for free by ST has significantly more features. STM Studio is a graphical user interface that allows real-time sampling and visualizing of user's variables while the application is running.

/media/uploads/wim/stm-studio.jpg

STM Studio is designed to run on PCs with Microsoft Windows operating systems. This tool works with STM32 microcontrollers through JTAG or SWD (serial wire debug) interface. The ST-LINK/v2-1 interface on the mbed nucleo boards can be used with STM Studio. The application code shown here provides an example.

More info is available here

Files at this revision

API Documentation at this revision

Comitter:
wim
Date:
Sat Mar 19 22:22:59 2016 +0000
Parent:
5:233f5aeeec5f
Commit message:
Test 5

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 233f5aeeec5f -r 3d66c065c42a main.cpp
--- a/main.cpp	Mon Mar 14 21:45:14 2016 +0000
+++ b/main.cpp	Sat Mar 19 22:22:59 2016 +0000
@@ -150,7 +150,7 @@
     c++;
     s = 100.0f * sin((float)c * 3.1415f / 128.0f);
     b1 = myBtn1;
-    if (b1 & (b2 == 1)) {
+    if (b1 && (b2 == 1)) {
       pc.putc('1');
       wt = 0.7f;
     }