mongoose-os icon indicating copy to clipboard operation
mongoose-os copied to clipboard

Sparkfun ESP32 Thing & Adafruit Feather Huzzah not supported

Open sh4nnongoh opened this issue 8 years ago • 13 comments

Unable to connect to the wifi during the setup wizard. Are these boards supported?

sh4nnongoh avatar Feb 17 '17 07:02 sh4nnongoh

Ok it is supported, got it working using the cmdline. Note that the UI Wifi setup does not work. Thanks.

sh4nnongoh avatar Feb 23 '17 01:02 sh4nnongoh

Are you using windows?

cpq avatar Feb 23 '17 01:02 cpq

Hi reopening this.

Yes I am using windows.

The Mos UI flashing process fails when performing it in the Web UI.

The commandline works for Adafruit Feather Huzzah but fails for Sparkfun ESP32 Thing.

image

sh4nnongoh avatar Sep 22 '17 06:09 sh4nnongoh

Could you confirm that with the latest mos build please?

mos update latest

cpq avatar Sep 25 '17 10:09 cpq

Hi, refer to the images below. I am using mos build 20170922-103145/master@e973ef66+ on Windows.

SparkFun ESP32 Flash Fail through UI

sparkfun-esp32-flash-fail

SparkFun ESP32 Flash Fail through CLI

sparkfun-esp32-flash-fail-2

Adafruit Huzzah Flash Fail through UI

adafruit-esp8266-flash-fail

Adafrauit Huzzah Flash Pass through CLI (After multiple attempts)

adafruit-esp8266-flash-success

sh4nnongoh avatar Sep 29 '17 06:09 sh4nnongoh

Any update to this? Can we load mongoose on an ESP32 Thing?

dgdosen avatar Feb 06 '18 18:02 dgdosen

A multiple relevant updates to the mos tool has been made since - please try and report back.

cpq avatar Feb 07 '18 10:02 cpq

@dgdosen - i have been able to load mongoose os firmware on an ESP32 thing without issue. i'm using the ESP32 to drive an AWS IoT-enabled gong, much to the delight of my coworkers.

@cpq - i just now updated mos and while mos flash works with the ESP8266-based Feather Huzzah I am unable to use the mos wifi command successfully:

Using port /dev/cu.SLAB_USBtoUART
Getting configuration...
Error: write /dev/cu.SLAB_USBtoUART: file already closed

the output of mos --version:

The Mongoose OS command line tool
Version: 1.26
Build ID: 20180208-184624/1.26@ab7f50e1+
Update channel: release

this is all on mac. if you'd like any more information please let me know. :+1:

mike-rogers avatar Feb 11 '18 02:02 mike-rogers

@mike-rogers is that intermittent or happens all the time? what mos console say?

cpq avatar Feb 13 '18 12:02 cpq

~It was consistent, but in trying to get you mos console output I may have fried my only ESP8266. ☹️~ i was using a broken USB cable.

the output of mos console is:

$ mos console
Using port /dev/cu.SLAB_USBtoUART

... and then nothing until i trigger some event on the board. mos wifi $SID $PASSWORD still errors out with:

$ mos wifi $SID $PASSWORD
Using port /dev/cu.SLAB_USBtoUART
Getting configuration...
Error: write /dev/cu.SLAB_USBtoUART: file already closed

mike-rogers avatar Feb 13 '18 14:02 mike-rogers

@cpq I am getting a similar error. I am trying to use mos to flash esp32. And I have successfully used both command line and webUI with ESP32 successfully for the past several months. But now i experience an error where when I open the webUI, and select the connection, the flashed code does not load. The webUI gets frozen and I have to close it. I can see the output of my code on mos console. But not the webUI. Also, I noticed that when I load an older code - which used to work, the web UI starts working. But my current code does not. Is there an issue with using for loop in JS?

rohit2787 avatar Jul 27 '18 00:07 rohit2787

A coworker handed me a Feather HUZZAH32 out of the blue and I was unable to use mos wifi through either the command line nor the mos UI - imagine my surprise to see my own face after googling for a few minutes! Needless to say this is still broken - but mos console and mos flash still work both through the command line and the mos UI.

Using port /dev/cu.SLAB_USBtoUART
Getting configuration...
Error: write /dev/cu.SLAB_USBtoUART: file already closed
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/common/go/mgrpc/codec/serial.go:187: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/common/go/mgrpc/codec/serial.go:246: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/common/go/mgrpc/codec/stream.go:315: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/common/go/mgrpc/mgrpc.go:383: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/mos/dev/dev_conn_impl.go:152: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/mos/dev/dev_conn_impl.go:175: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/mos/dev/dev_conn.go:101: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/mos/config/config.go:70: 
/private/tmp/mos-20190426-57195-kki69o/mos-tool-2034cc00c37fee33b300b1c5869b8eeff328fdfa/src/cesanta.com/mos/main.go:178: wifi failed

mike-rogers avatar Apr 29 '19 17:04 mike-rogers

I was able to get mos wifi to work by making my mos.yml look like this example, with special attention to the libs section.

mike-rogers avatar Apr 29 '19 18:04 mike-rogers