Ask questions, find answers, and share insights on STM32 products and their technical features.
I am trying to write data in the flash of an STM32F446RE, sector 5.My linker script is configured so that .user_data goes to 0x08020000, and:__attribute__((__section__(".user_data"))) char userConfig[4] = {1, 2, 3, 4};Is my user Data.If I read it aft...
If I try to put a method in the .data section using the below code, the microcontroller hangs when I try to call it. Is it a wrong way?(When I check in the disassembly it appears indeed in the RAM)__attribute__((long_call, section(".data"))) void my_...
I probably should have posted this many weeks ago but after the hell I've been through I thought it worth posting this as a question that I now believe I've answered myself but in the hopes of saving someone else a few weeks of hell here goes. For th...
I want to migrate from STM32F030 to STM32G071. Please tell me if errata section 2.25 (Overwriting with all zeros a Flash memory location previously programmed with all ones fails) could affect my custom bootloader or flash save functions from main...
Goodmorning everyoneA few weeks ago I started working with this board (NUCLEO-H743ZI2) and STM32CubeIDE, for the moment I have only faced simple problems such as timer configuration, interrupt generation and ADC readings.Now I need to program the boa...
Hello,I am trying to write to flash memory from the firmware itselfIt looks like the Erase process hangs for 2 seconds or so but works, but the writing process seems to totally freeze the MCU. Below is the code I am using. Any idea ?FLASH_EraseInitTy...
Want to use some function from the module like sending GPS location on analog request.
I am trying to build a current fed push pull DC DC converter. This requires two waveforms with duty cycle greater than 50% and phase difference of 180 dergrees. I would like to know the possible ways of achieving this. I have tried using output toggl...
I am using the STM32H745 dual core MCU, and the CM7 can be run correctly, but the CM4 go to the Hard fault immediately, I set a breakpoint at the start of main() but can't capture it. Then I set a breakpoint at Reset_Handler in the startup file (st...