Debug Board v1

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Replacing 'OpenMoko' with 'Openmoko')
m (Languages)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|Debug Board v1}}
 +
 
{{Dboard}}
 
{{Dboard}}
 
{{outdated}}
 
{{outdated}}
This debug board was used internally at Openmoko.  
+
This debug board was used internally at Openmoko.
  
 
[[Image:Debug board top.jpg|thumb|400px|top side]]
 
[[Image:Debug board top.jpg|thumb|400px|top side]]
Line 18: Line 20:
 
* One 2x10pin 2.54mm header
 
* One 2x10pin 2.54mm header
 
** JTAG Port
 
** JTAG Port
 
== Schematics ==
 
 
(no longer present)
 
  
 
== Usage instructions ==
 
== Usage instructions ==
Line 28: Line 26:
  
 
==== Debug cable to phone ====
 
==== Debug cable to phone ====
Use the flat ribbon-cable to connect to the 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
 
# The wide end is for the Debug board, the narrow end for the phone
 
# For both sides:
 
# For both sides:
Line 46: Line 44:
 
* You can use any standard USB-Serial converter and plug it directly onto the DB9-socket. There's no level-shifting required.
 
* 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!
+
NOTE: Please see [[Debug Board#Errata]] below!
 +
 
 
==== JTAG ====
 
==== JTAG ====
  
Line 64: Line 63:
 
=== Seven-Segment Display ===
 
=== Seven-Segment Display ===
  
FIXME. We never tried to make them work.
+
We never tried to make them work.
  
 
=== Ethernet ===
 
=== Ethernet ===
  
There currently is no software/driver support for the Ethernet port in Openmoko. Please stay tuned.
+
There currently is no software/driver support for the Ethernet port in Openmoko.
  
 
=== Secure Media ===
 
=== Secure Media ===
  
FIXME. Nobody has successfully tried to make it work.
+
Nobody has successfully tried to make it work.
 
+
== Questions ==
+
 
+
* Can it also be connected to [[GTA01v4]] ?
+
  
 
== Errata ==
 
== Errata ==
Line 89: Line 84:
  
 
[[Category:Neo1973 before Phase 0 related]]
 
[[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
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

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

(no longer present)

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.
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

FIXME. We never tried to make them work.

Ethernet

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

Secure Media

FIXME. Nobody has successfully tried to make it work.

Questions

  • Can it also be connected to GTA01v4 ?

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.

Bugs/Problems

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