• Hi all,
    I have a question, where I really got stuck: Since my code grows in size, I'm encountering more and more often that the serial output is stuck telling me calculating size... and does not move on any bit.
    The whole console output is as follows:

    Compacting Flash...
    Calculating Size...

    Does anyone know why it gets stuck there? My code is compacted the size of roughly 40kb. I'm compacting using the online closure compiler.
    I have 4 precompiled functions using the Espruino compilation service.
    Thanks for your reply. I'm currently using the latest travis build (lv96.35)

  • Please can you try running require('Storage').eraseAll() and then try sending again?

    It could be related to recent changes in the way code is stored (that allow you to save extra information as well as code). It shouldn't cause problems, but it's possible there is a bug in there somewhere.

    If that does fix it, and you encounter this again, would you be happy to send me a copy of the code that causes the issue (and possibly a dump of the saved code area which I can send you some code for) so I can track the issue down and fix it here?

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Writing to Espruino WiFi EEPROM does not work anymore

Posted by Avatar for llakie @llakie