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

WeMos D1 Mini 4MB #22

Open
CPtje opened this issue Sep 9, 2024 · 6 comments
Open

WeMos D1 Mini 4MB #22

CPtje opened this issue Sep 9, 2024 · 6 comments

Comments

@CPtje
Copy link

CPtje commented Sep 9, 2024

Not familiar with the ESP devices, so please bear with me. Trying to program the files from the release-folder in my WeMos D1 4MB Board using ESP Tool online, but not succeeding.

Is the release suitable for a 4MB Board?

@CPtje
Copy link
Author

CPtje commented Sep 10, 2024

Some more info.
Now I tried to flash with:
esptool -p COM4 -b 460800 --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x8000 partition-table-8266.bin 0xd000 ota_data_initial-8266.bin 0x0 Faikin-8266-bootloader.bin 0x10000 Faikin-8266.bin

Unfortunately I get following error:
esptool write_flash: error: argument

: Detected overlap at address: 0x8000 for file: partition-table-8266.bin

@CPtje
Copy link
Author

CPtje commented Sep 16, 2024

From the README: "This port technically runs on any ESP8266 board. At the moment 4MB and 8 MB flash sizes are supported. Please see Hardware folder of this repository for more info."

Has anyone been able to succesfully program and run this on a 4MB Wemos D1? If yes, can you please help?

@Sonic-Amiga
Copy link
Owner

Hello!
Depite the CSV is named "8mb"; the actual firmware image only uses 4MB, and therefore should work fine. I asked RevK, the original author, and he confirmed this. Another user successfully runs it on 4MB.

The error message is weird. Address 0x8000 is just 32668, that's 32 kilobytes.

@Sonic-Amiga
Copy link
Owner

Try --flash_size detect . That's totally weird.
I've googled a bit; seems the error could be caused by corrupt files. For example https://esp32.com/viewtopic.php?p=89078&sid=7e1631fe75049659c607811bee80cee0#p89078

Make sure you don't get something like that. partition-table-8266.bin size is 3KB.

@CPtje
Copy link
Author

CPtje commented Sep 25, 2024

Thank you for your help.
Tested a lot more and it was my fault. After using "--flash_size 8MB" it programmed and ran. I still do not understand really why.

Unfortunately I cannot get the UART0 working. Tested 2 different boards and read all in #20. I thought its better to go on there as it seems to be a place where a lot of info about this is gathered. If you want we can also go on here.

@Sonic-Amiga
Copy link
Owner

After using "--flash_size 8MB" it programmed and ran.

Hm, weird, but okay...

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