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/09/06 14:32] – [Black Magic Probe] kingkevinjtag [2018/01/06 12:08] – [Altera USB-Blaster] add clones kingkevin
Line 68: Line 68:
 It comes in the same box, with the same cables, the enclosure is the same, even the board name has been taken over (MB936), but the board isn't the same. It comes in the same box, with the same cables, the enclosure is the same, even the board name has been taken over (MB936), but the board isn't the same.
 The BOM doesn't match with the [[http://www.st.com/resource/en/bill_of_materials/st-link_v2_bom.zip|original]].\\ The BOM doesn't match with the [[http://www.st.com/resource/en/bill_of_materials/st-link_v2_bom.zip|original]].\\
-The original adapter come with ESD protection, protection resistors, and a transceiver to allow operating with target signal levels of 1.65V to 5.5V.+The original adapter comes with ESD protection, protection resistors, and a transceiver to allow operating with target signal levels of 1.65V to 5.5V.
 This is completely missing on the clone since the connector pins are directly connected to the micro-controller. This is completely missing on the clone since the connector pins are directly connected to the micro-controller.
 Thus it only supports target signal levels of 3.3V and sometimes 5V since the pins are 5V tolerant. Thus it only supports target signal levels of 3.3V and sometimes 5V since the pins are 5V tolerant.
Line 130: Line 130:
 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 [[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.+They 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.
  
 {{:jtag:dsc02406.jpg?0x100|pinout sticker}} {{:jtag:dsc02406.jpg?0x100|pinout sticker}}
Line 141: Line 141:
 {{:jtag:baite-v2a-board_back.jpg?0x100|board front}} {{:jtag:baite-v2a-board_back.jpg?0x100|board front}}
  
-There is a newer version marked as "V2A" (under the crystal), but the {{:jtag:baite-v2a.pdf|schematic}} is pretty much the small with the following changes:+There is a newer version marked as "V2A" (under the crystal), but the {{:jtag:baite-v2a.pdf|schematic}} is pretty much the same with the following changes:
   * all pads for the micro-controller are present (there is even solder mask between them)   * all pads for the micro-controller are present (there is even solder mask between them)
   * they added a SWD port   * they added a SWD port
Line 243: Line 243:
 </code> </code>
 ===== Altera USB-Blaster ===== ===== Altera USB-Blaster =====
 +
 +{{ :jtag:dsc02418.jpg?0x150|device front}}
  
 The [[https://www.buyaltera.com/PartDetail?partId=1212940|USB-Blaster]] is from Altera. The [[https://www.buyaltera.com/PartDetail?partId=1212940|USB-Blaster]] is from Altera.
 It is often used to flash FPGA, but is a general purpose JTAG adapter. It is often used to flash FPGA, but is a general purpose JTAG adapter.
- 
-I have a cheap [[http://www.aliexpress.com/item/Free-shipping-New-Mini-Usb-Blaster-Cable-For-CPLD-FPGA-NIOS-JTAG-Altera-Programmer-in-stock/806527241.html|Rev.c clone]]. 
-The original uses FTDI FT245 and MAX CPLD chips. 
-This one uses a Silicon Labs C8051F321 micro-controller and a 74LVC125 quad buffer, but there are many other clone variants. 
- 
-{{:jtag:dsc02418.jpg?0x100|device front}} 
-{{:jtag:dsc02419.jpg?0x100|device back}} 
-{{:jtag:dsc02420.jpg?0x100|PCB front}} 
-{{:jtag:dsc02424.jpg?0x100|PCB back}} 
  
 :!: be aware that here the VCC{TARGET} pin has to be connected to a reference voltage used for the JTAG communication, generally provided by the target device on the board (often 3.3V or 1.8V). :!: be aware that here the VCC{TARGET} pin has to be connected to a reference voltage used for the JTAG communication, generally provided by the target device on the board (often 3.3V or 1.8V).
Line 332: Line 325:
 </code> </code>
  
 +The original uses FTDI FT245 and MAX CPLD chips.
 +There are numerous clone variants, with various quality and voltage support.
 +
 +==== SiLabs USB-Blaster ====
 +
 +This one uses a Silicon Labs C8051F321 micro-controller and a 74LVC125 quad buffer (for signal voltages from 1.65 to 3.6 V).
 +
 +{{:jtag:mini_silabs_front.jpg?0x150|SiLabs USB-Blaster front}}
 +{{:jtag:mini_silabs_back.jpg?0x150|SiLabs USB-Blaster back}}
 +
 +==== PIC USB-Blaster ====
 +
 +This one uses a Microchip PIC18F14 micro-controller and has no buffer (thus only supporting 5 V signals).
 +
 +{{:jtag:mini_pic_front.jpg?0x150|PIC USB-Blaster front}}
 +{{:jtag:mini_pic_back.jpg?0x150|PIC USB-Blaster back}}
 +
 +==== ARMJISHU USB-Blaster ====
 +
 +This one uses a ST STM32F101 (as a STM32F103 with USB support) micro-controller and a 74HC244 octal-buffer (for signal voltages from 2.0 to 6.0 V).
 +
 +{{:jtag:mini_stm32_front.jpg?0x150|ARMJISHU USB-Blaster front}}
 +{{:jtag:mini_stm32_back.jpg?0x150|ARMJISHU USB-Blaster back}}
 +
 +I also reversed the {{:jtag:bus_blaster-stm32.pdf|schematic}}.
 +It shows that the hardware can also drive the signals (at 3.3 V) in case Vcc_target is not connected, and you can add an uSD card slot or SPI flash.
 +I don't know if these features are supported in software.
 +
 +{{:jtag:mini_stm32_front-board.jpg?0x150|ARMJISHU board USB-Blaster front}}
 +{{:jtag:mini_stm32_back-board.jpg?0x150|ARMJISHU board USB-Blaster back}}
 ===== SEGGER J-Link ===== ===== SEGGER J-Link =====
  
jtag.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1