AnsweredAssumed Answered

STM32F3 Bootloader Application wrting to flash..

Question asked by kumar.shailesh on Aug 3, 2015
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 ? 
 

Outcomes