Electronic – How to debug UART

debugginguart

The firmware of my module supports UART printf() which I think could be good for debugging, but how could the messages be read? I'm currently using just a USB-to-Serial cable. I've tried using PuTTy, but all I see is gibberish, e.g.,

▒)▒ɜ▒]
▒▒▒▒9~▒!▒▒!▒▒▒▒▒▒J=▒▒H▒]
▒,▒▒H9▒
▒▒H▒▒Ȇ

Is PuTTy actually right for the job?

Best Answer

Have you checked your baud,start,stop settings? Try with different values (e.g. 9600,n,8,1)