KW38 otap

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW38 otap

Jump to solution
1,385 Views
s_takase
Contributor I

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"

0 Kudos
1 Solution
1,338 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

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"

Ricardo_Zamora_1-1648245321268.png

 

Regards,

Ricardo

View solution in original post

0 Kudos
4 Replies
1,361 Views
s_takase
Contributor I

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

0 Kudos
1,339 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

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"

Ricardo_Zamora_1-1648245321268.png

 

Regards,

Ricardo

0 Kudos
1,295 Views
s_takase
Contributor I

Hi there!  Ricardo-san.

iPhone could open the .srec file and update through OTAP.

Thanks.

Shigeto

0 Kudos
1,373 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

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

0 Kudos