Debug Board v1

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Usage instructions)
m (Languages)
 
(30 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
{{Languages|Debug Board v1}}
 +
 +
{{Dboard}}
 +
{{outdated}}
 +
This debug board was used internally at Openmoko.
 +
 +
[[Image:Debug board top.jpg|thumb|400px|top side]]
 +
[[Image:Debug board bottom.jpg|thumb|400px|bottom side]]
 +
[[Image:Debug board top annotated.jpg|400px|annotated top side]]
 
== Hardware Components ==
 
== Hardware Components ==
* RTL8xxx Ethernet MAC
+
* RTL8019AS Ethernet MAC
 
** This adds network connectivity during development
 
** This adds network connectivity during development
 
* Two 7-segment LED displays
 
* Two 7-segment LED displays
 +
** for debug output
 
* Two DB-9 headers
 
* Two DB-9 headers
 
** Serial Console (level-shifted to true RS232 levels)
 
** Serial Console (level-shifted to true RS232 levels)
Line 11: Line 21:
 
** JTAG Port
 
** JTAG Port
  
== Schematics ==
+
== Usage instructions ==
  
[http://people.gta01.hmw-consulting.de/sean_chiang/Debugboard.pdf Debug Board]
+
=== Connectors ===
  
== Usage instructions ==
+
==== Debug cable to phone ====
 +
Use the flat ribbon-cable to connect to the phone.
 +
# The wide end is for the Debug board, the narrow end for the phone
 +
# For both sides:
 +
## Lift the brown lever of the connector on the PCB
 +
## Place the copper contacts on the bottom (brown surface facing to the top.
 +
## Insert the ribbon cable as far as possible into the connector (it won't go in all the way, that's normal)
 +
## Close the brown lever to lock the ribbon cable
 +
 
 +
There's a [[Connecting GTA01Bv2 with Debug Board]] foto story ;)
 +
 
 +
==== Serial Console ====
 +
 
 +
* In order to get serial console access, Switch 8 of DIP-Switch SW1 has to be set to 'ON'
 +
* Your debug board needs to be modified in accordance with http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=3
 +
* The serial console is available via one of the two DB9-sockets, It has a DTE (terminal) configuration.
 +
* The socket is called "P4", which is written in small white letters next to it on the PCB.  If you're looking at the three female DB-Ports (from the plug side), it is the left port.
 +
* You can use any standard USB-Serial converter and plug it directly onto the DB9-socket. There's no level-shifting required.
 +
 
 +
NOTE: Please see [[Debug Board#Errata]] below!
 +
 
 +
==== JTAG ====
 +
 
 +
* The 20pin JTAG header is a standard ARM JTAG.
 +
* Pin 1 can be found next to the corner of the PCB (small white circular mark printed on PCB).
 +
* Make sure to have the red wire of the ribbon cable go to Pin 1
 +
 
 +
==== Power Supply ====
 +
 
 +
* If the phone is self-powered, there is no need to connect a power supply for JTAG, USB and serial port, since those are phone-powered
 +
* If you need Ethernet, you will have to either supply power via the USB device jack, or via a +5V power supply.
 +
 
 +
=== Reset button ===
 +
 
 +
S5 (small white button in corner of PCB) is a reset button.  If you press it, it resets the device.
 +
 
 +
=== Seven-Segment Display ===
 +
 
 +
We never tried to make them work.
 +
 
 +
=== Ethernet ===
 +
 
 +
There currently is no software/driver support for the Ethernet port in Openmoko.
 +
 
 +
=== Secure Media ===
 +
 
 +
Nobody has successfully tried to make it work.
 +
 
 +
== Errata ==
 +
 
 +
=== Serial Port / GSM_EN design problem ===
 +
 
 +
The debug board and [[GTA01Bv2]] try to drive the same line (GSM_EN) which switches between serial console and GSM Modem.  To resolve this conflict (and give ownership of that signal to GTA01), you need to unsolder both R105 and R106.  Those resistors are located very close to the 2x10pin JTAG header.
  
FIXME
+
== Bugs/Problems ==
  
== Questions ==
+
see http://bugzilla.openmoko.org/cgi-bin/bugzilla/buglist.cgi?product=Debug+Board
  
* Can it also be connected to [[GTA01v4]] ?
+
[[Category:Neo1973 before Phase 0 related]]
 +
[[Category:Debug Board]]

Latest revision as of 15:16, 22 October 2008


Debug Board


Outdated warning ! This article or section is significantly outdated, either by significant hardware or software changes. Procedures mentioned in this page may well not work for current hardware/software.


This debug board was used internally at Openmoko.

top side
bottom side

annotated top side

Contents

[edit] Hardware Components

  • RTL8019AS Ethernet MAC
    • This adds network connectivity during development
  • Two 7-segment LED displays
    • for debug output
  • Two DB-9 headers
    • Serial Console (level-shifted to true RS232 levels)
    •  ?
  • One DB-25 header
    •  ?
  • One 2x10pin 2.54mm header
    • JTAG Port

[edit] Usage instructions

[edit] Connectors

[edit] Debug cable to phone

Use the flat ribbon-cable to connect to the phone.

  1. The wide end is for the Debug board, the narrow end for the phone
  2. For both sides:
    1. Lift the brown lever of the connector on the PCB
    2. Place the copper contacts on the bottom (brown surface facing to the top.
    3. Insert the ribbon cable as far as possible into the connector (it won't go in all the way, that's normal)
    4. Close the brown lever to lock the ribbon cable

There's a Connecting GTA01Bv2 with Debug Board foto story ;)

[edit] Serial Console

  • In order to get serial console access, Switch 8 of DIP-Switch SW1 has to be set to 'ON'
  • Your debug board needs to be modified in accordance with http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=3
  • The serial console is available via one of the two DB9-sockets, It has a DTE (terminal) configuration.
  • The socket is called "P4", which is written in small white letters next to it on the PCB. If you're looking at the three female DB-Ports (from the plug side), it is the left port.
  • You can use any standard USB-Serial converter and plug it directly onto the DB9-socket. There's no level-shifting required.

NOTE: Please see Debug Board#Errata below!

[edit] JTAG

  • The 20pin JTAG header is a standard ARM JTAG.
  • Pin 1 can be found next to the corner of the PCB (small white circular mark printed on PCB).
  • Make sure to have the red wire of the ribbon cable go to Pin 1

[edit] Power Supply

  • If the phone is self-powered, there is no need to connect a power supply for JTAG, USB and serial port, since those are phone-powered
  • If you need Ethernet, you will have to either supply power via the USB device jack, or via a +5V power supply.

[edit] Reset button

S5 (small white button in corner of PCB) is a reset button. If you press it, it resets the device.

[edit] Seven-Segment Display

We never tried to make them work.

[edit] Ethernet

There currently is no software/driver support for the Ethernet port in Openmoko.

[edit] Secure Media

Nobody has successfully tried to make it work.

[edit] Errata

[edit] Serial Port / GSM_EN design problem

The debug board and GTA01Bv2 try to drive the same line (GSM_EN) which switches between serial console and GSM Modem. To resolve this conflict (and give ownership of that signal to GTA01), you need to unsolder both R105 and R106. Those resistors are located very close to the 2x10pin JTAG header.

[edit] Bugs/Problems

see http://bugzilla.openmoko.org/cgi-bin/bugzilla/buglist.cgi?product=Debug+Board

Personal tools

Hardware Components

  • RTL8xxx Ethernet MAC
    • This adds network connectivity during development
  • Two 7-segment LED displays
  • Two DB-9 headers
    • Serial Console (level-shifted to true RS232 levels)
    •  ?
  • One DB-25 header
    •  ?
  • One 2x10pin 2.54mm header
    • JTAG Port

Schematics

Debug Board

Usage instructions

FIXME

Questions

  • Can it also be connected to GTA01v4 ?