Qn908x OTAP Question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,779件の閲覧回数
Corgi
Contributor II

Hello,
I'm a newbie developer in which to develop a code for OTAP on the QN9080SIP-DK.

I use sample codes from the sdk examples:

bluetooth_otap_client_att _freetos
framework_bootloader_otap_bm


And read Bluetooth Low Energy Demo Applications User Guide.pdf

1626940565270.jpg

Before Usage IoT Toolbox, I should Flash the OTAP Client ATT and OTAP Bootloader into my board (Qn9080), What should I do?

Environment:
MCUXpressoIDE v11.2.0
SDK Version 2.2.5 QN908XCDK


I guessed maybe use QN908x Programming Tools, Is there any user guide for QN908x Programming Tools? I don't know how to Flash OTAP_CLIENT_ATT and OTAP_BOOTLOADER on my board.

I just want to achieve OTA by Sample Codes.
Thanks,

--
Best Regards,
Corgi

ラベル(1)
  • QN

タグ(1)
0 件の賞賛
1 解決策
3,746件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

Sure, you could take as reference the next App note

4 Customizing a based Bluetooth LE demo to integrate the OTAP service.

https://www.nxp.com/docs/en/application-note/AN12970.pdf

Keep in mind, that the AN is for the KW36, but you could look at the application level.

Regards,

Mario

元の投稿で解決策を見る

0 件の賞賛
17 返答(返信)
3,646件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda ,

Final question, Is there have Toolbox OTAP source code or SDK for us develop our app(iOS/Android)?

Or Protocol, Related documents

The use situation is that I need to develop in my APP

 

--

Best Regards,

Corgi

0 件の賞賛
3,596件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

The IoT Toolbox source code can not be shared. Please get in contact with your DFAE for more information about this.

Regards,

Mario

0 件の賞賛
3,549件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda ,

How about Programming Tool Source Code or Protocol Docs ? Or I also need to get help from DFAE,

Are there any other documents about integration? When I conduct OTA on my project, it will fail at 8%

 

--

Best Regards

Corgi

0 件の賞賛
3,543件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

Sure, for more information about the IoT Toolbox, please get in contact with your local DFAE.

You can follow the next document to integrate OTA into your project.

4 Customizing a based Bluetooth LE demo to integrate the OTAP service.

https://www.nxp.com/docs/en/application-note/AN12970.pdf

Regards,

Mario

0 件の賞賛
3,527件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda 

OK,I will contact with DFAE.

Can I programming on MCUXpressoIDE? After complier it will not work, but work by qn908x Programming Tool, What should I setting about bootloader and otap project?

0 件の賞賛
3,518件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

Sure, I used the MCUxpresso IDE for this OTAP test and it works.

What is the issue that you have?

Regards,

Mario

0 件の賞賛
3,713件の閲覧回数
Corgi
Contributor II

截圖 2021-07-26 下午3.07.12.png

0 件の賞賛
3,597件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

I confirmed internally, the IoT Toolbox does not support .s19 file, only supports .srec and .bleota file. You can change the .s19 to .srec directly,then the firmware can be updated successfully.

Regards,

Mario

0 件の賞賛
3,755件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda,,

Yes, I use SDK Example "bluetooth_otap_client_att" & "framework_bootloader_otap", and Steps by QN908x Programming Tool User Manual 4.4.5

截圖 2021-07-23 上午11.57.16.png

So, I program the otap bootloader and otap_client_att on my board,
After press ADVSW 
I can see my device in the list of scanned devices,

but when I try to connect device, I see Status shows that connecting -> connected (only 3secsonds) -> disconnected,

Why is it disconnected ?

Another problem is I selected my .s19 file , but File Infomation No any changes,

Is it because the device is disconnected? Or is my .s19 file something wrong?

.s19 file is also use SDK example "otap_client_att"

Environment:

IoT Toolbox: 5.1.11

QN908x Programming Tool: 1.0.2

--

Best Regards,

Corgi

0 件の賞賛
3,739件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

So, I program the otap bootloader and otap_client_att on my board,

What is the process that you followed to program these 2 codes?

but when I try to connect the device, I see Status shows that connecting -> connected (only 3secsonds) -> disconnected,

Did you enable some security features? Just to confirm, are you using the IoT ToolboxApp?

Is it because the device is disconnected? Or is my .s19 file something wrong?

Does this happen when you try to update the firmware?

Regards,

Mario

 

0 件の賞賛
3,715件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda,
What is the process that you followed to program these 2 codes?

I just build the project, Go Binaries/ file .axf Binary Utilities / Create Bin and Create S-Record, (MCUXpress IDE)

So I got the bootloader_otap.bin, otap_client.bin, otap_client.s19 and programming by use Qn908x Programming Tool,

Today I use another iPhone I can correctly connect my device, No disconnection.

But I Tapped Open and selected my .s19, File Infomation is still no change,

Can you give me demo .s19 file? 

 

--

Best Regards,

Corgi

0 件の賞賛
3,704件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

I programmed the device using the same examples that you are using.

It works by my side. Please look at the bin and s19 files, and also look at the images.

Regards,

Mario

0 件の賞賛
3,692件の閲覧回数
Corgi
Contributor II

Hi @mario_castaneda ,

It is still not working on iPhone, but working on Android,

in iOS 13.1.2 I can connect my device but can't select .s19 file (File info no change),

in iOS 14.0 and 14.5.1 will auto disconnected (File info no change),

in andoid 8.0 as iOS 13.1.2 can connect my device but can't select .s19 file (File info no change),

successfully work in android 9.0.

All App Version: 5.1.12

3,657件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

I reproduced the issue using an iPhone and it is not working. we are checking and get back to you as soon as possible.

Regards,

Mario

0 件の賞賛
3,756件の閲覧回数
Corgi
Contributor II

Is there any Reference or Doc about otap_client_att integrated into my project

0 件の賞賛
3,747件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

Sure, you could take as reference the next App note

4 Customizing a based Bluetooth LE demo to integrate the OTAP service.

https://www.nxp.com/docs/en/application-note/AN12970.pdf

Keep in mind, that the AN is for the KW36, but you could look at the application level.

Regards,

Mario

0 件の賞賛
3,768件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Corgi,

Have you programmed a simple example using the IDE that we provide?

Before Usage IoT Toolbox, I should Flash the OTAP Client ATT and OTAP Bootloader into my board (Qn9080), What should I do?

Yes, you have to program the bootloader before using the OTAP Client example, you could import the example and flash the code using the MCUxpresso or you could use the Jlink commander to load the bin file.

Regards,

Mario

 

0 件の賞賛