ESP8266EX with 16MB

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
DJShadow1966
Posts: 60
Joined: Sun Jun 23, 2019 4:55 am
Location: Gateshead, Tyne and Wear

ESP8266EX with 16MB

Post by DJShadow1966 » Tue Oct 08, 2019 11:57 am

Hello

Is there any news on getting micropython running on a 8266 with 16MB memory, I have look through the posts on this but still my device keeps resetting.

Mike

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: ESP8266EX with 16MB

Post by mcauser » Wed Oct 09, 2019 1:28 am

Yeah, it's been working for a while now.
See: https://github.com/micropython/micropython/issues/2335

You need to write esp_init_data_default.bin at offset 0xffc000, then write your firmware at offset 0x00000.

This is how I got it working on my Wemos D1 Mini Pro (the older blue one):

Code: Select all

esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 --after no_reset erase_flash
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 write_flash 0xffc000 esp_init_data_default.bin
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 write_flash -fm dio -fs 16MB 0x00000 esp8266-20190529-v1.11.bin
esp8266-20190529-v1.11.bin can be found at: http://micropython.org/download
esp_init_data_default.bin can be found at: https://github.com/espressif/ESP8266_AT ... efault.bin

Or if you are building the firmware, include the esp_init_data_default.bin in the write_flash command, assuming you have already downloaded a copy and put in your /ports/esp8266 dir.

Code: Select all

cd ports/esp8266
make clean
make axtls
make
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 erase_flash
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 write_flash -fm dio -fs 16MB 0 build/firmware-combined.bin 0xffc000 esp_init_data_default.bin
If you are still having issues, try dropping the baud rate to 115200, or see if using a different USB cable works.

DJShadow1966
Posts: 60
Joined: Sun Jun 23, 2019 4:55 am
Location: Gateshead, Tyne and Wear

Re: ESP8266EX with 16MB

Post by DJShadow1966 » Wed Oct 09, 2019 8:28 am

Hello

Thanks for the info pretty much what I found when doing a little more probing sold faulty goods, after getting the camera out (macro) and looking at the chips looks like a fake chip, managed to get a script loading via Arduino the chip is actually a 4MB chip and not a 16MB chip.

Mike

Post Reply