Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By ChrisSparks
#53946
forlotto wrote:As far as software I had expirenced a lot of the same issues you did until I moved on from LUA to espbasic ...


I looked at the espbasic video and it seems easy to use. So the serial connections issues will go away? I have the same issues now on linux and windows 7. the ch341 driver doesn't seem to work well.
User avatar
By forlotto
#53949 Espbasic scans for the com port on startup finds it really good luck with it honestly.
I use the lolin boards personally all I can say is I fire up the flasher hit program and bingo its programmed no syncing no nothing.

As far as programming it is all done over a web interface serial coms are supported but you basically do everything on a web page for programming it is a nice concept updates after your first flash can be done OTA with the OTA server I have hosted currently. So you simply visit the settings page an press update. And would you know it your device updates.

I do not do a lot of serial com stuff to be honest but when I have it has worked just fine.

Curious what it is you intend to do but I'd be hard pressed to believe that whatever it is is not possible somehow with basic it allows for quite a bit of code and saving of code is near instant. You can run a defualt program at startup.

Just check it out maybe you'll like it maybe you wont I really dunno what your needs are.
User avatar
By wgreybe
#53959 Any assistance will be appreciated,

After struggling for a while to flax the NodeMCU v3 board, I eventually got it right by loading the Python firmware (esp8266-20160825-v1.8.3-49-ga589fa3.bin).

Everything was going fine until, I put an incorrect cap character in the settings while trying to connect the board to my WiFi network.
The code went into some kind of a loop and kept retrying over and over again.

Since I had worked out how to flash the board, I thought no problem, Ill erase the firmware and reload it. However, every time I reload the above firmware mentioned firmware, the board returns to continously being in some sort of a loop (the blue light flashes continously).
Erasing the flash again stops the blue light from flashing (so its working), but at soon as I load the above firmware again, the blue light starts flashing again and being stuck in its loop again.

I've tried erasing and flashing the firmware a number of times at different board rates, (unspecified and 9600) to no avail.

When I connect to the board (while blue light is flashing), I just see gibberish. I connect via "picocom -b 115200 /dev/ttyUSB0". Also I can connect to the board after erasing, just dont know what commands to use (AT... etc). But that doesnt help me anyway as I'd like to get the functionality of the python firmware so need to get that loaded.

Any help as to how to get the board back will be greatly appreciated.
User avatar
By forlotto
#54023 what i did to get out of those loop situations was flash it with one firmware then flash it with another firmware and then format the device erasing the files on it.

for instance I would use a frighttitanic build and the usual build and one was an integer and the other was a float based firmware . After flashing back to the other firmware the program would not run so I was able to get rid of all files don't recall if it was format or delete all files to be honest.

What you could try to do is load espbasic to it and use the format tool this should help you get rid of the loop as well I would assume.

Best of luck to you.