QN9090 OTAP with External Memory

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

QN9090 OTAP with External Memory

1,002 Views
Jose7
Contributor I

Hello.

I am trying to use the OTAP function by referring to the QN9090DK6 SDK "qn9090dk6_otap_client_att_bm".
I am trying to configure it to use an external flash to temporarily store images transmitted over the air.
Which file in "qn9090dk6_otap_client_att_bm" do I need to edit and how do I edit it to write to the external flash?
The SDK I am using is "SDK_2_6_13_QN9090DK6" and the external flash is "MX77L12850F".

Kind regards.

0 Kudos
Reply
1 Reply

965 Views
Itzel_UV
NXP Employee
NXP Employee

Hello,

 

To configure the use of the external flash you could check at SDK\docs\wireless\Bluetooth\

Low Energy Application Developer’s Guide.pdf -> chapter "11.7.3 Enabling OTA upgrade in external flash on QN9090 and K32W061"

 

This section will explain how to Enable upgrade in external Flash for the QN9090, where the board DK6Programmer will be responsible to generate the binary in order to upload the binary file.

 

You do have to make sure that are set at the carpet board the file board.h

 

#if gOTA_externalFlash_d == 0

 

At the carpet source on the file app_preinclude.h it has to be set

 

#define gOTA_externalFlash_d            1

 

 

By doing this it will use the library that is already supported with the external flash MX25R8035F_c that can be found in the board DK6. Look more about the library using this path: Framework>Flash>External>Source>Eeprom_MX25R8035F.c

 

Since you want to use the MX77L12850F you should make your own library adapting it.

 

Hope the answer finds you well. If you have fodder question, don't hesitate to ask.

 

Regards,

Itzel

0 Kudos
Reply