[RESOLVED] How to use the USB Blaster for STMxx?

Col68
Tue Mar 20, 2018 6:19 pm
Hello community,

It’s been a while since i heard about (JTAG) to debug, program, SWD, SPI … but does not master enough to understand better. I know that JTAG SWD SPI CPLD FPGAs are chips reading standards present on the circuit boards and each manufacturer has its tools for development or programming.

There are also common standards like just JTAG etc .. i continue to read to better understand the programming system. So I discovered precisely the USB Blaster which has JTAG outputs used in general with chip STM32f101C8T6 and a chip 74HC244D

According to my research there are 3 kinds of USB Blaster on the clone market
1) Silicon Labs C8051F321 quad buffer 74LVC125 signal voltages from 1.65V to 3.6V
2) Microchip PIC18F14 no buffer only 5 V signals
3) Microchip ST STM32F101 octal buffer 74HC244 for signal voltages of 2V to 6V
https://wiki.cuvoodoo.info/doku.php?id=jtag

I am really tempted by the 3rd example but i ask myself questions that i do not find or do not understand enough.

Or more simply, what is USB Blaster ?

Is it possible to use only the USB Blaster with its appropriate software like OpenOCD .. without needing the Altera Max module only with the USB Blaster and software like OpenOCD ?

Sorry and thank you in advance, forgiven my translator errors, cordially.


mrburnette
Tue Mar 20, 2018 9:50 pm
http://openocd.org/doc/html/Debug-Adapter-Hardware.html

2.4 USB-JTAG / Altera USB-Blaster compatibles
These devices also show up as FTDI devices, but are not protocol-compatible with the FT2232 devices. They are, however, protocol-compatible among themselves. USB-JTAG devices typically consist of a FT245 followed by a CPLD that understands a particular protocol, or emulates this protocol using some other hardware.

They may appear under different USB VID/PID depending on the particular product. The driver can be configured to search for any VID/PID pair (see the section on driver commands).

USB-JTAG Kolja Waschk’s USB Blaster-compatible adapter
Link: http://ixo-jtag.sourceforge.net/
Altera USB-Blaster
Link: http://www.altera.com/literature/ug/ug_usb_blstr.pdf

You do know that you can use Google to almost always find the answer to an inquiry? I would encourage you to do more searches and reading. Forum resources simply are not sufficient for asking before searching & educating yourself first.
A good article: https://www.eevblog.com/forum/beginners … with-jtag/

I think most of the debugging in this group is by Black Magic Probe. viewtopic.php?t=122

Ray


Col68
Wed Mar 21, 2018 12:31 am
Thank you very much Ray for your help,

Excuse my amateurism, it’s been 2 days that i read google and the usb blaster but can not find if i can only use the blaster without the Altera Max module :) thanks for the links I’m going read everything to train me.

Thank you very much Ray for your help and very quick response, with my respects for you, cordially.


zoomx
Wed Mar 21, 2018 9:51 am
My little experience about Jtag dongles/adapters:
you need also software that support what you want to program/control.
I have one cheap USB blaster that I bought to check if it was useful for modem/routers (or gateway) since it is cheap. I was not able to communicate with routers.
I use an adapter named TUMPA (TIAO USB Multi Protocol Adapter) that has software that works with the routers I have. It is based on FT2232H and it has a serial adapter also.

Col68
Wed Mar 21, 2018 4:19 pm
Hello Zoomx,

Thank you very much for your lighting. I understand that it would be difficult to use this famous dongle usb blaster as JTAG in general.
I am under Linux for the software no problem (normally) but i did not want to buy the Altera max which is expensive for me.

I read in many forum tips for the FT2232 as you say. Thanks a lot Zoomx for your answer.
I received the STM32f101C8T6 in JTAG mode and as the clone USB blaster also uses a STM32xx i thought maybe a little magic black box? :) i dreamed.

I’m going to see for the FT2232 and was trying to search google to see. Thanks again to Ray and Zoomx for the help provided, wishing you happiness.


Col68
Sat Mar 24, 2018 11:14 am
Hello everyone,

i finally dropped the idea of ​​using a USB Blaster (model with STM32f101 chip) after reading your share, thank you again for the information. The ft2232 is really cool to start and evolve but it exceeds my budget thank you for sharing.

I wanted to order the ST-Link from “Baite” but i saw that it is possible to realize with the STM32 card of Ali. and thank the author for this huge work and share for ease and educate amateurs like me.

May peace and happiness be with you,

Cordially.


Col68
Wed Mar 28, 2018 11:15 pm
Hello,

To finish the subject of JTAG in Amateur mode, i ordered a black pill to try the BMP made in STM32Duino :) thank you to the directors for this huge sharing, thank you, cordially.


Col68
Sat Apr 28, 2018 9:14 pm
Hello, i wanted to give news of my adventure, after seeing the USB blaster at a good price and find a cool topic for use with STM32 https://wiki.cuvoodoo.info/doku.php?id=jtag
I will try and share the results.

Image
Image
Image
Cordially.


Slammer
Sun Apr 29, 2018 9:57 am
As usual, STM32F101 instead of STM32F103 with USB support….

RogerClark
Sun Apr 29, 2018 9:28 pm
The spec says the F101 does not have USB, but a lot of cheap STLink dongles use the F101

I have used a STLink dongle as an Arduino board including with USB Serial


madias
Mon Apr 30, 2018 10:56 pm
[RogerClark – Sun Apr 29, 2018 9:28 pm] –
The spec says the F101 does not have USB, but a lot of cheap STLink dongles use the F101

I have used a STLink dongle as an Arduino board including with USB Serial

Maybe we should try out the existence of a floating point coprocessor on the F1 series ;) After 64/128K, USB on F101 there might be some new unexplored goodies / eastereggs


Leave a Reply

Your email address will not be published. Required fields are marked *