2014-10-17 08:05 AM
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?2014-10-20 01:50 AM
Hi
''The compilation and the link are OK. Unfortunaltely, the program doesn't start. Any suggestion please?'' Connect a debugger and debug it. ''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).'' What exactly does your application do? Does it use peripherals? Have you checked if the peripherals are identical in both devices?2014-11-04 06:34 AM
Hi Laurent,
For questions related to STM32F303xE, please contact you local ST representative or FAE.Best Regards,-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2014-11-28 12:53 AM
The issue was due to the Segger Jlink probe that didn't support the flash size over 256k.
From the new Jlink software 4.94g it is OK now for the STM32F303RE.Thanks to SEGGER support.