cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3 Bootloader Application wrting to flash..

shailesh2
Associate
Posted on August 03, 2015 at 13:35

Hi,

I am using STM32f3 ARM cotex3. I am working on Firmware Upgrade  where one of my code executes from 0x08000000 and other i am locating my 2nd application at 0x08010000 .

I have used two method one with the scatter file where i changed IROM1 address to 0x08010000 and kept offset vector 0x10000 but problem is my program is not executing from the 0x08010000 location.

2.  Other , through the UART i am wring to the location 0x08010000 while i am able to write the code but unable to jump 0x08010000 th  loaction . 

 my jump code :

JumpAddress = *(__IO uint32_t*) (0x08010000 + 4);

Jump_To_Application = (pFunction) JumpAddress;

/* Initialize user application's Stack Pointer */

__set_MSP(*(__IO uint32_t*) 0x08010000 );

Jump_To_Application();       

if any one has idea then please help me ? 

 
0 REPLIES 0