Also whenever I try to write to the flash memory it will crash. Either by typing save() or by using E.setBootCode(). My only theory is that either the flash memory is damaged or that it was somehow corrupted and the Puck firmware cannot deal with that.
Note that except for those things it works fine. I also tried to replace the firmware with a new version, but that did not help. I am using the newest firmware. The self test is also okay, but I guess that really only checks for shorts between the exposed pins. Any idea how to check if the flash is damaged? If that's the case any idea how to fix / workaround that. Maybe by not using damaged pages?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon,
one of my Pucks has started acting weird: Suddenly when saving code it crashed. Since then after typing reset() it will output the following:
Also whenever I try to write to the flash memory it will crash. Either by typing save() or by using E.setBootCode(). My only theory is that either the flash memory is damaged or that it was somehow corrupted and the Puck firmware cannot deal with that.
Note that except for those things it works fine. I also tried to replace the firmware with a new version, but that did not help. I am using the newest firmware. The self test is also okay, but I guess that really only checks for shorts between the exposed pins. Any idea how to check if the flash is damaged? If that's the case any idea how to fix / workaround that. Maybe by not using damaged pages?
Thanks!