Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
serial_port_modification [2011/08/13 19:56]
ggrandou
serial_port_modification [2011/08/22 21:31] (current)
frantonym
Line 1: Line 1:
 ====== Serial Port Modification ====== ====== Serial Port Modification ======
  
-Tegra2 SoC has 4 standard serial ports available. One of them is often used as the Console port both for the Fastboot Android Bootloader and for the kernel console. This port is not directly ​useable ​on the AC100. it's available on the mother board on a small connector (labelled ​JP1). The connector is not soldered on Production devices.+Tegra2 SoC has 4 standard serial ports available. One of them is often used as the Console port both for the Fastboot Android Bootloader and for the kernel console. This port is not directly ​usable ​on the AC100. it's available on the mother board on a small connector (labeled ​JP1). The connector is not soldered on Production devices.
  
 This page explains how to add serial port to an USB port on your host PC. This page explains how to add serial port to an USB port on your host PC.
Line 9: Line 9:
  
 {{:​wiki:​p1040388.jpg?​400|}}\\ {{:​wiki:​p1040388.jpg?​400|}}\\
-A standard CA42 Nokia cable.Well, almost "​standard"​.There are two type of serial data Nokia Cables:- the CA42 cable, whose internal transceiver is powered up by the USB port- the DKU5 cable, whose internal transceiver is powered by the phone.My CA42 cable, with all Nokia brands, on the cable, on the package, on the doc, appears to be powered by the phone. This means I will have to solder an additional power line wire.+A standard CA42 Nokia cable. Well, almost "​standard"​. There are two type of serial data Nokia Cables:- the CA42 cable, whose internal transceiver is powered up by the USB port- the DKU5 cable, whose internal transceiver is powered by the phone. My CA42 cable, with all Nokia brands, on the cable, on the package, on the doc, appears to be powered by the phone. This means I will have to solder an additional power line wire.
  
 {{:​wiki:​p1040389.jpg?​400|}}\\ {{:​wiki:​p1040389.jpg?​400|}}\\
-Cut the useless phone connector.Using an ohmmeter, we can identify wires, knowing the Nokia pinout.On this cable:pin 4 - red - 3.3V (used to power the serial-usb transceiver)pin 6 - blue - phone RXpin 7 - white - phone TXpin 8 - black - GNDPinout ​can be found on this page:​http://​buffalo.nas-central.org/​wiki/​Use_a_Nokia_Serial_Cable_on_an_ARM9_Linkstation+Cut the useless phone connector. Using an ohmmeter, we can identify wires, knowing the Nokia pinout. 
 +On this cable: 
 +  * pin 4 - red - 3.3V (used to power the serial-usb transceiver) 
 +  * pin 6 - blue - phone RX 
 +  * pin 7 - white - phone TX 
 +  * pin 8 - black - GND. 
 +Pinout ​can be found on this page: http://​buffalo.nas-central.org/​wiki/​Use_a_Nokia_Serial_Cable_on_an_ARM9_Linkstation
  
 {{:​wiki:​p1040390.jpg?​400|}} {{:​wiki:​p1040390.jpg?​400|}}
Line 19: Line 25:
  
 {{:​wiki:​p1040392.jpg?​400|}}\\ {{:​wiki:​p1040392.jpg?​400|}}\\
-The serial port is the JP1 connector, near the left speaker connector.Pinout,​ from right to left:1 - in - RX2 - out - TX3 - out - T20_WAKE#4 - out - +3V5 - out - +1.8V678 - in - SYSTEM_RESET#​9 - in - EC_TX80_PDATA10 ​- in - GND+The serial port is the JP1 connector, near the left speaker connector. Pinout, from right to left: 
 +  * 1 - in - RX 
 +  * 2 - out - TX 
 +  * 3 - out - T20_WAKE# 
 +  * 4 - out - +3V 
 +  * 5 - out - +1.8V 
 +  * 678 - in - SYSTEM_RESET#​ 
 +  * 9 - in - EC_TX80_PDATA 
 +  * 10 - in - GND
  
 {{:​wiki:​p1040393.jpg?​400|}} {{:​wiki:​p1040393.jpg?​400|}}
 {{:​wiki:​p1040394.jpg?​400|}}\\ {{:​wiki:​p1040394.jpg?​400|}}\\
-1st try.black - GNDred - +3.3V, to power up the "​Nokia"​ cablewhite - TX lineYes, there is no RX. While soldering it, I've broken the copper track on the PCB :(As the track is directly connected to the Tegra2 SOC, there is no point where I could solder a wire somewhere else...Hopefully,​ it the RX line. So, the CPU can still print debug info on the port, I just cannot send chars to the CPU... Half-Fail.+1st try.black - GNDred - +3.3V, to power up the "​Nokia"​ cablewhite - TX lineYes, there is no RX. While soldering it, I've broken the copper track on the PCB :( As the track is directly connected to the Tegra2 SOC, there is no point where I could solder a wire somewhere else... Hopefully, it the RX line. So, the CPU can still print debug info on the port, I just cannot send chars to the CPU... Half-Fail.
  
 {{:​wiki:​p1040395.jpg?​400|}} {{:​wiki:​p1040395.jpg?​400|}}
 {{:​wiki:​p1040514.jpg?​400|}}\\ {{:​wiki:​p1040514.jpg?​400|}}\\
-Now, let's do things cleanly.a small 4 pin connector (thank you Fifi!). Cable is passed through the Kensington lock hole, so that I don't have to do any mechanical degradation to the AC100 cover.Cable is tied to the AC100 using a hot glue gun. I have used very thin wrapping wires for two reasons:a) the JP1 connector is really small, smaller than the cableb) ​and my cable was too short anyway!Some adhesive is used to isolate wires from the conductive paint and from the keyboard once it will be put back.+Now, let's do things cleanly.a small 4 pin connector (thank you Fifi!). Cable is passed through the Kensington lock hole, so that I don't have to do any mechanical degradation to the AC100 cover. Cable is tied to the AC100 using a hot glue gun. I have used very thin wrapping wires for two reasons: 
 + ​- ​the JP1 connector is really small, smaller than the cable 
 + ​- ​and my cable was too short anyway! 
 +Some adhesive is used to isolate wires from the conductive paint and from the keyboard once it will be put back.
  
 {{:​wiki:​p1040515.jpg?​400|}} {{:​wiki:​p1040515.jpg?​400|}}
Line 39: Line 56:
  
 {{:​wiki:​p1040523.jpg?​400|}}\\ {{:​wiki:​p1040523.jpg?​400|}}\\
- 
  
 ===== misc ===== ===== misc =====
  
 {{:​wiki:​p1040387.jpg?​400|}} {{:​wiki:​p1040387.jpg?​400|}}
- 
  
Log In