Hi All,
I'm currently working on OTAP update. I have made my BLE device as client. I'm able to communicate with my device and Mobile using IOT Toolbox app, bleota file is transferred successfully to my PCB(having KW45 microcontroller) But after download my application is not running. I can also see using J-mem in the flash that file is downloaded. After system reset Rom Bootloader tries to install the Image from the flash but Bootloader could not decrypt the downloaded image fully and stops in between(I verified by seeing the memory location). Could you please help me out to solve this issue.
One more point I would like to add, When I flash same file but in sb3 format using uart i.e. blhost -p COM8 receive-sb-file application.sb3, it flashes properly and my application is running.
KW45 #OTAP
解決済! 解決策の投稿を見る。
Hello,
It is necessary to work with the matching NBU image for the SDK version of the application you are working with. This means that when you download your SDK, prior to loading any wireless SDK example, update your NBU image with the provided binaries in the following folder of the SDK.
If you are using a custom board, with your own keys, you also need to march the NBU version and the SDK application you took as a base.
Regards,
Ricardo
Hello,
Hope you are doing well. Could you please clarify what SDK version are you using? Are you using the otap_client example as a base?
What is the procedure you are following?
Best Regards,
Ricardo
Hi,
I'm uisng SDK verison 2.12.7, I have integrated otap_client example to my project using application developers guide. Bluethooth connection works fine for us, I can see my device in the NXP toolbox application, I can download whole application into the mentioned flash location.
For generating new signed image, I have used Over the air Programming application, I'm using old root certificates files (generated by using SPSDK python files, OEM keys and certificate, for your reference please refer to attached image) which we have generated to burn the fuses at the time of flashing BLE firmware provided by NXP.
I have also found FW update status in OTACFG register, it is returning 0x4412d283 at location 0x02006020, it indicates failure to process sb3 file or failure to erase/write update status to OTACFG page.
Thanks & Regards
SShrivastava
Hello,
Could you please clarify the steps followed using the Over the air Programming application?
Did you follow the Over The Air Programming User Guide?
Regards,
Ricardo
Hi, below are the steps:
NOTE: I have also used ISK option in JSON configuration, but it didn't change anything.
Hi, I'm facing one more issue, I have sdk SDK_2_12_7_KW45B41Z82xxxA and we found out new ble controller binary kw45b41_nbu_ble_1_9_12_3.xip file, I have generated the sb3 file out of it because I'm using our own pcb and keys and certs, I can successfully flash generated sb3 via blhost utility, but when I flash application code through MCuxpresso debugger, application code is going to fault state, please refer the below image
and when I revert to old sb3 file(this was also generated a year ago using this kw45b41_nbu_ble_1_9_10_0.xip verison), this fault is not coming, code runs fine.
Hello,
It is necessary to work with the matching NBU image for the SDK version of the application you are working with. This means that when you download your SDK, prior to loading any wireless SDK example, update your NBU image with the provided binaries in the following folder of the SDK.
If you are using a custom board, with your own keys, you also need to march the NBU version and the SDK application you took as a base.
Regards,
Ricardo