Code Monkey home page Code Monkey logo

Comments (18)

gorhgorh avatar gorhgorh commented on May 5, 2024

same problem here ...

from nodemcu-devkit.

abl avatar abl commented on May 5, 2024

I tried to investigate this: espressif/esptool#26 - if you don't mind testing 77400 baud, do you see the same values for boot mode? Works OK with an external UART.

However, looking at #5 - that might be the source of the problem.

from nodemcu-devkit.

rei-vilo avatar rei-vilo commented on May 5, 2024

On Mac OS X, once the driver CH341SER_MAC_ZIP is installed, has you launched on Terminal sudo nvram boot-args="kext-dev-mode=1"?

from nodemcu-devkit.

abl avatar abl commented on May 5, 2024

Without that argument the kext won't install; with the kext not installed, you won't see a port. Since AT commands work, well, it's not the unsigned kext.

I'm also seeing the exact same problem with a different (signed) driver; AT commands (and other UART work after boot) works fine, flashing doesn't.

from nodemcu-devkit.

caquino avatar caquino commented on May 5, 2024

same problem here with Repleo Drivers.

from nodemcu-devkit.

magalage avatar magalage commented on May 5, 2024

Hi I got v0.9 and plugged in to my mac but get cant auto detect firmware because mcu didn't send a proper reply. AT commands gets timed out obviously. Port is open with 9600. Pls help.

from nodemcu-devkit.

rei-vilo avatar rei-vilo commented on May 5, 2024

The default tool esptool doesn't work but pyesptool works fine. Give it a try.

from nodemcu-devkit.

AddoSolutions avatar AddoSolutions commented on May 5, 2024

@rei-vilo Where are you getting this pyesptool?

from nodemcu-devkit.

rei-vilo avatar rei-vilo commented on May 5, 2024

@AddoSolutions Check https://github.com/themadinventor/esptool and http://embeddedcomputing.weebly.com/nodemcu-board.html for more pointers.

from nodemcu-devkit.

magalage avatar magalage commented on May 5, 2024

rei-vilo - thanks for the reply. I really couldn't figure out the pyesptool and got it flashed using my Ubuntu machine. Thanks now I can see you have given the link to pyesptool. What I think it's the USB to serial driver issue in OSX. In Ubuntu esprool.py works like a charm. Just plug the devkit and execute the esptool.py command.

from nodemcu-devkit.

rei-vilo avatar rei-vilo commented on May 5, 2024

You're welcome!

Actually, esptools.py works very well on Mac OS X, provided libusb —and the CH340 serial to USB driver for the NodeMCU board— have been installed.

What doesn't work with the NodeMCU board is esptools.

from nodemcu-devkit.

abl avatar abl commented on May 5, 2024

esptools.py was patched to support this board since this issue was opened so that might be part of it.

from nodemcu-devkit.

squix78 avatar squix78 commented on May 5, 2024

Funny, for me the latest version of esptool.py still doesn't work on Mac. I can see the Repleo-Port, so this is not the problem. Which version of the Nodemcu board do you use? I have a V0.9. rei-vilo and abl: can you describe your setup?

from nodemcu-devkit.

rei-vilo avatar rei-vilo commented on May 5, 2024

Here are the details:

Also, make sure power can deliver up to 350 mA. Flashing and reboot seem to require a lot of power.

from nodemcu-devkit.

LucasG2000 avatar LucasG2000 commented on May 5, 2024

@squix78 Take a look at this espressif/esptool#36 (comment) , I just commented a workaround which is working under OS X, using a CH341 with Repleo driver, maybe it works for you too.

from nodemcu-devkit.

tomasinouk avatar tomasinouk commented on May 5, 2024

esptool rendered nodeMCU unhappy flashed the FW ok, but after reset ESPlorer could not connect to the board.

followed @LucasG2000 post only with slight change (I pressed Flash button only). After that press Reset button and ESPlorer is good to go.

running OSX 10.10.3

from nodemcu-devkit.

AddoSolutions avatar AddoSolutions commented on May 5, 2024

Turns out my problem was with the mac driver, after updating it it looks like it works like a charm now! Thanks :)

from nodemcu-devkit.

sombriks avatar sombriks commented on May 5, 2024

i can confirm too that updating mac driver can help there:
http://www.mblock.cc/posts/run-makeblock-ch340-ch341-on-mac-os-sierra

from nodemcu-devkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.