Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeMCU v2 Amica #7

Closed
capedra opened this issue Jan 14, 2017 · 10 comments
Closed

NodeMCU v2 Amica #7

capedra opened this issue Jan 14, 2017 · 10 comments

Comments

@capedra
Copy link

capedra commented Jan 14, 2017

Hello Martin, I don't know why but this project is not working at this board (https://www.seeedstudio.com/NodeMCU-v2-Lua-based-ESP8266-development-kit-p-2415.html). The LED from the ESP-12 keeps blinking all the time and I can't even debug it because the serial monitor stays busy all the time. Also, the AP MyAP does never show up.

@capedra
Copy link
Author

capedra commented Jan 14, 2017

Ok, here it is the output, which shows that it keeps rebooting all the time:

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 29232, room 16
tail 0
chksum 0xd1
load 0x3ffe8000, len 1964, room 8
tail 4
chksum 0xe9
load 0x3ffe87b0, len 3256, room 4
tail 4
chksum 0xeb
csum 0xeb
rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 29232, room 16
tail 0
chksum 0xd1
load 0x3ffe8000, len 1964, room 8
tail 4
chksum 0xe9
load 0x3ffe87b0, len 3256, room 4
tail 4
chksum 0xeb
csum 0xeb
rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 29232, room 16
tail 0
chksum 0xd1
load 0x3ffe8000, len 1964, room 8
tail 4
chksum 0xe9
load 0x3ffe87b0, len 3256, room 4
tail 4
chksum 0xeb
csum 0xeb
rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 29232, room 16
tail 0
chksum 0xd1
load 0x3ffe8000, len 1964, room 8
tail 4
chksum 0xe9
load 0x3ffe87b0, len 3256, room 4
tail 4
chksum 0xeb
csum 0xeb
rf_cal[0] !=0x05,is 0xFF

@capedra
Copy link
Author

capedra commented Jan 14, 2017

The exact same problem happens to the Wemos D1 Mini. On both NodeMCUs I tried flashing from your firmware, because I don't know how to build from scratch. Maybe if you could explain how to build the binaries step by step on Youtube using Windows/Linux, it would be really helpful. Thanks a lot! I hope I've been helping you a lot lately.

@martin-ger
Copy link
Owner

martin-ger commented Jan 14, 2017

Obviously, your board is rebooting all the time without really starting the repeater firmware at all. According to http://www.esp8266.com/viewtopic.php?p=2096#p2112 "rst cause:2" means reset pin is pulled. Are you pressing the button?

Just tested it: for me the lastest firmware downloads, boots, and works fine on a Wemos D1 Mini. Don't have a NodeMCU at hand, but it should be fairly compatible to the Wemos.

The download procedure for a Wemos D1 or a NodeMCU on Linux is just the following:

  1. Make sure you have the esptool.py on your PATH
  2. Stop any serial terminal program that might use the serial port
  3. connect the Wemos via USB to the Computer
  4. "cd" to the directory where you have the firmware binaries
  5. sudo esptool.py --port /dev/ttyUSB0 write_flash -fs 32m -ff 80m 0x00000 0x00000.bin 0x10000 0x10000.bin
    (no button or any electical signal on any GPIO port required)
  6. Wemos starts directly after the download has finished - just to be sure, press reset once
  7. connect to the serial port via a terminal program. I use "minicom -D /dev/ttyUSB0 -b 115200"
  8. You should see some debug output and the serial console...

@capedra
Copy link
Author

capedra commented Jan 14, 2017 via email

@capedra
Copy link
Author

capedra commented Jan 14, 2017

I meant that I don't know how to build the binaries from the ESP SDK and your other library. So sorry because I was so tired that I forgot to include the params "-fs 32m -ff 80m" to esptool. Will test again as soon as possible with Amica. Thanks!

@martin-ger
Copy link
Owner

This is my Wemos : http://www.ebay.de/itm/272271662681 I guess it is compatible to V2.
I connect nothing but USB for downloading and testing. USB provides power supply and serial link.

@capedra
Copy link
Author

capedra commented Jan 15, 2017

Okay, thank you very much. It's working on NodeMCU v2 Amica with the command that you sent to me:

esptool.py --port /dev/ttyUSB0 write_flash -fs 32m -ff 80m 0x00000 0x00000.bin 0x10000 0x10000.bin

Best Regards!

@capedra
Copy link
Author

capedra commented Jan 15, 2017

I'm sending this message right now with the help from your outstanding project, which is working with a NodeMCU Amica v2 which is connected to an ESP-01, which is connected to a Linksys Repeater, which is connected to a Linksys Main AP, which is connected to a D-Link Modem, which is connected to the WWW, which has its own creator Sir Tim Berners-Lee.

@martin-ger
Copy link
Owner

That sounds great - obviously, it works... :-)

@yashp96
Copy link

yashp96 commented Aug 13, 2018

Original
Please help me out. I have two node mcu and 3 ESP01. I was able to upload and run the firmware successfully in one of the nodemcu but the other one shows error when connected to COM(B_Rate74880) port shows chksum errors and garbage if Baudrate is 115200. Also the firmware fails to upload on all 3 ESP-01. I am posting the screenshot for NodeMCU.
esperror
.
.
.
Update 1
I was able to run the firmware successfully on 2nd NodeMCU...I tried flashing the firmware multiple times and it suddenly worked. I still don't understand the problem. Please explain me, please.
ndoemcusuccessfail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants