Cannot get printf to work with SWD. What am I doing wrong?
Hello,
I am trying to write a simple hello world in order to make printf work with my setup. I have an own board, which I am programming it using ST-Link V3set (I also couldn't get it to work with ST-Link V2). I can program my board, debug it, I can see variables on live expression and everything is working perfectly.
The problem is when I try to redirect printf to ITM. I overwrite the _write function, I can step through it, I can see it writing to the register, but I get nothing on my console.
I basically followed this video and have also tried following articles, where everyone got it working. I have followed every possible step, but I still don't get anything on the console. What am I doing wrong?
