• Could use some help on this device. I can flash this fine with a 512m image, but with a few errors writing from the IDE at Espruino boot: Flash map exception, manuf 0xef chip 0x4018

    and

    save(): >save()
    =undefined
    Erasing Flash.....
    Writing.................
    ERROR: Too big to save to flash (14448 vs 12284 bytes)
    Deleting command history and trying again...
    Erasing Flash.....
    Writing..........
    Compressed 27200 bytes to 7482
    Checking...
    

    Specs for the device claim 16M bytes(128M bit) Flash...but I am not sure how to take advantage of that with esptool.py and the fragmented binary image files.

    0xffc000 should be the place where init data is stored in 16MB map.

    ./esptool.py --chip esp8266 --port /dev/ttyUSB0 write_flash -ff 20m -fm dio -fs detect 0x0000 espruino_1v95_esp8266/boot_v1.6.bin 0x1000 espruino_1v95_esp8266/espruino_esp8266_u­ser1.bin 0xffc000 espruino_1v95_esp8266/esp_init_data_defa­ult.bin
    

    causes the device to just spew gibberish out of the serial console.

    Flashing the combined 4MB image espruino_1v95_esp8266_4mb_combined_4096.­bin does not work. Only espruino_1v95_esp8266_combined_512.bin does, but this doesn't allow the amount of code I'm developing as per above.

About

Avatar for user85573 @user85573 started