Hi folks.
I would like to how to deal otap.
1. step:
I would like to flahs KW38 board "otap client" + "otap boot loader" + "hello world" sample application.
I wish to confirm "hello world" on tera term.
How to flash 3 projects above into the KW38 board?
2. step:
I wish to revise "hello world" application to "hi there!" . It's is easy to revise the char string.
3. step:
And I would like to update "hello wordl" app by "hi there" app through IOT tool on the cell phone.
If you know any idea, please tell me.
Regards.
shigeto
I would like to update "hello world"
Solved! Go to Solution.
Hi Shigeto,
You can change the .s19 to .srec.
Go to the project Properties>C/C++ Build>Settings>Build steps>Post-build steps, and add this line:
arm-none-eabi-objcopy -v -O srec "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.srec"
Regards,
Ricardo
Hi there! Richardo-san.
Thank you for your reply. I could go ahead !
But my iPhone's IOT tool doesn't read .s19 image file.
Do you know how to break through this problem?
Regards.
Shigeto
Hi Shigeto,
You can change the .s19 to .srec.
Go to the project Properties>C/C++ Build>Settings>Build steps>Post-build steps, and add this line:
arm-none-eabi-objcopy -v -O srec "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.srec"
Regards,
Ricardo
Hi there! Ricardo-san.
iPhone could open the .srec file and update through OTAP.
Thanks.
Shigeto
Hi shigeto,
Hope you are doing well. Could you please check this AN? KW38 - Integrating the OTAP Client Service into a Bluetooth LE Peripheral Device.
In section 5.4 you can see graphically a scenario of OTAP updates. The OTAP needs a BLE application with the OTAP feature integrated. So the hello world will not be a good example to test this feature.
But the Application Note would help you to test the OTAP feature.
Hope this helps.
Regards,
Ricardo