DIY EHCI debug dongle: Difference between revisions

From coreboot
Jump to navigation Jump to search
(Prototype debug dongle with FX2LP boards)
 
No edit summary
Line 1: Line 1:
== Hardware ==
== Hardware ==


An EHCI debug dongle can be built using two Cypress FX2LP prototyping boards with CY7C68013A.
A dongle to debug target with [[EHCI Debug Port]] capability can be built using two Cypress CY7C68013A (aka FX2LP) USB device chips.
Theory of operation is described in Cypress Application Note AN63787[http://www.cypress.com/?rID=45850].
 
There are a few boards in the 10-15 EUR pricerange to choose from and a dozen suppliers in ebay.
There are a few boards in the 10-15 EUR pricerange to choose from and a dozen suppliers in ebay.
A slower uni-directional boot console has been demonstrated to work with one FX2LP and a TTL-UART-to-USB adapter. In theory at least, some JTAG dongles with FX2LP could be used to capture coreboot console from EHCI debug port.
== Prototype ==
==== LCSoft FX2LP ====


[[Image:fx2lp_lcsoft_1.JPG|x240px|LCSoft]]
[[Image:fx2lp_lcsoft_1.JPG|x240px|LCSoft]]
[[Image:fx2lp_lcsoft_2.JPG|x240px|LCSoft]]
[[Image:fx2lp_lcsoft_2.JPG|x240px|LCSoft]]


 
Schematics for [[:File:fx2lp lcsoft schematic A.pdf|prototype board]] and [[:File:ehci lcsoft revA0.pdf|required modification]].
A slower uni-directional boot console has been demonstrated to work with one such board and a TTL-UART-to-USB adapter.
 
== Schematics ==
 
Schematic is modified from Cypress Application Note AN63787 [http://www.cypress.com/?rID=45850].




== Dongle firmware ==
== Firmware ==


Firmware is built with sdcc using fx2lib.
Firmware is built with sdcc using fx2lib.

Revision as of 19:43, 22 March 2013

Hardware

A dongle to debug target with EHCI Debug Port capability can be built using two Cypress CY7C68013A (aka FX2LP) USB device chips. Theory of operation is described in Cypress Application Note AN63787[1].

There are a few boards in the 10-15 EUR pricerange to choose from and a dozen suppliers in ebay.

A slower uni-directional boot console has been demonstrated to work with one FX2LP and a TTL-UART-to-USB adapter. In theory at least, some JTAG dongles with FX2LP could be used to capture coreboot console from EHCI debug port.

Prototype

LCSoft FX2LP

LCSoft LCSoft

Schematics for prototype board and required modification.


Firmware

Firmware is built with sdcc using fx2lib.

Original git repository [2]. Offline.

Recent updates are here [3].