Most recent activity
-
- 4 comments
- 1,396 views
-
I have an espruino rev 1.4b board. I flashed it with the 1v86 firmware (WIZNet version). The sample program
var on = false; setInterval(function() { on = !on; LED1.write(on); }, 500);
is working ok, but if I modify it
function onInit() { var on = false; setInterval(function() { on = !on; LED1.write(on); }, 500); }
and send it to the board and then, in the console, I type save(), the console prints "Erasing Flash.....ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ" and the espruino IDE hangs (I have to enter into a terminal and kill all chrome processes).
If I reset the board, the red and blue leds lit very dim and the board does not get enumerated in the IDE.
I have tryed many times to reset the board and inmediately push the BTN1 but it does not work. The only succesful method to recover it is enter in bootloader mode and reflashing it.
I've even tryed to type reset() and then save() in console but the result is the same: hanged IDE and board.
Am I doing something wrong? Is my board defective?
Thank you for your attention.
Best regards
It works!
Thank you very much for the fast response.