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

Flashing binary not same result as with esptool.py #48

Open
phinxy opened this issue Feb 20, 2017 · 2 comments
Open

Flashing binary not same result as with esptool.py #48

phinxy opened this issue Feb 20, 2017 · 2 comments

Comments

@phinxy
Copy link

phinxy commented Feb 20, 2017

Cant flash micropython with esptool-ck, only works with esptool.py

Download micropython binary, any version.
erase flash, then flash with
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266.bin
the micropython will display a terminal prompt on the serial port and there will be a new wifi AP.

now erase flash and flash again, but with esptool-ck
esptool -cb 460800 -bz 32M -cd nodemcu -cf esp8266.bin
issue is, there's no functionality. no terminal prompt and no AP. the UART led blinks blue repeatedly.

I have tried on nodemcu board and on a personal circuit.
I have tried all four -bm options
I have tried 40 and 80 mhz flash speed.
out of ideas.. saw someone else had similar issue further down on issue page.

@phinxy
Copy link
Author

phinxy commented Feb 22, 2017

Maybe it is an issue with the firmware-combined.bin that esptool-ck cant handle.
Did some testing but did not get any working REPL prompt.
It does not help to use the micropython firmware.elf and then link yourself.
It does not help to use the pre-linked 0x0 and 0x09000.bin and flash them.

@devbis
Copy link

devbis commented May 10, 2018

I have the same issue with esptool-ck, but I can't use esptool.py from mac os x, because of timeouts while flashing. So the only usable way for me is flashing from a virtual machine with linux, using esptool.py

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

2 participants