Skip to content
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

Failure to detect ATWILC3000 module #4

Open
prattom opened this issue Aug 5, 2016 · 4 comments
Open

Failure to detect ATWILC3000 module #4

prattom opened this issue Aug 5, 2016 · 4 comments

Comments

@prattom
Copy link

prattom commented Aug 5, 2016

I am trying use ATWILC3000 module with my imx6ul evk board on SPI. I am using Yocto BSP. I have compiled the driver but when I tried load driver "insmod wilc3000.ko" I receive the following debug messages :--

*** WILC3000 driver VERSION=[11.2.4] ***
DBG [at_pwr_power_up: 912]source: Wifi, current bus status Wifi: 1, BT: 0
ERR [at_pwr_power_up: 916]power up request for already powered up source Wifi
DBG [at_pwr_register_bus: 233]source: Wifi, current bus status Wifi: 1, BT: 0
ERR [at_pwr_register_bus: 237]Registering bus request for already registered source Wifi
DBG [init_wilc_driver: 2469]Initializing netdev
DBG [WILC_WFI_WiphyRegister: 3643]Registering wifi device
DBG [WILC_WFI_CfgAlloc: 3588]Allocating wireless device
DBG [WILC_WFI_WiphyRegister: 3717]Successful Registering
DBG [WILC_WFI_WiphyRegister: 3643]Registering wifi device
DBG [WILC_WFI_CfgAlloc: 3588]Allocating wireless device
DBG [WILC_WFI_WiphyRegister: 3717]Successful Registering
DBG [init_wilc_driver: 2479]Device has been initialized successfully
DBG [mac_open: 1779]MAC OPEN[88bdd000] wlan0
DBG [WILC_WFI_InitHostInt: 3739]Host[88bdd000][8861d0c0]
DBG [wlan_init_locks: 1368]Initializing Locks ...
DBG [linux_to_wlan: 1408]Linux to Wlan services ...
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [chip_wakeup: 799]clocks still OFF. Wake up failed
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [chip_wakeup: 799]clocks still OFF. Wake up failed
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000013
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd ca,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 003b0000
ERR [wilc_get_chipid: 1862][wilc start]: fail read reg 0x3b0000 ...
DBG [init_chip: 1790]ChipID = 0
ERR [spi_cmd_complete: 428]Failed cmd response, cmd ca,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 000207ac
DBG [init_chip: 1792]Bootrom sts = 7f05fe94
ERR [spi_cmd_complete: 428]Failed cmd response, cmd ca,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00001118
ERR [init_chip: 1797][wilc start]: fail read reg 0x1118...
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c4,resp 00
ERR [spi_read_reg: 929]Failed cmd, read reg 00000001
ERR [spi_cmd_complete: 428]Failed cmd response, cmd c3,resp 00
ERR [spi_write_reg: 847]Failed cmd, write reg 00000001
ERR [wilc_wlan_init: 1615]Initializing WILC_Wlan FAILED
DBG [wlan_deinit_locks: 1395]De-Initializing Locks
ERR [wilc_wlan_init: 1743]WLAN Iinitialization FAILED
ERR [mac_open: 1793]Failed to initialize wilc
ERR [Handle_SetWfiDrvHandler: 661]Failed to set driver handler
ERR [Handle_SetWfiDrvHandler: 662]ATL_ERRORREPORT(-103)
DBG [hostIFthread: 4343]THREAD: Exiting HostIfThread
DBG [clear_shadow_scan: 140]destroy aging timer

What is the reason for failure to load wifi module?

@aditya-shankar
Copy link

Hi,

Thanks for your interest on using the WILC3000.
Please reach out to us via your Atmel Sales or FAE/AE contact so that we will be able to support you better. This isn't the offical channel for support and we no longer support issue requests on github.

Thanks,
Aditya

@prattom
Copy link
Author

prattom commented Aug 6, 2016

I tried contacting them but I have not heard any replies from or vague reply. Do you know someone who I can contact for support?

@hildegardemalan
Copy link

Hi Prattom,

Did you manage to get the ATWILC3000 working? I'm experiencing the same issue you did when trying to load the ATWILC driver with the SAMA5D27 SOM1. Running out of ideas here.

Thanks,
Hildegarde

@prattom
Copy link
Author

prattom commented Oct 23, 2019

Hi,
No I was not able to get ATWILC300 work. The drivers were not working properly and I didn't receive proper support from microchip so I shifted to Buegiga WF111 wifi module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants