Debug Board v1

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Debug cable to phone)
Line 34: Line 34:
 
## Insert the ribbon cable as far as possible into the connector (it won't go in all the way, that's normal)
 
## 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
 
## Close the brown lever to lock the ribbon cable
 +
 +
There's a [[Connecting GTA01Bv2 with Debug Board]] foto story ;)
  
 
==== Serial Console ====
 
==== Serial Console ====

Revision as of 00:35, 8 January 2007

front side
front side

Contents

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

Schematics

http://people.openmoko.org/sean_chiang/Debugboard.pdf

http://people.openmoko.org/sean_chiang/top.pdf

http://people.openmoko.org/sean_chiang/bottom.pdf

Usage instructions

Connectors

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 ;)

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.

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 Suppply

  • 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

FIXME

Ethernet

There currently is no software/driver support for the Ethernet port in OpenMoko. Please stay tuned.

Secure Media

FIXME

Questions

  • Can it also be connected to GTA01v4 ?

Bugs/Problems

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

Personal tools
front side
front side

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

Schematics

http://people.openmoko.org/sean_chiang/Debugboard.pdf

http://people.openmoko.org/sean_chiang/top.pdf

http://people.openmoko.org/sean_chiang/bottom.pdf

Usage instructions

Connectors

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

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.

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 Suppply

  • 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

FIXME

Ethernet

There currently is no software/driver support for the Ethernet port in OpenMoko. Please stay tuned.

Secure Media

FIXME

Questions

  • Can it also be connected to GTA01v4 ?

Bugs/Problems

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