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 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 7 МЛН
👨‍🔧📐
00:43
Kan Andrey
Рет қаралды 10 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 20 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3 МЛН
Introduction to Free RTOS in STM32 || CubeIDE || Tasks || priorities
16:26
STM32 (stm32f103c8) Serial wire debug -- STM32CubeIDE
13:54
Oussama Ousmoi
Рет қаралды 25 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 353 М.
The Greenwich Meridian is in the wrong place
25:07
Stand-up Maths
Рет қаралды 754 М.
These Illusions Fool Almost Everyone
24:55
Veritasium
Рет қаралды 2,2 МЛН
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 566 М.
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,3 МЛН
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 414 М.
SD CARD using SPI in STM32 || Cube-IDE || File handling || uart
16:42
ControllersTech
Рет қаралды 88 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 144 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 7 МЛН