Blue-pill STM32 Programming Using ST-LINK V2 Dongle

preview_player
Показать описание
This video will describe how to program the Bluepill STM32 ARM module using the ST-LINK V2 dongle. Steps will be shown how to upload a Hex file ( Mecrisp Forth ) to the module.

Mecrisp Forth download:

ST-LINK download:
Рекомендации по теме
Комментарии
Автор

Wasted most of an evening trying to get this working, so, a couple of tips.
1) If you can't connect, this could be because the SWD pins are not configured as debug. To connect, set the ST-LINK utility to 'Connect Under Reset" in Target>Settings. Press and hold the Blue Pill reset button. Select Target>Connect. Release the reset button and it should connect.
2) To stop this happening, in STM32Cube, set PA13 and PA14 to SWDIO and SWCLK respectivley, and in the System Core>SYS settings set Debug to Serial Wire.

epiendless
Автор

Great video and a real life saver. My ST-LINK v2 clone came with a pin out printed on the case with 2 - SWDIO, 4 - GND, 6 - SWCLK, 8 - 3.3V but it turns out having watched your video that the board inside matches your programmer. Having spent several hours chasing rabbits down holes it all just magically started working when wired up the way you have it. Thanks!

davefiddes
Автор

Wow Forth, that brought back some memories. I wrote a robot arm controller in Forth for my final year uni project some 35 years ago.

techydiyreviews
Автор

when i first watched this video a couple of months ago i had no idea what was going on
however now that i read a bit about how old computers worked (the terminal & computer communication), now i understand that you have a computer (the STM32 blue pill board) which is communicating to a terminal (the FTDI hooked up to your PC)
cool stuff! i'm learning how to write an operating system and i hope to be able to use it a bit like bash and have an SD card as the "hard drive"

MrJason
Автор

Excellent video and summary on the use of the SWD interface. Thank you so much.

kumarbhatia
Автор

This helped me so much thanks Sm was looking for this for the past 4 days now

AllinOne-kiks
Автор

Straight to the point, helped me re-learn how to do it real fast. Thank you

majinkeyboards
Автор

Really good. I got my STM32 yesterday and my st-link v2 is coming soon. Your video is really easy to follow and I'm sure I'll be able to do this the way you demonstrated.

computertuts
Автор

Thanks for doing this video, Bloody Ebay ST Link pinouts were labelled wrong and I wasted half an hour before finding your video. Swapped the wires around and worked perfectly.

gptech
Автор

Very nice and thank you, i have not written in forth in a long time and it is nice to see it still lives :-)
What about ALGOL and FORTRAN
Guess most of viewer have never heard of them, Oh god i am really that old and boring :-)

ianknight
Автор

mbed for stm32 looks promising. I haven't used it myself but looks like a good direction if you need more speed than an arduino has.

noweare
Автор

Can we drive SSD1306 with a repurposed ST-Link dongle please tech me how!

oynamalan
Автор

great lecture, thank you so much <3

qqaysaneah
Автор

in all your videos you always start with"ok in this thanks!

alibehrouz
Автор

could i update the code and send data through command window using ST-link v2 only? or i need bluetooth module or FTDI module ?

chbrahem
Автор

I am using STlink V2 programmer and Arduino IDE to program the Blue Pill board. Even after uploading the code the LED is not blinking. Can you please help me resolve this issue?

shreelaxmir
Автор

what is the settings of TERA TERM software or list the changes to be made in the software(TERA TERM) while giving a command

virendrasanjayavhad
Автор

Can we connect RST pin of the dongle to the STM32 Board's 'R' pin so as to not press 'reset' button?

M_a_n_a_n
Автор

I am new to this. I am trying to install the bootloader for a adafruit feather. Everything was fine untill the address box did not have what yours did so the target memory was not full. I changed it to yours and it filled the box. The size box would not let me copy yours! I hit the program and verify as you did, got the next box and told it the file to install. Next a box came up saying programming error in the box under the code- No onchip verification function found/ Error occured during program operation!/Programming error @: Any help? Do you think you can tell me what I have wrong? Thanks for the video.

amtpdb
Автор

My programmer is ST branded (but quite possibly fake) but the pins are labeled differently!

johnjoyce