cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f405 random hard, usage, bus ore memory-fault

s239955_stm1
Associate II
Posted on December 05, 2013 at 12:17

Hey there,

Our problem is that we get random faults (memory, bus or usage)!

The handlers are calling sporadically between 10s to some hours! But we have also pcb�s without any issues!

We are using a custom environment with a STM32F405ZGT and an external PSRAM!

From software side we have the Keil os without micro lib (due to usage of a cpp library)

We are using excessive dynamic memory but only in external RAM! All other RAM access goes to internal one.

A further interface we are using in a high priority is the SPI2 interface with DMA functionality!

If we stop in an error handler, we recognize invalid addresses in pc (like: 0xE0C001E0; 0x804AED2; 0xFFFFFFFE; 0x46604630 or 0x00000000)

Does anybody have an idea?

#stm32f4 #stm32 #fault
30 REPLIES 30
d2399
Associate II
Posted on January 06, 2014 at 16:44

We have new information for our PSRAM issue.

We replace the PSRAM by a pin compatible SRAM and now we have no problems!

Due to the much higher price of the SRAM we can't take this for our project.

From ST we got the information that the PSRAM is compatible to the MCU.

now we have three posibilities (I think):

1st: we have not the right configuration for the PSRAM

2nd: we have a not known issue in the MCU

3rd: we have an issue with our layout