Avatar for Ronin

Ronin

Member since Aug 2021 • Last active Sep 2021
  • 1 conversations
  • 5 comments

Most recent activity

    • 14 comments
    • 606 views
  • in Bangle.js
    Avatar for Ronin

    Ok, Thanks @Gordon, I will update my firmware to 2v10.

  • in Bangle.js
    Avatar for Ronin

    Ok, Thanks @Robin!

  • in Bangle.js
    Avatar for Ronin

    Hi @Robin the error only happens when I upload my own program, but it doesn't happen every time even though the code is the same. The latest version of the program uses require("Storage") but earlier versions didn't, and I am fairly sure I saw the error as well then. Here is the current outputs (I have not reloaded any apps):

    process.memory()
    ={ free: 2044, usage: 56, total: 2100, history: 9,
      gc: 0, gctime: 3.0517578125, blocksize: 16, stackEndAddress: 536922336, flash_start: 0,
      flash_binary_end: 457148, flash_code_start: 1610612736, flash_length: 524288 }
    >require("Storage").getFree()
    =4194304
    

    I have uploaded my program and did not encounter the failure. Each time I upload my program I will run these commands first to capture this information in case it happens again.

  • in Bangle.js
    Avatar for Ronin

    Hi @Robin thanks for replying. Here are the results from "process.env".

    >process.env
    ={
      VERSION: "2v09",
      GIT_COMMIT: "7247a2c4",
      BOARD: "BANGLEJS",
      FLASH: 524288, SPIFLASH: 4194304, STORAGE: 4194304, RAM: 65536,
      SERIAL: "714c1740-b54c335f",
      CONSOLE: "Bluetooth",
      MODULES: "Flash,Storage,hea" ... "tensorflow,locale",
      EXPTR: 536882372 }
    > 
    
  • in Bangle.js
    Avatar for Ronin

    Sometimes when I upload code to my Bangle.js in the web ide in it gives this error in the terminal:

    Storage is corrupt.
    Erasing Storage Area...
    Erase complete.
    

    When it displays that message it starts erasing all my apps including the clock and app launcher.
    I am able to reinstall my apps afterword with the app loader, but it takes a while for me to upload the apps and organize them.
    Why is this happening?

Actions