AnsweredAssumed Answered

STM32F303 Flash size / Hardfault error

Question asked by Wawrzyniak.Laurent on Oct 21, 2013
Latest reply on Oct 21, 2013 by Clive One
Hello,
I am using a :
 STM32F303RC (256k FLASK, 32k RAM, 8K CCRAM)
 gcc g++ tool chain with Eclipse. 
At compilation time, my firmware memory are as following:
arm-none-eabi-size  --format=berkeley -t Muster.elf
   text        data         bss         dec         hex     filename
 261528        1640       30076      293244       4797c     Muster.elf

The flashing is working but when the program starts, i got immediatly a HardFault_Handler() interrupt.
It seems that there are 616 bytes remaining in the flash but this size is not enough to start.

Is someone has an explanation for this behavior ?


Outcomes