Where is define function "SLN_FLASH_MGMT_Erase"??

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

Where is define function "SLN_FLASH_MGMT_Erase"??

273 Views
yelin
Contributor II

I would like to use "wifi_credentials.c" with SLN-SVUI-IOT board.

However, an error occurs when I build the source code with "wifi_credentials.c".

Build errors occur because the "SLN_FLASH_MGMT_Erase" function does not declare.

Where can I find the "SLN_FLASH_MGMT_Erase" feature??

And where do you define values and functions in relation to SLN_FLASH_MIGMT.

How can I solve this problem?

 

0 Kudos
8 Replies

255 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin 

  Thank you for your new question post!

  I checked the SLN_SVUI_IOT board, the onboard wifi module is the AW-AM510, 

kerryzhou_0-1713944212518.png

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-...

About the IW416 wifi code, I highly recommend you to refer to this RT1060 SDK:

\SDK_2_15_000_EVK-MIMXRT1060\boards\evkmimxrt1060\aws_examples\ota_demo_wifi

\SDK_2_15_000_EVK-MIMXRT1060\boards\evkmimxrt1060\wifi_examples

In fact, what you need to do is to configure the wifi at first, after it works, then you can do more high level configuration, eg, the network connection, the MQTT, the clould.

About the SLN_FLASH_MGMT_Erase, this should used for the OTA, but as I told you yesterday, the SLN-SVUI-IOT still didn't add the OTA function, I think, this is why you can't find the SLN_FLASH_MGMT_Erase, to the wifi related flash operation, I think you can comment it.

To the wifi code, you can refer to the SDK at first.

 

Wish it helps you!

If you still have question about it, please kindly let me know.

Best Regards,

kerry

 

 

0 Kudos

253 Views
yelin
Contributor II

If SLN-SVUI-IOT didn't add OTA function.. Can't I use SLN_FLASH_MGMT_Erase function? 

Or do I need to annotate and build that function(SLN_FLASH_MGMT_Erase)?

0 Kudos

246 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  Please tell me what's the wifi detail function you want to get?

  If you just want to use the wifi to do the ENET communication, you totally can refer to my above SDK demo, no need to use SLN_FLASH_MGMT_Erase.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos

239 Views
yelin
Contributor II

I want to connect to Wi-Fi using SLN-SVUI-IOT board.

If I don't need to use SLN_FLASH_MGMT_Erase, can I annotate that part in the "wifi_credentials.c" file to disable it?

Can you tell me how to use SDK demo using WiFi?

0 Kudos

154 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  SLN-SVUI-IOT is also the RT106V, and that also can run the RT1060 SDK demo.

  To the wifi demo, you just need to check the pinmux.c pin, make sure the configuration pin is match to your SLN-SVUI-IOT.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos

85 Views
yelin
Contributor II

I'm not sure how to run the demo yet, but can I try it and ask for help again?

0 Kudos

57 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @yelin ,

  Sure, you can try it, even meet issues, it is no matter, you can let us know it any time you want.

  And, if you just download the software, not burn the fuse, the chip will be damaged, just feel free to test to learn it, thanks.

Best Regards,

Kerry

0 Kudos

55 Views
yelin
Contributor II

Thank you for letting me know.

Have a nice day.