Others: STM32 MCUs related

Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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)

Bicer by Associate II
  • 1204 Views
  • 1 replies
  • 0 kudos

Retarget printf for iar

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...

JCuna.1 by Senior
  • 1132 Views
  • 1 replies
  • 0 kudos

No EEPROM, what to do?

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...

RMyer.1 by Associate III
  • 2709 Views
  • 6 replies
  • 0 kudos

__CC_ARM and __ARMCC_VERSION regarding __attribute__

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! ...

DS.4 by Senior II
  • 3425 Views
  • 0 replies
  • 0 kudos

Keil Trace Exceptions

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...

0693W00000GYHooQAH.png
KSing.4 by Associate II
  • 857 Views
  • 0 replies
  • 0 kudos

Hardfault and BFAR address

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...

DCtech by Associate II
  • 2902 Views
  • 2 replies
  • 0 kudos