stm32l476rg flash read-write
I want to use flash as eeprom by using hal library on stm32l476rg.How can I create the flash_read() and flash_write() functions? (functions will read and write data of type uint32_t)
Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.
I want to use flash as eeprom by using hal library on stm32l476rg.How can I create the flash_read() and flash_write() functions? (functions will read and write data of type uint32_t)
In order to make the printf function accessible from other libraries, I create a retarget library where I call stdio and write my own implementation of _write function using UART peripheral. So when I want to use printf in another library. I add incl...
Hi All, I'm using a STM32F030x4 that has no EEPROM but I don't want to implement EEPROM emulation on the Main Flash as I only need to 'save' a couple of bytes during power off.Is it possible to use the 'User data option byte' @ 0x1FFF_F804 as a non-v...
I have a project which needs to store the state of the program on an eeprom.Unfortunately there is no built in eeprom on stm32f7508-dk board.I have bought M24LR64 chip for i2c eeprom.Unfortunately the program get crashed on read operation (only when ...
In the example projects there is no dedicated __ARMCC_VERSION (ARM compiler V6).file: stm32_wpan_common.h, in the BleHeartRateRTOS example#if defined ( __CC_ARM ) #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050U) //We never get here! ...
As shown below the screen, when I am running the MCU application, it is running without any flaws. However, when I notice the TraceExceptions window on Keil IDE, noticed a large number of hard faults occurring. But these faults do not trigger fault h...
Does someone know if system workbench will work also on windows 11? Thanks and regards, Piero
I have attached the complete log here..I am trying to use the External mode with Nucle 412 board. But with the above said error.., I am unable to connect to the board at all.., I initially reported to MATLAB, but they closed the issue stating that i...
I am using stm32f4. I have a hardfault error at sometimes, when I write new code in to the flash. So I check the Fault Registers like in below:SerialPrint("Fault: %08x %08x %08x\n",SCB->HFSR, SCB->CFSR, SCB->BFAR);Output results:SCB->HFSR = 0x400000...