Go to advanced search

by kaushalyas
Tue May 28, 2019 10:45 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

hmm this is the same I was seeing before reducing the clock, the dreaded CMD52/53 failures with error -84 and sometimes -110(based on memory).

You have shorten up the wiring? make sure the clock is low? or even make it lower and see.

Cheers,
Kaushalyas
by kaushalyas
Tue May 28, 2019 8:43 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi,

Yes I think build locally or cross compiled wouldn't affect the stability. What errors you see now?

I just edited the existing sdio-overlay.dts and update as what I have attached. Then build it dts and update the eMMC as given in raspberry pi kernel build page.

Cheers,
by kaushalyas
Tue May 28, 2019 1:28 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi Antoine, It seems like you are building it locally. I cross compiled it in my Ubuntu virtual environment and flashed the kernel, DTBs, overlays and drivers to the eMMC by using rpiboot as explained in https://www.raspberrypi.org/documentation/linux/kernel/building.md To integrate the driver to ke...
by kaushalyas
Thu May 23, 2019 4:44 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, I initially tried it with DHCP on station mode. I have source-directory /etc/network/interfaces.d auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf in /etc/network/interfaces My idea is to run both client and AP modes concurrently. Have you don...
by kaushalyas
Wed May 22, 2019 4:59 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, I dont see any failure of CMD52/53 no in my case. I am not 100% sure what causes the CMD52/53 failure. Also I cant get the AP mode running after following the raspberry Pi document. I can see following network interfaces. mon.wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 unspec 00-0...
by kaushalyas
Tue May 21, 2019 2:45 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hey Antoine, Thats good news. Congrats. I think the wiring is a big contributor to the oops, but also I think there is a bug in the driver that does not gracefully handle a CMD52 read operation failure. I will try to contact the maintainers to get it sorted. I am trying to get the SoftAP working. I ...
by kaushalyas
Fri May 17, 2019 12:21 pm
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, Yeah the above row of pins of the ATWILC include en, reset nd irq. I havent wired any of them. The driver apparently doesnt support out-bound interrupt (It uses DAT1 as the in-bound irq) So you should disable it in kernel config. However you need to assign a GPIO to it, otherwise driver probe fa...
by kaushalyas
Fri May 17, 2019 8:30 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi,

This is my final setup.

Image

I used the version in wilc git repo.

I have this in my /boot/config.txt

Code: Select all

dtoverlay=sdio,poll_once=off,bus_width=4
Cheers,
by kaushalyas
Fri May 17, 2019 6:27 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, I managed to get it up and going with some certainty. The issue was with signal integrity of the wiring between CMIO and ATWILC1000-SD dev kits. So I reduced the sdio clock from 50MHz to 25MHz via sdio-overlay.dts. I have attached it in case anyone can use. sdio-overlay-final.zip I could check t...
by kaushalyas
Fri May 17, 2019 2:07 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, I am almost at the point of going for another, but I felt like I was almost there. Even I manage to run a ssh session couple of times. The problem I see is the failure of read cycle of CMD 52. Now as a last resort, I am tryig to lower the sdio clock, assuming its a signal integrity issue. Did yo...
by kaushalyas
Fri May 17, 2019 12:21 am
Forum: Device Tree
Topic: mmc1 SDIO clock changing
Replies: 7
Views: 3926

Re: mmc1 SDIO clock changing

Hi jkson, I am trying to lower the sdio clock for the exact same reason as yours. Could you kindly post the changes you did the DT to achieve this?

Thanks,
Kay
by kaushalyas
Thu May 16, 2019 12:14 pm
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, I have figured out that seems to cause the kernel oops. As soon as interface is up, I can see [ 74.162353] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_xmit]DHCP Message transmitted, type:35 1 1 [ 74.352357] wilc_sdio mmc1:0001:1 p2p0: INFO [wilc_mac_xmit]DHCP Message transmitted, type:35 1 1 [ 7...
by kaushalyas
Wed May 15, 2019 1:03 am
Forum: Beginners
Topic: how to modify device tree to map SDIO wifi
Replies: 0
Views: 138

how to modify device tree to map SDIO wifi

Hi, I am trying to integrate ATWILC1000 wifi module with RPi CM3+. I have managed to integrate the driver and build in linux 4.19.30 kernel. I am not clear on how to modify sdio-overlay.dts to map the GPIOs required by the driver as reset, enable and IRQ. What I have tried is as follows. [email protected] ...
by kaushalyas
Mon May 13, 2019 1:17 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

sdio-overlay-final.zip Hi, I have managed to pass the GPIOs to the driver and now I can load the driver. I see wlan0 and p2p0 interfaces. I ran 'raspi-config' and created wpa_cupplicant.conf to suit my ssid. But still it cant get IP from DHCP sever nor wok with static IP. Also occasionally I get ke...
by kaushalyas
Fri May 03, 2019 6:39 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, Thanks mate. Appreciate your help. Yes we can work together till we get this solved. I think I have gone one step further. I was seeing high frequency oscillation on DAT3 and CMD. I thought may be this is due to long wires I used to connect the dev kit to CMIO. So I shorted them to about 3 cm. N...
by kaushalyas
Fri May 03, 2019 3:11 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi, Many thanks for your reply. The pin out diagram you mentioned has the pin 1 and 2 description not matching the signal name. Could you please clarify? I have already checked the pin out of the wilc1000-sd Dev kit with the Dev kit schematic and it seems correct. What I have connected is as follows...
by kaushalyas
Tue Apr 30, 2019 11:09 pm
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 4394

Re: SDIO1 CM3+ WILC1000

Hi,

I am trying the same and seeing the same results as yours.

Did you manage to find a solution?

Cheers,
Kay
by kaushalyas
Tue Apr 30, 2019 6:22 am
Forum: Compute Module
Topic: Integrating ATWILC1000 with CM3+
Replies: 1
Views: 306

Integrating ATWILC1000 with CM3+

Hi all, I am trying to evaluate ATWILC1000 on RPI CM3+. I have done the following. 1. compiled the kernel (4.19.30-v7+) 2. integrate the atwilc linux driver to the kernel (from https://github.com/linux4wilc/driver) 3. added "dtoverlay=sdio,poll_once=off,bus_width=4" to config.txt file. I can see the...

Go to advanced search