Question about wifi_cli example on IMXRT1170EVKB...

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

Question about wifi_cli example on IMXRT1170EVKB...

Jump to solution
788 Views
EdSutter
Senior Contributor II

I'm working with SDK_25_03_00...

I installed a 2EL.M2 module from Embedded Artists.  The untouched example works as expected.

I've made a few modifications to change some functionality at the top level of the example, but I have not touched any of the WiFi-specific code.  So, as far as I can tell, the only change that the WiFi code sees is some memory map shifts.

With those changes, the wifi-startup never completes.  It consistently dies after 20 seconds in wifi_sdio_wait_for_cmdresp().  The last command function called from wlan_fw_init_cfg() is  wlan_get_value_1().  

I acknowledge that I did make some changes, but they aren't even close to this code.  I'm hoping someone may have some thoughts on why it is consistently timing out waiting for the response.

0 Kudos
Reply
1 Solution
703 Views
EdSutter
Senior Contributor II
Yes, I don't even start up the Ethernet task. So really the only thing that I think can be happening is that as the image changed, a buffer moved out of DMA space or non-cached area or something like that...
Thanks for checking. This is my bug, I just figured I would throw the question out to you guys for thoughts.

View solution in original post

0 Kudos
Reply
4 Replies
775 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

What is the example you used and what are the exact modification you made?

 

Regards,

Daniel.

0 Kudos
Reply
770 Views
EdSutter
Senior Contributor II
It's the "wifi_cli" example...
SDK_25_03_00_MIMXRT1170-EVKB/boards/evkbmimxrt1170/wifi_examples/wifi_cli.
I added an Ethernet task.
0 Kudos
Reply
720 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Thank you for the reply.

Unfortunately, we don't have a Wi-Fi + Ethernet example to use as guide. Perhaps there is a problem with the timings or memory that is causing this problem.

Have you tried initializing the Ethernet task after the Wi-Fi driver brings up?

The Wi-Fi and BT/BLE examples have very specific project settings to work correctly. If any setting is modified or causing conflict, the example functionality might be affected.

 

Regards,

Daniel.

0 Kudos
Reply
704 Views
EdSutter
Senior Contributor II
Yes, I don't even start up the Ethernet task. So really the only thing that I think can be happening is that as the image changed, a buffer moved out of DMA space or non-cached area or something like that...
Thanks for checking. This is my bug, I just figured I would throw the question out to you guys for thoughts.
0 Kudos
Reply