2024-04-29 04:42 AM - edited 2024-04-29 04:43 AM
I am working on NUCLEO-H563ZI evaluation board interfacing with QSPI external memory. I have done below steps,
I am able to do read and write.
I have created the external loader file.
I am able to run application code in external memory with debugger support.
Now i am trying to run application code from external memory with bootloader code but i am always ending up with code crash. Could anybody give a clue how to debug this issue?
Note: I have flashed the application code in external memory using cube programmer with external loader.
I have enabled the memory mapped mode in boot up code and able to see the app code in Ext memory.
I have written jump code like below and changed linker script also,
/* Disable Systick interrupt */
SysTick->CTRL = 0;
/* Jump to application */
jumpToApplication = (pFunction)(*(__IO uint32_t*)(APPLICATION_ADDRESS + 4));
__set_MSP(*(__IO uint32_t*)APPLICATION_ADDRESS);
jumpToApplication();
Solved! Go to Solution.
2024-05-09 11:35 PM
Are you sure? HEX is most preffered format and Cubeprogrammer support it normal.
2024-05-09 11:49 PM - edited 2024-05-09 11:51 PM
yeah, it works. I always used to download .bin file using cube programmer with start address. I didn't know that if I choose .hex file, it will disable the start address tab but can download the .hex file. Thanks for your entire team support. I am happy to work with your team support.