generate binary for OTA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

generate binary for OTA

1,105 次查看
low_stack
Contributor II

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?

标签 (1)
0 项奖励
回复
4 回复数

1,069 次查看
jay_heng
NXP Employee
NXP Employee

What kind of OTA update you use? you update the binary to the same address just as jlink did?

1,063 次查看
low_stack
Contributor II

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 :).

0 项奖励
回复

1,038 次查看
jay_heng
NXP Employee
NXP Employee

You team designed the bluetooth bootloader right? you may need to check the code.

You can read back the content from flash to see the difference between ota updating and jlink downloading

0 项奖励
回复

1,036 次查看
low_stack
Contributor II

Thank you for your advice, to read back from flash is there any program to use? in mcuxpresso ide is there any tool to read back from flash?

0 项奖励
回复