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

Using this tool to burn MicroPython firmware on ESP8266 always fails #120

Open
drbdrb opened this issue Nov 29, 2023 · 4 comments
Open

Using this tool to burn MicroPython firmware on ESP8266 always fails #120

drbdrb opened this issue Nov 29, 2023 · 4 comments

Comments

@drbdrb
Copy link

drbdrb commented Nov 29, 2023

I use https://espressif.github.io/esptool-js/ to burn MicroPython firmware, version
[v1.21.0 (2023-10-05) .bin](http://www.micropython.org/resources/firmware /ESP8266_GENERIC-20231005-v1.21.0.bin),
the programming can work normally, but the chip cannot run normally after burning. So far, I have also tried to use esptool.py to burn this firmware. Using esptool.py to burn the same firmware is It can run normally, but burning using esptool.js tool does not work. Hope the author can solve this problem?

@brianignacio5
Copy link
Collaborator

Can you provide more detail what issue are you facing with esptool-js @drbdrb ?

@drbdrb
Copy link
Author

drbdrb commented Dec 9, 2023

It's like this, I use: https://espressif.github.io/esptool-js/ The tool always fails to burn the official firmware of micropython for ESP8266, and the chip cannot function properly after burning! However, using the esptool. py tool to burn the same official firmware for micropython can still run normally.

The burning addresses are all: 0x0000, and the firmware is the same. You can download from this address: https://www.micropython.org/resources/firmware/esp8266_generic-20231005-v1.21.0.bin

I found that when using the esptool. py tool, I need to set the -- flash_ Size=detect is set to: detect, but I changed the flash in the esptool js tool_ Size='detect 'is still unsuccessful.

The chip is ESP8266EX,

Burn write baud rate: 115200,

Location: 0x0000

I recorded a video and sent it to your @brianignacio5 email. Please check and help me see what caused this error?

@drbdrb
Copy link
Author

drbdrb commented Jan 20, 2024

What did the author do recently? This project hasn't been updated for almost two months? Is there any hope of solving the problem I mentioned above?

@Jason2866
Copy link
Contributor

Jason2866 commented Jan 29, 2024

@drbdrb esptool.py flash size detect reads out the real flash size from the connected device and patches the firmware. This is not done by esptool.js This is as designed and described and not a bug.
You have to flash a firmware with the firmware size built which matches the device flash size.

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