How to create a TTL/UART Log!

Post your great articles here :)
Post Reply
bumerc
Administrator & Developer
Posts: 1649
Joined: Tue Oct 02, 2018 6:19 pm
Has thanked: 254 times
Been thanked: 341 times

#1

Wath is needed:

Image

1 x Linux or Windows PC
1 x USB to TTL/UART Converter ( Serial-Converter)
3 x connection Cable

UART – GPIO:

The order of 4-pins is almost always the same on each PCB, starting with GND (the only square pin)
Note: Soldering contact pins or cables is not necessary for a PCB with through-hole UART holes, a mechanical connection is sufficient.

Image

PIN-OUT:

1. GND
2. TX
3. RX
4. 3.3V, VCC (IS NOT NEEDED)

1. Connect the PCB pads to the corresponding Serial-Converter ports, and then connect the USB-Connector of the Serial-Converter to the USB port on the PC.

GND (PCB) <———— > GND (Serial-Converter)
TX (PCB) <————> RX (Serial-Converter)
RX (PCB) <————> TX (Serial-Converter)
USB-Connector (Serial-Converter) <————> USB-Port (PC)

2. Download Putty and make the following settings:

Image
Image

3. To establish the TTL connection with the board, press the <Open> button and then connect the board to the mains.

modeEDIT:
bumerc wrote: Sun Jun 14, 2020 7:45 am ...
2 DO NOT connect your box to HDMI cables and only leave uart connected
3. Cancel the autoboot, press ENTER or spacebar as soon as you have connected the box to the mains.
4. Now execute the ..... commands in the uboot terminal
Nayam
Administrator & Developer
Posts: 1275
Joined: Mon Jun 11, 2018 11:58 pm
Has thanked: 195 times
Been thanked: 425 times
Contact:

#2

Wow, great tutorial! thanks a lot!
BE NICE, BE RESPECTFUL
RESPECT THE MODERATORS
PM ONLY WHEN IMPORTANT
ENJOY!
My Devices:
X96 Mini, A95X Pro, H96 Pro Stick, A95X Max
6666
Experienced Member
Posts: 54
Joined: Sat Sep 22, 2018 11:17 pm
Been thanked: 5 times

#3

hi you know where i can get the drivers windows 10 thx
bumerc
Administrator & Developer
Posts: 1649
Joined: Tue Oct 02, 2018 6:19 pm
Has thanked: 254 times
Been thanked: 341 times

#4

6666 wrote: Tue Jan 22, 2019 12:35 am hi you know where i can get the drivers windows 10 thx
VCP_Drivers
6666
Experienced Member
Posts: 54
Joined: Sat Sep 22, 2018 11:17 pm
Been thanked: 5 times

#5

im trying to find a way to write to the box by serial uart thx
Carmine
Posts: 4
Joined: Thu Jun 21, 2018 4:19 pm

#6

[mention]6666[/mention] try this:

1. Connect your board with PC by UART following [mention]bumerc[/mention]'s tutorial and keep putty console open
2. Open Burning Tool
3. Connect your board with PC by male-male USB and press CNTRL+C on putty to stop autoboot
4. Write "update" and enter on putty, Burning Tool should find your board

Credits: [mention]SemNizzle[/mention] from Freaktab
6666
Experienced Member
Posts: 54
Joined: Sat Sep 22, 2018 11:17 pm
Been thanked: 5 times

#7

Thx for replying for some reason I can only connect putty with setting com port serial ....

When I try ttyusb0 I can never connect to putty I have a USB to ttl wire thx again
Carmine
Posts: 4
Joined: Thu Jun 21, 2018 4:19 pm

#8

6666 wrote: Mon Jan 28, 2019 9:07 pm Thx for replying for some reason I can only connect putty with setting com port serial ....

When I try ttyusb0 I can never connect to putty I have a USB to ttl wire thx again
What are you trying to do? Unbrick?
What's your board?
bumerc
Administrator & Developer
Posts: 1649
Joined: Tue Oct 02, 2018 6:19 pm
Has thanked: 254 times
Been thanked: 341 times

#9

@6666
1. Open Device Manager.
2. Go to Ports (COM & LPT).
3. Find the correct Port (it should be using " Silicon Labs CP210x... (COM1.. COM2.. COM3.. etc.).
4. Open Putty, and write the correct COM Port in the "Serial line", e. g. COM3.

The instructions above were written on Ubuntu machine.
json
Verified Member
Posts: 18
Joined: Tue Jan 22, 2019 6:28 pm
Has thanked: 5 times
Been thanked: 3 times

#10

The pictures above show PuTTY on Ubuntu which will use '/dev/ttyUSBx' because it Linux based, where PuTTY on Windows will use a COMx port. If having a problem finding the right COM port check Device Manager. If needed, unplug the USB serial converter from your PC while Device Manager is open and plug it back in. You should see the serial converter appear in the 'Ports (COM & LTP)' branch.


The same is already up! This is not a discussion topic, please read the FAQ rules and keep it clean! Post the questions in the forum.
Many Thanks
Post Reply