Change QSPI Boot Entry-Point on K8x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Change QSPI Boot Entry-Point on K8x

661 次查看
deniscollis
Contributor V

I want to explore the possibility for the K8x MCU to quickly boot into different applications, as needed. This is possible if switching between two applications: one in internal flash, and the other in external QSPI flash.  But can I switch between applications that are both on external flash?

Will QSPI Flash offset 0 (mapped address 0x68000000 for the K8x) always be used as the entry point when booting from QSPI XiP Flash?  Or is there a way to change the entry point to some other offset in flash?

I could not see anything obvious in BCA , Flash Configuration Field, or QCB.

标签 (1)
0 项奖励
1 回复

563 次查看
saurabhsaxena
Contributor III

Hi Denis,

I recently faced this problem as FCA and BCA are appended as defined in IAR, External Flash has Two ranges A and B or( QSPI A and QSPI B) where you can map these as two independent application, but a jump to the other can only be possible if its been hard-coded.

As entry point change will require changes in VCTOR register of SCB of arm(To Remap Interrrupt Vector Table).

It depends what type of requirement you have in hand.

In my case I used a Second Stage Bootloader to move entry points in FCA and BCA region, as initial FCA and BCA region are required during initial boot only, a Second Stage Loader/Application can update Them.

Best Regards

Saurabh Saxena

0 项奖励