I have use macro to locate some function in to SPIFlash like this
__TEXT_EXT(Flash3,systick_delay) unsigned int systick_delay() {
return (unsigned)spifi_func;
}
I call this function in main(), and boot from internal flash bank A.
The first time i download software, LPC Expesso auto reset after download completion, software run OK.
But when I push reset button on board, it crash.
I use LPC4357 board by Embedded Artist