Hi all,
I have a custom board with mimxrt1021 M7 processor and nrf52 chip. I am using MCUXpresso IDE. There is no problem that I can build my project and flash my binary file to the board using Jlink. The problem is when i want to use OTA update. The binary file generated from MCUXpresso IDE doesnt work when i use over the air update, but it works if i flash the same binary using jlink debug probe. Does anyoen have an advice for this problem?
i am using bluetooth connection to update nxp side and actually i dont know which address ota update starts as it was already implemented before i owned the firmware :). for the jlink part i am updateing the address starting from 0x60000000. by the way while i am updateing via jlink xip_boot_header_enable symbol is 1 in the firmware. i also tried to disable xip_boot_header_enable symbol for ota. when this symbol disabled ota update works but i got a error about "initing uart" in the firmware and firmware doesnt work consistent. To learn which address updated at ota, should i look the bootloader project in nxp firmware? sorry i am new at ota and really dont know the mechanism how to update firmware over the air :).