OSError: failed to init WINC1500 module

Discussion related to "under the hood" OpenMV topics.
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 3:20 pm

I have bought two WiFi Shields (Order # 3961) and two OpenMV Cam H7s (Order # 3955).
I am already in possession of two OpenMV Cam M7s

However, unfortunately, both the WiFi Shields are throwing the same error: "OSError: failed to init WINC1500 module" on all the 4 Cam Boards (two M7s and two H7s).

Steps followed:
Mounted WiFi Shield to OpenMV Cam Board
Powered the Board through USB
Tried both "connect_1.py" as well as "tcp_client_1.py".
Tried "Turn on WiFi Shield on Startup" in OpenMV Cam Settings.
Checked all connections thoroughly.

Kindly help, please.
User avatar
iabdalkader
Posts: 1038
Joined: Sun May 24, 2015 3:53 pm

Re: OSError: failed to init WINC1500 module

Postby iabdalkader » Wed Jun 05, 2019 3:48 pm

How do you connect the shield ? A photo would help us a lot. And what firmware version do you have on those cameras ?
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 4:07 pm

Will send a photo in a moment.
How do I check FW version, please?
User avatar
iabdalkader
Posts: 1038
Joined: Sun May 24, 2015 3:53 pm

Re: OSError: failed to init WINC1500 module

Postby iabdalkader » Wed Jun 05, 2019 4:11 pm

Bottom right corner of the IDE when you connect.
Screenshot from 2019-06-05 22-11-44.png
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 4:28 pm

The FW is 3.4.1 - [latest]. Screenshot attached.
Photographs of one assembly are enclosed; i.e. H7+WiFi Shield
Attachments
IMG_7789.JPG
IMG_7788.JPG
IMG_7787.JPG
FWVersion.PNG
FWVersion.PNG (2.66 KiB) Viewed 16765 times
User avatar
kwagyeman
Posts: 3513
Joined: Sun May 24, 2015 2:10 pm

Re: OSError: failed to init WINC1500 module

Postby kwagyeman » Wed Jun 05, 2019 4:53 pm

Hi, are the connectors on the camera soldered on?
Nyamekye,
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 5:05 pm

Solved !!!

You are right. Thank you.
In the absence of soldering, the pins don't ensure proper/slug contact.

After soldering, now, at least one set is working (M7 + WiFi Sheild). Hopefully, the other WiFi Shield should also work and with H7 also.

Now... there is a new problem.
The Serial Terminal output remains at:
>>> Trying to connect... (may take a while)...
Running in Station mode...

Tried with:
"connect_1.py", "tcp_client_1.py" and dns_1.py

What can be the reason?
User avatar
iabdalkader
Posts: 1038
Joined: Sun May 24, 2015 3:53 pm

Re: OSError: failed to init WINC1500 module

Postby iabdalkader » Wed Jun 05, 2019 5:07 pm

Please note when you solder the headers they should look like this:
web-new-cam-v3-angle_grande.jpg
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 5:09 pm

Ya..
Done.
Thank you.
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 5:16 pm

Now... there is a new problem.
The Serial Terminal output remains at:
>>> Trying to connect... (may take a while)...
Running in Station mode...

Tried with:
"connect_1.py", "tcp_client_1.py" and "dns_1.py"

What can be the reason?
User avatar
iabdalkader
Posts: 1038
Joined: Sun May 24, 2015 3:53 pm

Re: OSError: failed to init WINC1500 module

Postby iabdalkader » Wed Jun 05, 2019 5:27 pm

Raj wrote:
Wed Jun 05, 2019 5:16 pm
Now... there is a new problem.
The Serial Terminal output remains at:
>>> Trying to connect... (may take a while)...
Running in Station mode...

Tried with:
"connect_1.py", "tcp_client_1.py" and "dns_1.py"

What can be the reason?
What is the problem ? It seems running normal. Did you set the SSID and KEY ? Do you have a mac filter or something like that blocking the camera ?
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 5:50 pm

Yes. It is connecting to my Router. Please see enclosed image. No problem there.

Then, tried the following:
"connect_1.py", "tcp_client_1.py" and "dns_1.py"

But, the output of print(wlan.ifconfig()) is not showing up in the Serial terminal. It just displays the following and stays there:
>>> Trying to connect... (may take a while)...
Running in Station mode...

Never shows anything beyond that.

All the three scripts have "print(wlan.ifconfig())" - nothing shows up.
dns_1.py has "print(usocket.getaddrinfo("www.google.com", 80)[0][4])" - nothing shows up.
tcp_client_1.py has "print(client.recv(1024))" - nothing shows up.

Am I missing anything, please?
Attachments
Connected.png
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 6:02 pm

All the three scripts have the following 2 lines:

wlan = network.WINC()
wlan.connect(SSID, key=KEY, security=wlan.WPA_PSK)

When run, the above lines executes fine.
And that's it. Print statements that are there in the remaining portion of the code don't show up in the Termina of IDE
User avatar
iabdalkader
Posts: 1038
Joined: Sun May 24, 2015 3:53 pm

Re: OSError: failed to init WINC1500 module

Postby iabdalkader » Wed Jun 05, 2019 6:09 pm

Do you wait long enough for it to connect, get ip etc.. and print ?
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 7:30 pm

Yes.
I wait for more than sufficient time... almost 10 minutes.
User avatar
Raj
Posts: 21
Joined: Wed Jun 05, 2019 2:14 am

Re: OSError: failed to init WINC1500 module

Postby Raj » Wed Jun 05, 2019 7:43 pm

Working !!
Again, my fault.
Soldering was not good on some PINs, perhaps.
After re-soldering all PINs, it's working.

I am extremely sorry for the inconvenience caused.
Thanks for the patience and immediate responses.
watsson
Posts: 1
Joined: Sat Jun 15, 2019 1:26 am

Re: OSError: failed to init WINC1500 module

Postby watsson » Sat Jun 15, 2019 1:44 am

I have also faced the same problem with my laptop. Every time I shut down my system, an update starts and the same thing happens during the time of starting up. I have searched a lot on the Internet for its fix, and finally, epson printer error code 0xf3 helped me a lot to solve the error.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests