Skip to content

Wifi scan crashes on disco_l475_iot1 #11310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erwango opened this issue Nov 12, 2018 · 4 comments
Closed

Wifi scan crashes on disco_l475_iot1 #11310

erwango opened this issue Nov 12, 2018 · 4 comments
Assignees
Labels
area: Wi-Fi Wi-Fi bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug

Comments

@erwango
Copy link
Member

erwango commented Nov 12, 2018

Describe the bug

When running samples/net/wifi with disco_l475_iot1, crash happens.

To Reproduce
Steps to reproduce the behavior:
0. cd samples/net/wifi

  1. mkdir build; cd build
  2. cmake -DBOARD=disco_l475_iot1
  3. make
  4. See error

Expected behavior
Scan is performed and returns list of available APs

Impact
Prevent use of Wifi on board

Screenshots or console output

[00:00:13.154,832] <err> wifi_eswifi_bus_spi.eswifi_spi_request: CMD ready timet

[00:00:13.154,832] <err> wifi_eswifi_bus_spi.eswifi_spi_request: CMD ready timet

[00:00:13.154,835] <err> wifi_eswifi_core.eswifi_iface_init: Unable to read MACs
[00:00:13.154,835] <err> wifi_eswifi_core.eswifi_iface_init: Unable to read MACs
[00:00:13.154,838] <err> net_if.init_iface: {assert: 'api->send' failed}        
[00:00:13.154,838] <err> net_if.init_iface: {assert: 'api->send' failed}        
***** Reserved Exception ( -16) *****                                           
***** Hardware exception *****                                                  
Current thread ID = 0x20001d8c                                                  
Faulting instruction address = 0xaaaaaaaa                                       
Fatal fault in essential thread! Spinning... 

Environment (please complete the following information):

  • OS: Linux,
  • Toolchain Zephyr SDK
  • SHA1: b5ceade03c28448357736846bd7d043787961ffd

Additional context

@erwango erwango added bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 area: Wi-Fi Wi-Fi labels Nov 12, 2018
@erwango
Copy link
Member Author

erwango commented Nov 12, 2018

@loicpoulain, was working recently but crashing now, can you have a look?
Thanks

@nashif nashif added the priority: medium Medium impact/importance bug label Nov 13, 2018
@loicpoulain
Copy link
Collaborator

@erwango, just checked it, I thought #10372 was merged, but actually not. It's requested to prevent spi error.

@tbursztyka
Copy link
Collaborator

reopened #10372, sorry

@erwango
Copy link
Member Author

erwango commented Nov 19, 2018

Tested. Working, thanks!
Closing the ticket

@erwango erwango closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Wi-Fi Wi-Fi bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants