Page 1 of 1

OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 3:20 pm
by Raj
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.

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 3:48 pm
by iabdalkader
How do you connect the shield ? A photo would help us a lot. And what firmware version do you have on those cameras ?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 4:07 pm
by Raj
Will send a photo in a moment.
How do I check FW version, please?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 4:11 pm
by iabdalkader
Bottom right corner of the IDE when you connect.
Screenshot from 2019-06-05 22-11-44.png

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 4:28 pm
by Raj
The FW is 3.4.1 - [latest]. Screenshot attached.
Photographs of one assembly are enclosed; i.e. H7+WiFi Shield

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 4:53 pm
by kwagyeman
Hi, are the connectors on the camera soldered on?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:05 pm
by Raj
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?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:07 pm
by iabdalkader
Please note when you solder the headers they should look like this:
web-new-cam-v3-angle_grande.jpg

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:09 pm
by Raj
Ya..
Done.
Thank you.

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:16 pm
by Raj
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?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:27 pm
by iabdalkader
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 ?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 5:50 pm
by Raj
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?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 6:02 pm
by Raj
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

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 6:09 pm
by iabdalkader
Do you wait long enough for it to connect, get ip etc.. and print ?

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 7:30 pm
by Raj
Yes.
I wait for more than sufficient time... almost 10 minutes.

Re: OSError: failed to init WINC1500 module

Posted: Wed Jun 05, 2019 7:43 pm
by Raj
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.

Re: OSError: failed to init WINC1500 module

Posted: Sat Jun 15, 2019 1:44 am
by watsson
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.