05_drivers_gpio_uart - nonsense received from miniterm #228
-
I'm failing to get comms working between the Pi and my Ubuntu linux machine. I get nonsense, like this:
I've re-cloned your repo and re-downloaded the files from the firmware repo. I've also tried using the files from a newly-created PiOS boot image, and still the nonsense. There is some consistency in the nonsense and I did get different nonsense when I used the files I copied from the boot disk instead of the ones from the firmware repo. I'm definitely using a CP2102 - this one. To verify the hardware, I created a new PiOS boot image, made the changes to So then I went back to my build. I get roughly the same thing each time I start it:
For this one, I left the Pi3 running and just closed and reopened miniterm. I then typed the letters a-z and then []{}_- You can see that five of those last six characters came out correctly, which seemed weird.
Do you have any idea what is going wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Looks like you're using the wrong baudrate? Should be 921600. Give https://github.com/BartMassey-upstream/scip a try if you like. I'm still working on this, but it seems to be working so far as a Rust terminal solution. |
Beta Was this translation helpful? Give feedback.
-
Serial is a giant pain in the behind. You have my sympathies. If you can't get it figured out tomorrow let me know. Phil Oppermann and I are working the early chapters of this book and I don't yet have a rollup of what we changed so far to get it working quite ready. I'll try to rework from the beginning on my known-working board and see what I run into — maybe make a video. |
Beta Was this translation helpful? Give feedback.
-
Glad you got it to work! |
Beta Was this translation helpful? Give feedback.
Looks like you're using the wrong baudrate? Should be 921600.
Give https://github.com/BartMassey-upstream/scip a try if you like. I'm still working on this, but it seems to be working so far as a Rust terminal solution.