board ran for months, codes in flash disappeared

Posted on
  • The board ran for months, but someday the codes in flash disappeared, and the board died.
    How and Where I can figure out the key problem?

  • What board are you using? Is it still running Espruino, it's just that there's nothing listed by require("Storage").list() any more?

  • Same here..MDBT42Q, 2v09

    >require("Storage").list()
    =[  ]
    >require("Storage").getFree();
    =40960
    >process.memory();
    ={ free: 2458, usage: 42, total: 2500, history: 17,
      gc: 0, gctime: 3.47900390625, blocksize: 16, stackEndAddress: 536928976, flash_start: 0,
      flash_binary_end: 432868, flash_code_start: 442368, flash_length: 524288 }
    > 
    

    I can connect to the device, but I don’t want to do anything else with it until there’s a suggestion.
    The power supply was continuous and i use a good quality adapter, voltage regulator and battery. I was able to connect to the device, I didn’t have to reboot, but the flash was completely empty. I used the flash to log in, but that couldn't be much data.

  • Forum post about this here: http://forum.espruino.com/conversations/­366053/#comment16114524

    Pretty sure it's fixed now

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

board ran for months, codes in flash disappeared

Posted by Avatar for user109783 @user109783

Actions