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

Support for NodeMCU-devkit 0.9 on Mac? #26

Closed
abl opened this issue Apr 12, 2015 · 4 comments
Closed

Support for NodeMCU-devkit 0.9 on Mac? #26

abl opened this issue Apr 12, 2015 · 4 comments

Comments

@abl
Copy link

abl commented Apr 12, 2015

Hi! I've got a couple of NodeMCU Devkits of the 0.9 rev (so the CH340G bridge) and I'm using the signed driver from mac-usb-serial.com. Out of the box, esptool isn't working.

These changes seem useful:

self._port.setRTS(True)
self._port.setDTR(False)
time.sleep(0.1)
self._port.setRTS(False)
self._port.setDTR(True)
time.sleep(0.1)

Doing this causes the ESP to boot in to mode (1,6) - user firmware boot identifies itself as (3,6).

The boot header is ets Jan 8 2013,rst cause:2, boot mode:(3,6) so it's a somewhat older firmware. I can't find any docs on what the second number means, but all of my working devices show a 7...

Any thoughts? :)

@abl
Copy link
Author

abl commented Apr 12, 2015

Relying on USB for power, and connecting a different serial device, I boot in to (1,7) and was able to reflash without any issues. Even more mystified now...

@MacDada
Copy link

MacDada commented Apr 17, 2015

  • I've had AT commands working, but it stopped when I did AT+CIUPDATE.
  • I can't get any CH340G driver to work on Yosemite.
  • I installed ubuntu with vagrant+virtualbox to make sure there are no OSX–specific software problems.
  • I power NodeMcu from Mac using built in USB.
  • I "talk" with NodeMcu through Arduino Mega serial with its Atmega chip shut down – it speaks "garbage" (because of AT+CIUPDATE).
  • Flashing with esptool doesn't work.
  • I've tried flashing with and without the voltage divider.

I show my setup plus what works and what doesn't here (sorry for my bad english :P): https://www.youtube.com/watch?v=AibvuZ4YB7Y

@abl How exctly did you make it work?

@abl
Copy link
Author

abl commented Apr 24, 2015

@MacDada I connected a 3.3V FTDI USB->UART to the RX/TX lines and held down the flash button as I connected the onboard USB for power.

@projectgus
Copy link
Contributor

I'm going to close this as I think it should be fixed as of #30. Please reopen if the nodemcu 0.9 still doesn't seem to work.

Jason2866 referenced this issue in Jason2866/esptool Nov 29, 2023
Updates from upstream master
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