2022-06-22 12:24 AM
2022-06-23 04:56 PM
2022-06-24 01:08 AM
Hi Elio,
Can you load the hex file provided by Clive (@Community member: thanks for your help :thumbs_up: ) and check that your able to see the ITM logs on your setup?
Regarding your program, can you display the value of SystemCoreClock in the debugger after SystemClock_Config and check this value is aligned with ClockCore value for the SWV in the debug configuration?
On your board, can you check that SB44 is present (SB44 is on the bottom close to PA0)? A solder bridge should be present.
Rgds
BT
2022-06-24 02:03 AM
Hello Clive,
Thank you for your example which works perfectly.
When I redid a small project to test the execution of the ITM_SendChar function alone, I misconfigured the clock and that is why the ITM_SendChar function did not work.
The printf didn't work because I didn't add the \r\n characters so I had to wait about 8s before all the emits characters were displayed.
But now everything works correctly.
Thank you very much again for your precious help.
elio
2022-06-24 02:06 AM
Hello Brian,
Thank you very much for your help which contributed to the resolution of my problem.
Elio
2022-06-24 07:26 AM
Well done Elio. Would you please mark this issue as solved by selecting the best answer?
Rgds
BT