ITM Trace by GDB + OpenOCD
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-20 8:59 PM
Posted on January 21, 2014 at 05:59
I debug my C programs in Eclipse + GDB + OpenOCD by ST-Link/V2 (SWD), it works good.
In my programs printf retargeted to ITM_SendChar (Instrumentation Trace Macrocell), and I can see debug strings (printf) in Serial Wire Viewer in ST-Link Utility, but I can't see it in Debug console in eclipse + OpenOCD.What should I do to see it in eclipse? #openocd
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-21 7:31 AM
Posted on January 21, 2014 at 16:31 THIS FORUM SOFTWARE DRIVES ME CRAZYYYYYYYYYYYYY!!!! WTF, ADMINS, WHERE ARE YOU???????????
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-21 8:32 PM
Posted on January 22, 2014 at 05:32
ok. I
launched STLink GDB Server (st-util), connected gdb to 4242, but cant see ITM trace strings.
It doesn't work!Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-04-29 6:39 AM
Posted on April 29, 2014 at 15:39
texane/stlink with SWV does work. I have used it successfully.
Anyway, OpenOCD 8.0 (rc2) also works with SWV. With St-link/V2 from Discoveries. It logs captured data to a file (I do not know how to push it to a console). Tested with STM32L-Discovery.