User Activity

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_...
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...
I am trying to setup USB communication with an STM32F446REIt is a custom board where:The clock source is an external 8Mhz quartzThere is a micro USB port with USB+ connected to PA12 and USB- connected to PA11The external quartz is working (I can load...
Posted on March 11, 2015 at 10:19 I am currently working on a STM32F103, and I want to program the flash. However, it appear that programming the flash with an USART device receiving bytes in the same time make it hangs: FLASH_BASE->CR |= FLAS...