RobBrownNZ, on 19 January 2011 - 03:42 PM, said:
Hooking up a serial link is very easy. You need a ribbon cable and breakout board as zrbarnes posted at the start of this thread, a USB-serial adapter like this: http://www.sparkfun.com/products/718, a 3.3k resistor (5c at Radio Shack), some wire and a little bit of soldering ability. About $30 all up.
If your bootloader is intact, then you can definitely unbrick your unit through the serial link. If your bootloader is fried, then you need JTAG and we need to figure out how use JTAG to re-program (at least) the bootloader.
The CON4 pinout, just for completeness:
Pin 1 - 3.3V supply
Pin 2 - 3.3V supply
Pin 3 - GND
Pin 4 - 3.3V supply
Pin 5 - Unknown input
Pin 6 - Unknown input
Pin 7 - RTCK
Pin 8 - GND
Pin 9 - serial terminal Tx from PDN
Pin 10 - serial terminal Rx into PDN
Pin 11 - nReset (SRST)
Pin 12 - TDI
Pin 13 - TMS
Pin 14 - GND
Pin 15 - TCK
Pin 16 - TDO, should use a pullup (15k will do).
Pin 17 - nReset (SRST)
Pin 18 - GND
Pin 19 - Unknown input
Pin 20 - Unknown input
Original Post:
After slightly failing at getting USB OTG to work (why won't you work??), I have turned my attention elsewhere. My current project is trying to figure out the purpose of the empty CON4 connector on the board. However, even though I dabble in device modification, I am rarely a pioneer. Over the years, I've had many items that I thought I had bricked and started investigating JTAG hacking, but in the end, I always found another solution. Therefore, I don't have a whole lot of experience in tracing circuits (though I do know my way around a mulitmeter), nor have I ever seen the typical behavior of JTAG and/or serial port data lines.If this CON4 gives access to the JTAG data lines, it would allow a whole slew of kernel testing to be done without fear of bricking the device. Regardless of what CON4 is, if the pins are valuable for other mods, then it gives us easy access that doesn't require soldering (which is nice since I don't have a good soldering setup yet or a whole lot of experience with surface mount stuff).I know we don't have a lot of hardware engineers here, and I might eventually try to cross-post at some of the other forums where reverse engineering has more focus. For now, I'm posting it here to see if anyone with a PDN can help, or has already done any research. It was briefly discussed in http://www.slatedroi...l-high-res.html but sadly, no one seemed excited enough to proceeded with exploring it.All discussion of probability aside, it would be really nice if the 20pin CON4 connector on the board was just a standard arm JTAG port. However, looking at the voltages, they don't really line up. Therefore, we need a way to identify what pins are what (hopefully without needing to remove the CPU to trace the pins). If anyone is interested in getting involved, I have an infinite amount of pictures of every part of this device.

From the top pin (1) to the bottom pin (20), while booting, I measured the following voltage on the pins (all are in reference to ground being connected to the negative side of the power adapter):
- 3.3069
- 3.3069
- 0.014
- 3.3069
- 0.001
- 0.001
- 0.014
- 0.014
- 3.3069
- 0.014
- 3.3069
- 3.3069
- 3.3069
- 0.014
- 0.015
- 0.98
- 3.3069
- 0.014
- 3.3069
- 0.001
On the back, there are several test points close to the CON4 area. Using a multimeter, I assumed (since my multimeter isn't very accurate) that if I measured a very low resistance (<5 ohms), then the points were connected.
- TP143: Pins 3, 8, 14, 18 = 0.015v
- TP144: Pins 1, 2, 4 = 3.3v
- TP145: Pin 9 = 3.3v
- TP146: Pin 10 = 0.018v
- TP147: Pins 11, 17 = 3.3v
- TP148: Pin 12 = 3.3v
- TP149: Pin 13 = 3.3v
- TP150: Pin 15 = 0.015v
- TP151: Pin 16 = 0.95v
- TP152: Pins 11, 17 = 3.3v
Here is my amateur speculation:Curious to me is pin 16. It's consistently is in the .80-.95 range. Could this be a pulse with a 25% duty cycle? (3.3 / 4 ~ .85)? I suppose I would need an oscilloscope to know for sure. I'm guessing the TP144 node is Vdd, while the TP143 node is Gnd. Probably the other pins at 3.3v are high signals, while the other 0.015v signals are low signals. The pins with 0.001v are probably not connected to anything. I haven't experimented with measuring the voltages at different times, but if someone knows of a good time to check them that might give some more info, let me know. Also, if you want me to check if a pin is connected to a resistor, or what the value of the resistors are, I can provide that info as well.
This post has been edited by zrbarnes: 23 February 2011 - 05:28 AM

Help























