These various programming adapters and probes can be used for flashing, debugging and some also as serial adapters.
The Lyorak probe is a programming and debugging tool for ARM Cortex MCU, based on the Black Magic Probe.
Designed with 1206 SMD components for easy assmbly and a CAN interface.
Black Magic Probe
There are good reasons to use the Black Magic Probe Mini instead of FLOSS-JTAG:
- Lower cost
- No need for OpenOCD as BMPM has a built in GDB server
- Orders of magnitude faster as all the high speed protocol logic happens on the built-in STM32
- Supports Serial Wire Debug (SWD)
- Supports tracing using the SWD trace pin
- No need for loading and unloading of FTDI drivers on Mac OS X
The pinout for the UART port on the back side of the BMP as seen on the image above and starting from the top is ground,rx,tx,3.3v.
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)
FT2232H Mini Module
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.
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
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:
With the tool "FT_Prog" change the description the FT2232H to "FLOSS-JTAG".
Blackmagic Probe usage
In the wiki (under [Developer_Guide]) is already some helpful information: