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
ESP8266EX with 16MB
-
- Posts: 60
- Joined: Sun Jun 23, 2019 4:55 am
- Location: Gateshead, Tyne and Wear
Re: ESP8266EX with 16MB
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):
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.
If you are still having issues, try dropping the baud rate to 115200, or see if using a different USB cable works.
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
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
-
- Posts: 60
- Joined: Sun Jun 23, 2019 4:55 am
- Location: Gateshead, Tyne and Wear
Re: ESP8266EX with 16MB
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
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