cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-G474RE code jump from code in Internal Flash to External Flash W25Q16JV in QSPI is not working

Radhai
Associate II

Hi @guru ,

In Nucleo-G474RE ,I have connected W25Q16JV in quadSPI bank1 .I have written the Application image binary(.bin) in external flash.I am able to verify the binary written at 0x90000000it in memory mapped mode.When I do Jump to application to external flash from my code in internal flash.

 

SysTick->CTRL = 0;
// Set the stack pointer_
   __set_MSP(*(__IO uint32_t*)APP_START_ADDRESS);

   // Get the application entry point
    void (*app_entry)(void) = (void (*)(void))(*(__IO uint32_t*)(APP_START_ADDRESS + 4));
     // Jump to the application
   app_entry();

 APP_START_ADDRESS given as 0x90000000.On jumping to application ,it doesn't execute.

When verified the example STM32G474E-EVAL,in that,for execute-in-place a fuction is written in external flash and called from internal flash.But I need to do jump to a application flashed in external flash.Any help on this ,would be highly appreciable.

Thanks,

Radhai

0 REPLIES 0