STM32 (stm32f103c8) Serial wire debug -- STM32CubeIDE

preview_player
Показать описание
In this video I'm showing how to setup the STM32 serial wire debug and to use it as a serial monitor for displaying data from the microelectronic on the debugging console in the STM32CubeIDE

Рекомендации по теме
Комментарии
Автор

Thank you so much for this video! It's such a great help for all my debugging. Thank you again!

phillipnewman
Автор

Great detailed step-by-step explanation!

NKernytskyy
Автор

IT worked very well...Thank you sooo much :)

bsbharat
Автор

I was looking for something like this thank you

quivanitas
Автор

Amazing, can you explain why we needed the 220 resistor?

larfee
Автор

How are printfs via ITM different than printfs over SWV?

I thought both use SWD+SWO, yet ITM_SendChar() doesn't work for me, despite have an SWD+SWO compatible chip and debugger!

Does GDB / OpenOCD support this?

bennguyen
Автор

Now why can't you do that with a simple Serial Wire method? It really drives me nuts that I have to include so much unreadable garbage code to my main program in order to trace some variables.
I want to be able to use is in a compact and neat way that doesn't mess up readability of my program.

andrewFJ
Автор

Hi! thanks a lot for the detailed walk-through. I'm working with stm32f4 discovery board with 168 MHz core clock. I did whatever you mentioned in the video and still I get nothing in my SWV console and timline graph. Can anyone give me any idea why this thing is not working?

alirezanajafi
Автор

Hi, amazing it worked, and could we use St link/V2/01-0 i.e the big programmer to program the same in Blue pill?

shrijithmjain
Автор

Is it possible to capture this data with some external app. For example if I wish to visualize my data via python script, and I still wish to avoid using the USB2Serial dongle, could I somehow capture the data sent to this port via python script?

msergejev
Автор

I did everything as instructed but now I get this error:

"Error in final launch sequence:

Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (18) Could not verify ST device! Abort connection"

Is there something I'm missing?

wangere
Автор

Can I somehow route the output to a file instead to the console?

klaus
Автор

while soldering the wire to pin on stlink I fucked it up badly, my hands were shaking so much that all the pins on stlink got attached together due to solder and now my stlink is not working XD. I have order 2 other stlinks V2 to test on them but can u give me anytips how to solder wire on IC pin so I don't fuck it up again ?

EmbeddedEnigma