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.
Solved! Go to Solution.
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:
For example:
BR
Alice
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:
For example:
BR
Alice
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.