No video

Printf Debugging using Semihosting in STM32 || SW4STM || Live variable change

  Рет қаралды 8,182

ControllersTech

ControllersTech

Күн бұрын

Purchase the Products shown in this video from :: controllerstec...
________________________________________________________________________________________
How to utilize semi hosting technique to get the printf output in the debugger console itself.
It works in SW4STM. I don't know about other IDEs, you can test and report here.
To download the instruction file goto drive.google.c...
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/cont...
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controlle...
Follow me on Instagram / controllerstech
For more info, visit www.controller...

Пікірлер: 19
@bennguyen1313
@bennguyen1313 Жыл бұрын
How are printfs via ITM different than printfs over SWV? Don't they both use SWD+SWO? I have a AT ATMEL-ICE debugger which supports SWD+SWO, yet commands like ITM_SendChar() don't work.. which I thought only need SWO.. what's needed for Instrumentation Trace MacroCell?
@user-ej4mk2tf8f
@user-ej4mk2tf8f 9 ай бұрын
how do add variable in the debug window because i do not see any option uder variables TAB
@ControllersTech
@ControllersTech 9 ай бұрын
Add under "Live Expression"
@evgsurf
@evgsurf 4 жыл бұрын
Perfect video!
@FelixCrazzolara
@FelixCrazzolara 4 жыл бұрын
Very nice video!
@ganeshgaikwad2158
@ganeshgaikwad2158 5 жыл бұрын
Its very good method sir. Please guide me for interfacing compact flash card with stm32f373.
@ControllersTech
@ControllersTech 5 жыл бұрын
I don't have a compact flash card. Plus it's very rare to find any suitable guide for the same. So the probability of me working on it is very low to be frank.
@olegmorozov2280
@olegmorozov2280 3 жыл бұрын
I'ts work! Tnx! :)
@FelixCrazzolara
@FelixCrazzolara 4 жыл бұрын
What is the soundtrack used in the video?
@ControllersTech
@ControllersTech 4 жыл бұрын
I don't remember properly but it's from 'beds and breakfast', 'rio nights', 'we share this', 'where i am from',
@FelixCrazzolara
@FelixCrazzolara 4 жыл бұрын
@@ControllersTech Thanks!!
@General-vi3zh
@General-vi3zh 5 жыл бұрын
It's cool that this is possible, but I don't get the point. When the Debugger is already via USB connected, why not using them instead? But the video was great!
@ControllersTech
@ControllersTech 5 жыл бұрын
When you connect F103 via the STlink, which most of the people use, you don't have access to the serial terminal. To use the uart, you have to connect additional Pins via FT232 like level shifters. Unlike nucleo or discovery boards, where you use the usb, which can also be used for serial transmission. But even in those scenarios, it's reducing some effort :)
@SQ8MXT
@SQ8MXT 4 жыл бұрын
@@ControllersTech Hi. Is the printf function only working while debugging? what I mean is if you leave is it in the final code is it going to be executed and slowing down the overall execution of the code? Or should you delete it?
@ControllersTech
@ControllersTech 4 жыл бұрын
Print f will always execute. In the debugger you can see the output. You can leave it though, it will slow down the execution, but not by a noticeable amount.
@SQ8MXT
@SQ8MXT 4 жыл бұрын
Controllers Tech thanks for the information. Btw printf worked for me even without initialising debugging peripheral in CubeMX (on STM32G071 MCU). Don't know if its the same on other MCUs.
@noxiousbg
@noxiousbg 5 жыл бұрын
Hey man what happened to your site? Why is it down? Anyhow very good videos!!
@ControllersTech
@ControllersTech 5 жыл бұрын
Hosting providers messed it up. Try without https. It is working that way
@noxiousbg
@noxiousbg 4 жыл бұрын
@@ControllersTech I was busy, and couldnt check. But it works fine now. Keep up the good work, dear sir!
Joystick module with STM32 || ADC || Multi Channel || HAL
8:36
ControllersTech
Рет қаралды 23 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 17 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 51 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 35 МЛН
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 35 МЛН
STM32 (stm32f103c8) Serial wire debug -- STM32CubeIDE
13:54
Oussama Ousmoi
Рет қаралды 25 М.
STM32CubeIDE. Вывод printf без наличия SWO
15:03
NR.electronics
Рет қаралды 10 М.
Lecture 8: Testing printf using semihosting and OpenOCD
6:00
Fastbit Embedded Brain Academy
Рет қаралды 4,9 М.
printf() over the UART using STM32
12:55
Vidura Embedded
Рет қаралды 31 М.
you need to stop using print debugging (do THIS instead)
7:07
Low Level Learning
Рет қаралды 426 М.
Introduction to Free RTOS in STM32 || CubeIDE || Tasks || priorities
16:26
Remote Debugging ARM Chip with SWD/JTAG - Hardware Wallet Research #3
12:20
TLS Handshake Explained - Computerphile
16:59
Computerphile
Рет қаралды 554 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 17 МЛН