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?
Moderator: RoccoMarco
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: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: SW-DP interface for debugging?
ChibiOS does not have such a functionality, I have not tried that code.
Giovanni
Giovanni