Комментарии:
I installed v5.38
With including USE_HAL_DRIVER, I get 13 warnings, and when I remove it I get 4 warnings.
Also I can't change the xtal.
Thanks for doing what my teacher couldn't
Ответитьvery Good explanation and easy to understand, Thank you for the same.
Ответитьoh god this video was helpful and made me see light at the end of the stm32 tunnel. PS: cubeIDE just makes me want to jump off a bridge sometimes
ОтветитьThe Xtal frequency part seems off to me. How can i open.Can you please help me.Thamk you.
ОтветитьI have error called "Required C 99, but current is C 90" How am I suppose to corrent it?
ОтветитьThanks for the tutorial! I have followed all the steps properly but get an error in the manage run-time environment window that says "Required C 99, but current is C 90"
Whatever I do after that can't be uploaded to the board. Please help me rectify this 🙏
Edit
The solution is as follows-
In the 'options for target' settings go to C/C++ tab and choose C99 from the drop-down menu for 'selected language'
Enjoy!
Thank you so much. My Keil version is from 2014, I followed the steps for the same board and got this error when trying to build it: ".\Blink_Eight.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f40_41xxx.o) " I the code I had to change BSSR to BSSRL to turn on and BSSRH to turn off (w/o the +16). How can I fix it?
Ответитьvery good video,thanks from China!
ОтветитьKeil is pronounced like "Kyle"
Keil is a German software subsidiary of Arm Holdings. It was founded in 1982 by Günter and Reinhard Keil.
You are very clear. Thank you very much.
Ответитьvery helpful thank u
ОтветитьEDIT: fixed.
I found the solution. the for loops are optimized out. Make the variable i declaration as:
volatile uint32_t i;
I get these. LEDs light up, and they never go off
main.c(30): warning: signed shift result (0x80000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow]
GPIOD->BSRR = 1<<(15+(16)); // Set the BSRR bit 15 + 16 to 1 to turn respective LED off
~^ ~~~~~~~~~
main.c(30): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
GPIOD->BSRR = 1<<(15+(16)); // Set the BSRR bit 15 + 16 to 1 to turn respective LED off
Why do you choose I2C and SPI? in other words, Can I choose just CAN in 3 CAN nodes? or there is a rule to choose these things?
Ответитьluvly
ОтветитьCan you plz make aa complete chapterrrr plzzzz
Like i2c ,uart, adc ,spi
The tutorial was simple and easy to understand. Thank you for uploading this. Please can I request if you may include few more sessions related to Interrupts,Timers and ADC/DAC etc specific to ARM Cortex M4 viz. STM32F407. Thanks again.
ОтветитьIs Keil µVision free ?
Ответитьactually for me the leds are only a switched on position when i am running this code. Can u please help?
Ответитьreally great tutorial
ОтветитьIs all videos available related to stm32f407 discovery board with keil 5 sir?
ОтветитьA very clear explanation- thanks. While you installed HAL drivers, the example program only uses direct register writes. I actually prefer this but find the project folder is bloated with many megabytes of unused and unnecessary files. A video on a "minimum" project folder would be useful - one that contains only the pointer constants to registers (stm32f4xx.h) and the startup file. Then one could add just the CMSIS or HAL files as desired.
Ответить