Create N947 Image Version To Use Dual Boot Feature

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create N947 Image Version To Use Dual Boot Feature

Jump to solution
310 Views
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.

 

Labels (2)
0 Kudos
1 Solution
273 Views
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

 

 

View solution in original post

3 Replies
274 Views
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

 

 

269 Views
JohnKay
Contributor II
Thank you both for your quick response.
0 Kudos
278 Views
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