1

I know you have seen this asked before but hear me out first. I have a prototype device that I am playing around with. On the main board there is a USB port, next to the port there is a FTDI FT232R chip. Next to the USB port there is a 20 pin JTAG port. I have only tried the USB port but when I try to screen the chip I just get garbage output. Now before you say baud rate, I have already tried every possible baud rate and still get garbage. Now depending on the baud rate I get different kind of garbage. 9600 I just get repeating question marks, as I move up the garbage become faster and more random. Now I have tried different stop bits and etc. but I haven't tried every possible combination.

My question is what is my best route to figure this thing out? Just brute force every possible combination? Which would take forever. Or is there something else I'm missing.

Thanks.

  • use oscilloscope for the baud rate and also for the configuration (number of start/data/parity/stop bits) PS Baud rate can be anything not just 9600,115200 .... sometimes common frequency is used to align with another device. For example PC uses 115200 Hz as clock bud MCU;s usually 8/12/24/48 MHz and the internal division mess the frequency a bit so for example I few times used around ~1022 Baud rate just to make sure it works inbetween all devices ... – Spektre Dec 4 '16 at 11:01
  • See edit of my answer, could be unicode? The question marks would indicate that over garbage. – dyasta Jan 25 '17 at 20:05
1

Whenever I had garbage it was due to incorrect baud rate or other settings, but you've tried those. Otherwise, check the connection carefully and make sure it is soldered well. Also ensure your TTL chip is functioning, if applicable.

The repeating question marks don't sound like garbage though - they may be Unicode that your terminal can't display or something doesn't support, maybe 7-bit chars, I dunno.

0

Not much to go on with, but if you don't have a scope or a logic analyzer, trying every possible baud rate with 8N1 (the most common configuration) is probably the easiest way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.