Difference between revisions of "Debug Probes"

From PaparazziUAV
Jump to navigation Jump to search
m
(added some probes)
Line 1: Line 1:
__TOC__
These various programming adapters and probes can be used for flashing, debugging and some as serial adapters. <br/>


==[[CricketProbe/v1.00 | CricketProbe v1.00]]==
==[[CricketProbe/v1.00 | CricketProbe v1.00]]==


[[Image:CricketProbe_v100.jpg|100px|left|link=CricketProbe/v1.00 |CricketProbe v1.00 page]]
[[Image:CricketProbe_v100.jpg|300px|left|link=CricketProbe/v1.00 |CricketProbe v1.00 page]]
 
The CricketProbe is a programming and debugging tool for ARM Cortex MCU, based on [http://www.blacksphere.co.nz Black Sphere Technologies] [http://www.blacksphere.co.nz/main/blackmagic Black Magic Probe].


The CricketProbe is a programming and debugging tool for ARM Cortex MCU, based on [http://http://www.blacksphere.co.nz Black Sphere Technologies] [http://http://www.blacksphere.co.nz/main/blackmagic Black Magic Probe].
<br style="clear:both">
<br style="clear:both">


==Lyorak Probe==
==Lyorak Probe==


[[Image:Lyorak_front.jpg|100px|left|Lyorak probe]]
[[Image:Lyorak_front.jpg|300px|left|Lyorak probe]]


The Lyorak probe is a programming and debugging tool for ARM Cortex MCU, based on [http://http://www.blacksphere.co.nz/main/blackmagic Black Magic Probe].
The Lyorak probe is a programming and debugging tool for ARM Cortex MCU, based on [http://www.blacksphere.co.nz/main/blackmagic Black Magic Probe]. <br/>
Designed with 1206 SMD components for easy assmbly and a CAN interface.
Designed with 1206 SMD components for easy assmbly and a CAN interface.


Recent files can be found in the  [https://github.com/molnarkares/blackmagic/tree/master/hardware/contrib/lyorak molnarkares/blackmagic git repo].
<br style="clear:both">
<br style="clear:both">


===Documentation===
[https://github.com/molnarkares/blackmagic/tree/master/hardware/contrib/lyorak molnarkares/blackmagic git repo]
== Black Magic Probe==
[[Image:BMPM_1_top.jpg|300px|Black Magic Probe]]
[[Image:BMPM_1_bottom.jpg|300px|Black Magic Probe]]
This is the original [http://www.blacksphere.co.nz/main/blackmagic Black Magic Probe] from [http://www.blacksphere.co.nz Black Sphere Technologies], a programming and debugging tool for ARM Cortex MCU.
<br style="clear:both">
===Documentation===
[https://github.com/gsmcmullin/blackmagic gsmcmullin/blackmagic git repo]
==FLOSS JTAG==
[[Image:Jtag-up.jpg|300px|FLOSS JTAG top]]
[[Image:Jtag-down.jpg|300px|FLOSS JTAG bottom]]
The FLOSS JTAG is based on an FTDI 2232HL chip that allows two simultaneous USB connections, which means that FLOSS JTAG allows JTAG and UART/COM connections.<br/>
The FT2232H Mini Module can also be used since this has the same chip.
On the bottom side there is 4 pin UART/COM connector, which contains (from top to bottom on the image, or color dots): Ground (black), RX (orange), TX (yellow), and +5V (red)
<br style="clear:both">
===Documentation===
[http://randomprojects.org/wiki/Floss-JTAG randomprojects.org/wiki/Floss-JTAG]
==FT2232H Mini Module==
[[Image:AlternativeFlossJtag.png|300px|FT2232H Mini Modules as JTAG adapter]]
[[Image:FT2232H_Mini_Module_front.jpg|200px|Top with all necessary connections]]
[[Image:FT2232H_Mini_Module_back.jpg|200px|Bottom with pin headers]]
<br style="clear:both">
The FT2232H Mini modules can be used with blackmagic firmware or as FLOSS-JTAG device. <br/>
More Information can be found at the [[Serial_Adapter#FT2232H_Mini_Module| FT2232H Mini Module Serial Adapter page]].
'''Important'''
Out of the box, there is NO power supply for the FT2232H because this can either done with USB or external 5V.<br/>
The pictures above show two different PCB versions. The suggested connections only apply to the right (latest) layout.
Connect: (for power supply over USB)
* CN3 pin 1 to CN3 pin 3
* CN2 pin group 1,3,5 to CN2 pin group 11,21 and to CN3 pin group 12,22
'''Pinout'''
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
!''Use''!!''Pin''!!''Name''
|-
|UART1 RX ||CN2-10||ADBUS1
|-
|UART1 TX ||CN2-7||ADBUS0
|-
|UART2 RX ||CN3-25||BDBUS1
|-
|UART2 TX ||CN3-26||BDBUS0
|}
'''TODO JTAG PINOUT'''
===Blackmagic firmware===
First, get the VID/PID for your FT2232 device using 'lsusb'. Edit the file
'src/libftdi/platform.h' and change the VID/PID to match your hardware.
Compile the application with the command:
make PROBE_HOST=libftdi
===FLOSS-JTAG===
With the tool "FT_Prog" change the description the FT2232H to "FLOSS-JTAG".
===Documentation===
[http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf FT2232H Datasheet] <br/>
[http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf FT2232H Mini Module Datatsheet] <br/>
[http://at.mouser.com/ProductDetail/FTDI/FT2232H-MINI-MODULE/?qs=sGAEpiMZZMvOu2nvEqRMlAhGRrWaSCdm Mouser shop 22€]


[[Category:Hardware]]
[[Category:Hardware]]

Revision as of 15:34, 16 June 2014

These various programming adapters and probes can be used for flashing, debugging and some as serial adapters.

CricketProbe v1.00

CricketProbe v1.00 page

The CricketProbe is a programming and debugging tool for ARM Cortex MCU, based on Black Sphere Technologies Black Magic Probe.


Lyorak Probe

Lyorak probe

The Lyorak probe is a programming and debugging tool for ARM Cortex MCU, based on Black Magic Probe.
Designed with 1206 SMD components for easy assmbly and a CAN interface.


Documentation

molnarkares/blackmagic git repo

Black Magic Probe

Black Magic Probe Black Magic Probe

This is the original Black Magic Probe from Black Sphere Technologies, a programming and debugging tool for ARM Cortex MCU.


Documentation

gsmcmullin/blackmagic git repo

FLOSS JTAG

FLOSS JTAG top FLOSS JTAG bottom

The FLOSS JTAG is based on an FTDI 2232HL chip that allows two simultaneous USB connections, which means that FLOSS JTAG allows JTAG and UART/COM connections.
The FT2232H Mini Module can also be used since this has the same chip.

On the bottom side there is 4 pin UART/COM connector, which contains (from top to bottom on the image, or color dots): Ground (black), RX (orange), TX (yellow), and +5V (red)


Documentation

randomprojects.org/wiki/Floss-JTAG

FT2232H Mini Module

FT2232H Mini Modules as JTAG adapter Top with all necessary connections Bottom with pin headers


The FT2232H Mini modules can be used with blackmagic firmware or as FLOSS-JTAG device.
More Information can be found at the FT2232H Mini Module Serial Adapter page.

Important

Out of the box, there is NO power supply for the FT2232H because this can either done with USB or external 5V.
The pictures above show two different PCB versions. The suggested connections only apply to the right (latest) layout.

Connect: (for power supply over USB)

  • CN3 pin 1 to CN3 pin 3
  • CN2 pin group 1,3,5 to CN2 pin group 11,21 and to CN3 pin group 12,22

Pinout

Use Pin Name
UART1 RX CN2-10 ADBUS1
UART1 TX CN2-7 ADBUS0
UART2 RX CN3-25 BDBUS1
UART2 TX CN3-26 BDBUS0

TODO JTAG PINOUT

Blackmagic firmware

First, get the VID/PID for your FT2232 device using 'lsusb'. Edit the file 'src/libftdi/platform.h' and change the VID/PID to match your hardware. Compile the application with the command:

make PROBE_HOST=libftdi

FLOSS-JTAG

With the tool "FT_Prog" change the description the FT2232H to "FLOSS-JTAG".

Documentation

FT2232H Datasheet
FT2232H Mini Module Datatsheet
Mouser shop 22€