-->
Page 1 of 1

cant go back to nodemacu Lua after usind SDK

PostPosted: Mon Oct 26, 2015 8:40 am
by Luciano Jose
Hi, I am new on ESP8266, so I start up with nodemdu firmaware since it works fine, I intented to go further and try SDK to see if I was able to compile in C and get the bin files, I am electronic with medium knowlegde of programming.
I flashed 0x0000.bin and 0x40000.bin at the same mem address its name is - from the example esp8266_tpm2net-master.
After lost of time and frustration, I wanted to jump back to nodemcu firmware, it flashes (try python app in linux, and nodemcu in win7), but the old "bins" seems to remain. weird things (to me):
1- The AP created with the old bins (ESP_A0...), stay there after flashing nodemcu.
2- when see serial data from ESP after rebooting (led flash few times- semms to be ok), I cant see anything from ESPlorer serial windows, tried all the boudreates avalaible, just see garbage.

So I have 2 ESP modules useless by now. Any suggestion to go back to nodemcu firmware? Any answer will be appreciate.

Greating!

Re: cant go back to nodemacu Lua after usind SDK

PostPosted: Mon Oct 26, 2015 5:26 pm
by tomte76
I also run in situations with weird behaviour of my modules. e.g. keeping old settings or a mix-up of old and new settings. Mostly after messing around with the CFG-loader stuff from the SDK :D I solved the problem by flashing a blank.bin with the size of the whole flash memory to 0x00000. Depending on your type of module this could be blank512k.bin for e.g. an ESP-01. If you have modules with larger flash you have to flash to different start addresses. You can e.g. find a blank512k.bin at this URL from nodemcu.

https://github.com/nodemcu/nodemcu-firm ... nk512k.bin

Re: cant go back to nodemacu Lua after usind SDK

PostPosted: Sat Oct 31, 2015 1:04 am
by flagtrax
Luciano Jose wrote:Hi, I am new on ESP8266, so I start up with nodemdu firmaware since it works fine, I intented to go further and try SDK to see if I was able to compile in C and get the bin files, I am electronic with medium knowlegde of programming.
I flashed 0x0000.bin and 0x40000.bin at the same mem address its name is - from the example esp8266_tpm2net-master.
After lost of time and frustration, I wanted to jump back to nodemcu firmware, it flashes (try python app in linux, and nodemcu in win7), but the old "bins" seems to remain. weird things (to me):
1- The AP created with the old bins (ESP_A0...), stay there after flashing nodemcu.
2- when see serial data from ESP after rebooting (led flash few times- semms to be ok), I cant see anything from ESPlorer serial windows, tried all the boudreates avalaible, just see garbage.

So I have 2 ESP modules useless by now. Any suggestion to go back to nodemcu firmware? Any answer will be appreciate.

Greating!


Hi, Esplorer may be able to help you. There is a button on the right side of the UI that says "format". This wipes all the memory clean, for a clean startup. Then try reloading your Nodemcu with its flash program. Hope that helps.