Hi,
Does ChibiOS have any functions for using the SW-DP for outputting debuging messages over SWD? I'm using openocd as well.
Having this would free up a USART we're currently using for debugging output.
Barring that, can anyone recommend a software UART implementation for STM32 that could be used for debugging output? I would only need TX, no receive needed.
Thanks!
SW-DP interface for debugging?
Moderators: RoccoMarco, barthess
Re: SW-DP interface for debugging?
Hm, it might be as simple as some inline assembly. Here's a hint of how it might work:
https://electronics.stackexchange.com/q ... d-using-gd
https://electronics.stackexchange.com/q ... d-using-gd
Re: SW-DP interface for debugging?
Any recommendations? Should the example code in the link simply do the job?
Thanks!
Thanks!
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: SW-DP interface for debugging?
ChibiOS does not have such a functionality, I have not tried that code.
Giovanni
Giovanni
Who is online
Users browsing this forum: No registered users and 56 guests