My unit cannot initialize its wifi

Found a hardware issue we should fix, or got a feature request? Post it here.
Post Reply
MichiganMat
Posts: 9
Joined: Fri Nov 04, 2016 12:12 am
Location: San Jose, CA

My unit cannot initialize its wifi

Post by MichiganMat »

Im running the MacOS 1.12.1 RaceCapture app to connect to my RaceCapture Track (Rev E) unit which is connecting over USB without issue. However, any configuration which includes the WiFi unit turned on results in errors. I continue to see in my logs, over and over again:

Code: Select all

[ESP8266 Driver] Checking WiFi Device...
[ESP8266 Driver] Initializing Wifi
[at] Command timed out
[esp8266] Init failed with msg: Soft reset failed.
[ESP8266 Driver] Too many failures.  Resetting...
[ESP8266 Driver] Initialization failed

I've first experienced the bug with 2.12, then updated to 2.13 and still see the issue.
I've also tried brentp's version of 2.13 listed here: viewtopic.php?t=5777
My log is attached from a recent boot of the RaceCapture_Track_2.13.0-1-g9dd3a25 firmware.

I can see in the code in esp8266.c that Im hitting the 5sec timeout when sending the AT+RST command.
My board is a RaceCapture Track, Rev E unit.

I've also confirmed on the board that the ESP8266 module is getting ground and 3.3v, and that the unit has no water damage or smokey smell. Im beginning to wonder if I don't have a bad module and may consider ordering a new on and soldering onto the board myself if we can't find an issue in the software.


There are two more issues I can reliably reproduce:

1.) The MacOS app, when updating the firmware has an error: 'NoneType' object has no attribute 'close'. I've seen this mentioned elsewhere in the forums. This happens at the end of every firmware flash. I did try switching over to the Windows app to flash firmware, but that gave me a different error: "Failed to load firmware. Unable to locate bootloader." Im not sure if these are related issues or not. My hardware doesn't reset on its own after a flash, I have to power-cycle it.

2.) It appears that Im unable to flash older versions of the firmware to the device. No matter what I flash with the MacOS app I still see RaceCapture Track / 2.13.0 in the upper righthand corner when the configuration is read. I've tried 2.10, 2.12, etc.

Please let me know what information I can provide, Id love to help get these issue resolved.
Attachments
race-capture-wifi-fail.txt
(1.36 KiB) Downloaded 299 times

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi, thanks for posting. Good diagnosis; it seems that the WiFi module is not responding, even with the latest 2.12.0 released firmware.

Ping us at sales@autosportlabs.com and we can help further. We'll get you sorted out.

MichiganMat
Posts: 9
Joined: Fri Nov 04, 2016 12:12 am
Location: San Jose, CA

Post by MichiganMat »

I hate posts that appear in searches that never get a resolution, so I have good news: I was able to fix my module, the wifi chip on the board had gone bad.

I was able to buy a new wifi module from amazon for ~$10. The installation was a bit tricky, needed a soldering heat gun, a small scale soldering iron, and a microscope (because Im blind, heh), but I was able to install the module in around 45 minutes.

Crossed my fingers, booted it up, and everything works great.

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Good job fixing it! Enjoy your RaceCapture system!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply