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

flash process with esptool.py 4.4 fails #451

Open
gdt opened this issue May 2, 2023 · 1 comment
Open

flash process with esptool.py 4.4 fails #451

gdt opened this issue May 2, 2023 · 1 comment

Comments

@gdt
Copy link
Contributor

gdt commented May 2, 2023

With

  • v3.2 CI-built binary
  • .bin files from RTK_Firmware_Uploader/resource
  • 16MB RTK Express
  • macOS on x86
  • python 3.10 built from pkgsrc
  • esptool.py 4.4 built from pkgsrc

flashing fails (see #450 for details), apparently succeeding and resulting in the ESP32 booting and crashing rapidly.

Comparing my output:

Warning: Image file at 0x1000 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=16MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum

to @nseidle's sucessful output:

Flash params set to 0x024f

it seems like esptool.py 4.4 is objecting to RTK_Surveyor.ino.bootloader.bin and going off the rails somehow.

The version in the repo is 3.3. Upstream says v3.x should no longer be used.

I'm going to declare this issue to be about

  • making the documented flash procedure work with v4.4 and up, or
  • file bug with esptool and document that until that's fixed you need to use old esptool.
@gdt
Copy link
Contributor Author

gdt commented May 2, 2023

I will try flashing NodeMCU on a spare ESP32 with my esptool v4.4, and also try esptool v4.5.1. At this point I don't have any sense of where the bug is, but I feel it's likely to bite others.

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

1 participant