Create N947 Image Version To Use Dual Boot Feature

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

Create N947 Image Version To Use Dual Boot Feature

跳至解决方案
508 次查看
JohnKay
Contributor II

I set the CMPA[FLASH_REMAP_SIZE] = 31 which I think should split the flash into 2 x 1MB sections to support dual boot.

Now I need to create the Image Version for each of my images.

Poking the imageType into the vector table, as shown in other platforms, causes a syntax error.

Where/how do I set the imageType value for dual boot to work?

Thank you.

 

标签 (2)
0 项奖励
回复
1 解答
471 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @JohnKay 

Yes, you can use  "MCUXpresso Secure Provisioning Tool" to configure and program dual image.

And for " imageType value", it is in offset 0x24 of Image Harder:

Alice_Yang_0-1711352935950.png

For example:

Alice_Yang_1-1711352990994.png

 

BR

Alice

 

 

在原帖中查看解决方案

3 回复数
472 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @JohnKay 

Yes, you can use  "MCUXpresso Secure Provisioning Tool" to configure and program dual image.

And for " imageType value", it is in offset 0x24 of Image Harder:

Alice_Yang_0-1711352935950.png

For example:

Alice_Yang_1-1711352990994.png

 

BR

Alice

 

 

467 次查看
JohnKay
Contributor II
Thank you both for your quick response.
0 项奖励
回复
476 次查看
marek-trmac
NXP Employee
NXP Employee

Hi John,

NXP provides graphical tool "MCUXpresso Secure Provisioning Tool", that allows to configure dual boot easily.

- Go to https://nxp.com/mcuxpresso/secure to download the installer (ensure to install version 8 or higher)

- Create new workspace, select the processor you need

- On the toolbar, select "Onchip flash" or "FlexSPI nor flash"

- At "build view" select source application

- Specify image version and enable dialog boot

- Build image

- On the toolbar, hit connection and ensure the processor is connected

- Write image

Both build and write generates the script, that will do the operation. You can review/customize/reuse the script.

 

In the user guide installed within the tool, you will find step-by-step workflow how to setup advanced boot (signed or encrypted) modes.

Regards,
Marek