Hello
I want to make secondary boot.
My secondary table is ;
Tag : 0x00112233
firstSectorNumber : 0xC08
1 - I copied all of image from part1 to part2.
2 - I removed part1.
It didnt run. How can I run it ?
Is my secondary table correct ?
Hi @samet-san
I hope you are doing well.
What do you mean with secondary boot? I am not sure who will boot the secondary application, for your use case, is the main application ( working as a bootloader) or the ROM bootloader?
Asking this because you may refer to one of our bootloader examples, or use the MCUXpresso Secure Provisioning Tool to enable dual boot.
Also, which i.MX RT MCU are you using? I do not recognize the 0x0018_0000 as the address of an XIP flash application.
Diego
I want to make update mechanism. Actually main software is in A part.
Firstly, I copy main software from A part to B part, then I copy new software to A part.
If new software has fail while startup , I want to run old program in B part while ROM bootloader runs .
This topic is as Secondary boot in Security Referance Manual.
I burned eFuse xSPI_FLASH_SEC_IMAGE_OFFSET (0xC80[23:16] ) as 0x6. It is 1.5MB (0x00180000).
Shortly, If new software has fail, I want to run old software in B part.
Hi @samet-san
Could you take a look at this thread, and let me know if it works for you?
I made this steps on RT1170, and the process is described using the MCUXpresso Secure Provisioning Tool. I think you can follow the SPT setup test on other RT devices. Also you will notice that I am warning about that part of this dual boot feature is still not described on the RT1170 RM, but I shared this to let customers evaluate it.
If you want to make an update, you can use the bootROM dual boot image or implement a bootloader solution.
Btw, which i.MX RT MCU are you using?
Best regards,
Diego.