Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
Unable to use PortIn (portA) and SWO?
I'm having an issue with using this SWO debug library, if I use e.g. ports B and C as inputs - that's fine, however if I used port A (regardless of the pins used) then SWO debugging doesn't work and I get no output on the SWO viewer.
I'm using an ST Nucleo F401RE, I've read through the manual and some port A pins are multiplexed with SWx pins, but this starts are PA13, I'm not using or configuring this pin.
Sample piece of code to add that will cause SWO to stop working:
PortIn APortIn(PortA, 0b1111);