I'm falling in a hardfault with the STM32F405VG during a ST routine "HAL_SPI_Transmit". Can you help me please ?
Hi everyone,
First, my program was running good since many weeks and last week I added some code and from this day, each run of my program, i'm falling in hardfault handler... all the time in "HAL_SPI_Transmit".
First thing i've done is to increase (some times very big size) the heap & stack size, unfortunately it doesn't work.. I still fall in hardfault at the same location in my program.
My code is using the ST routine "HAL_SPI_Transmit" many times but it always run down at the same location in this ST routine.. (picture 1 & 2) (btw each times the routine is used to access a flash memory 1 Mbit SPI Serial Flash SST25VF010A).
So, I've investigate on the issue and I found that was a "bus fault" "PRECISERR" and "FORCED" (picture 3, 4 & 5).
I do some research on internet to find out the response to my issue and in found some one talking about error in SPI ST files so i tried to copy the new files (they were different than mine) but it doesn't work..
Picture 1 :

Picture 2 :
Picture 3 :

Picture 4 :

Picture 5 :

Picture 6 :

Is this a known issue ?
Can you help me ? If you have some ask i'm here ?
Thanks,
GOULWEN LE BOZEC,
Regards.
