-->
Page 1 of 1

nodemcu "master" git : working???

PostPosted: Sat Dec 22, 2018 9:19 pm
by fikin
it is hard to believe but is "master" really working?

i can't establish communication via any tool, esplorer for example. pretty much serial seems dead.

i have to go to HEAD~6 in order to get it working.

basically HEAD now is : 1159295 : Fri Dec 7 : Merge pull request #2582 from nodemcu/dev
problematic commit is HEAD~5 : b41667b : Sat Sep 15 : Master drop #2486
and working for me is HEAD~6 : f99f295 : Sat Aug 18 : Revert "FAQ update for io.write clarification (#2463)"

is there some new build flag or something changed, to have this impacted?

Re: nodemcu "master" git : working???

PostPosted: Sun Dec 23, 2018 5:01 pm
by marcelstoer
It would really surprise me if we had such a general and severe issue. Hundreds of developers have been building, and using I suppose, the current master since we last snapped the dev branch onto it. On the other hand there seems to be solid evidence indicating a regression bug in your setup.

So, I just ran a brief smoke test myself using a NodeMCU v1.0 devkit (ESP-12):
  • building master with minimal modules on nodemcu-build.com
  • flashing with the NodeMCU PyFlasher and erasing flash just to be sure
  • booting with ESPlorer attached

Here's what I saw
Code: Select allFormatting file system. Please wait...

NodeMCU custom build by frightanic.com
   branch: master
   commit: 11592951b90707cdcb6d751876170bf4da82850d
   SSL: false
   modules: bit,cron,file,gpio,net,node,tmr,uart,wifi
 build created on 2018-12-23 21:22
 powered by Lua 5.1.4 on SDK 2.2.1(6ab97e9)
lua: cannot open init.lua
>


I also tested the WiFi connection and it all looks good.

Then I did the exact same thing on a WeMOS D1 mini Pro I had recently been using for Arduino applications. There the boot sequence is stuck at formatting the file system. It's late and I don't know yet what to make of this.
Update
I repeated the process and now things are peachy on that module as well.

Re: nodemcu "master" git : working???

PostPosted: Mon Dec 24, 2018 9:31 am
by fikin
fair enough.

and merry xmas ;)

lets try to entertain a bit more this topic.

if i build a binary with default settings, using your hosted build service:
- i'm using nodemcu amica module, few years old now
- flashing with esptool.py goes absolutely fine:
esptool.py -p /dev/ttyUSB0 -b 460800 write_flash 0x00000 "$@"
(erasing flash before makes no difference)
- trying to establish serial connection does not work

if i checkout git and build it with docker container, same steps otherwise, gets me same (no) result.

but if i git reset HEAD~6 and repeat the process, serial communication starts to work and i can use esplorer for example.

any hints where to look for?

has there been some change with nodemcu modules out there is past 2y?