AnsweredAssumed Answered

STM32F303RE: linker file for GNU based tool chain

Question asked by Wawrzyniak.Laurent on Oct 17, 2014
Latest reply on Nov 28, 2014 by Wawrzyniak.Laurent
Hi,
I have a c++ application that is running on STM32F303RC (256 K flash).
I want to use this same application on the new STM32F303RE (512 K flash).
I modify the linker file as follow:
/* Entry Point */
ENTRY(Reset_Handler)


/* Highest address of the user mode stack */
_estack = 0x20010000;    /* end of 64K RAM */


/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200;      /* required amount of heap  */
_Min_Stack_Size = 0x400;      /* required amount of stack */




/* Specify the memory areas */
MEMORY
{
  FLASH (rx)      : ORIGIN = 0x08000000, LENGTH = 512K  /*Without bootstarter*/
  RAM (xrw)       : ORIGIN = 0x20000000, LENGTH = 64K
  CCMRAM (rwx)    : ORIGIN = 0x10000000, LENGTH = 16K
  MEMORY_B1 (rx)  : ORIGIN = 0x60000000, LENGTH = 0K
}

The compilation and the link are OK.
Unfortunaltely, the program doesn't start.

Any suggestion please?

Outcomes