-->
Page 1 of 1

NodeMcu unable to load any code

PostPosted: Sat Dec 02, 2017 9:12 am
by chinmya
My nodemcu is stopped working properly. i don't know weather this is a hardware problem or something else.
I am able to flash the frimware (nodemcu and espeasy) but i am unable to load any code into it.
errors are as following
1.while using arduino ide-
when press upload sketch then i got
failed sending 1070 bytes
failed sending 1040 bytes
.
.
espcomm_send_command: didn't receive command response
espcomm_send_command: (Flash_download_data) failed
espcomm_send_command: wrong direction /command: 0x01 0x03,expected 0x01 0x04
espcomm_upload_mem_ failed.

after these errors nodemcu stops doing everything (previously it was showing as wifiap)

2. I tried Esplorer lua programming
but after loading any code the board gets unresponsive and shows:
can't auto detect frimware
waiting answers from esp- timed out


When i flash it with nodemcu flasher it starts and also accepts serial communication but after uploading anything into it, it behaves like fainted away.

Re: NodeMcu unable to load any code

PostPosted: Mon Dec 18, 2017 9:31 am
by marcelstoer
I'm not sure what's going on to be honest. Are you using the latest NodeMCU firmware (maybe a build from nodemcu-build.com)? Are you connected with 115'200 baud? "can't auto detect firmware" from ESPlorer doesn't mean much, you can safely ignore that.