-
Wed 2019.07.17
Hi @user101874,
'I found "E.setBootCode()" somewhere'
That 'somewhere' might have been here:
'Is Reset(1) used to completely erase the flash?'
'Calling reset(true) will cause all saved code in flash memory to be cleared as well.'
http://www.espruino.com/Reference#l__global_reset'I'm new to Espruino and Java, so it is possible that I'm asking stupid questions ;)'
Okay, you did qualify your statement, and to expand that awareness . . .
Espruino runs a
Javascript
interpreter.Java
is a Sun Microsystems compiler language."Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle) and released in 1995"
Brendan Eich developed Javascript and was released with Netscape Navigator with the name
"Mocha, but renamed LiveScript in September 1995 and later JavaScript in the same month"
Ive tried debounce before, bit it didn't't help.
But !!!! Reset(1) + direct to flash and without save() did the job ;)
Is Reset(1) used to completely erase the flash?
I found "E.setBootCode()" somewhere to erase the flash