CuVoodoo

the sorcery of copper

User Tools

Site Tools


jtag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
jtag [2017/03/30 16:02] – [Black Magic Probe] note kingkevinjtag [2017/04/06 08:08] – [Black Magic Probe] add patch kingkevin
Line 125: Line 125:
 {{:jtag:baite_board_back.jpg?0x100|board front}} {{:jtag:baite_board_back.jpg?0x100|board front}}
  
-The [[https://www.aliexpress.com/store/213957|Baite]] [[https://www.aliexpress.com/store/product/Best-Quality-ST-Link-stlink-V2-for-STM8S-STM8L-STM32-Cortex-M0-Cortex-M3-SWIM-JTAG/213957_32676015777.html|ST-Link V2]] is my favorite clone since it supports JTAG, SWD, and SWIM (for STM8).+The [[http://betemcu.cn/|Baite]] [[https://www.aliexpress.com/store/product/Best-Quality-ST-Link-stlink-V2-for-STM8S-STM8L-STM32-Cortex-M0-Cortex-M3-SWIM-JTAG/213957_32676015777.html|ST-Link V2]] is my favorite clone since it supports JTAG, SWD, and SWIM (for STM8).
  
 The seem to use the same board also for several other programmers, and since the pinout is not on the case I've decided to make my own sticker. The seem to use the same board also for several other programmers, and since the pinout is not on the case I've decided to make my own sticker.
Line 155: Line 155:
 This has less power pins (who needs 2xGND, 2x5V, 3x3.3V anyway), but provides enough function pins to add UART (and SRST). This has less power pins (who needs 2xGND, 2x5V, 3x3.3V anyway), but provides enough function pins to add UART (and SRST).
  
-To build the firmware:+To build the firmware ([[https://sourceforge.net/p/blackmagicdebug/mailman/message/35762464/|patch]] integration pending):
 <code bash> <code bash>
 git clone https://github.com/blacksphere/blackmagic git clone https://github.com/blacksphere/blackmagic
Line 161: Line 161:
 git submodule init git submodule init
 git submodule update git submodule update
 +wget -O 0001-add-new-platform-Baite-ST-Link-V2-clone.patch "https://sourceforge.net/p/blackmagicdebug/mailman/attachment/20170401092652.GA15475%40coil/1/"
 +patch -p1 < 0001-add-new-platform-Baite-ST-Link-V2-clone.patch
 make make
 cd src cd src
Line 213: Line 215:
 or short RX to ground (pin 5 and 7) to force the DFU bootloader start when plugin in the dongle (in case the main application is buggy). or short RX to ground (pin 5 and 7) to force the DFU bootloader start when plugin in the dongle (in case the main application is buggy).
  
-Here is the new "BMP Baite" pinout:+Here is the new "BMP Baite" {{ :jtag:bmp_baite.pdf |pinout}}:
 ^ signal ^ pin ^ pin ^ signal ^ ^ signal ^ pin ^ pin ^ signal ^
 | SRST | 1 | 2| +3.3V | | SRST | 1 | 2| +3.3V |
jtag.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1