We are running out of space for DFU, thus changed start address from 0x77000 to 0x6E000
After reading related documents, it seems I had a problem
SD_MBR_COMMAND_COPY_BL is used for update the DFU, however, it requires BOOTLOADER_ADDR already set (to new/correct address)
Then BOOTLOADER_ADDR is stored IN the MBR at 0xFF8, which is PROTECTED by DFU on power up
It seems to me this is a dead loop, the only way I could think of is to create an intermediate DFU that do not protect MBR, then modify address slot in APP before calling SD_MBR_COMMAND_COPY_BL to upgrade to the final DFU
Is there a better/proper way of doing it?