save() breaks my pico - I have to do a firmware flash... #4621
Replies: 1 comment
-
Posted at 2015-04-21 by user54491 Hi, same thing here Posted at 2015-04-22 by @gfwilliams What code are you sending to it before saving that causes problems? I'll update the troubleshooting page today, but the easiest way to recover is to plug in and then hold down the button (as soon after plugging in as you can). If done right, it won't enter the bootloader mode (with the LEDs pulsing) but will just go into Espruino without loading the saved code (you should then be able to type Posted at 2015-04-22 by @gfwilliams Are you doing something to do with Graphics? I've discovered a crash caused by initialising the Graphics library twice (it seems to be a recent regression). Hopefully I'll get a fix out tomorrow. However, the way to make it work for now is to make sure that there's no call to Posted at 2015-04-22 by mooniac I have the same problem with the clock tutorial. The reset on the website does seem to work but I also have to close and restart the IDE. Posted at 2015-04-23 by @gfwilliams
This'll probably be because you unplug the board while the Web IDE is still connected (you need to click disconnect first) - it's an annoying Chrome bug. It's been outstanding for a while, but hopefully they'll fix it in a release soon as someone's contributed a patch. In terms of the actual crash - I believe the latest version of Espruino (1v77) should now have that fixed. Posted at 2015-04-27 by GrahamT Hi Gordon, Posted at 2015-04-27 by @gfwilliams No problem - glad it's sorted. I'm pretty sure the whole crash when saving was this issue when instantiating Graphics twice - it was a bit of a frustrating regression which had worked its way into the firmware that comes pre-installed on the boards :( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-04-21 by GrahamT
Hi,
I think I'm going mad, but I've now got a mate to test as well.
If I save any code on the pico, I then lose connectivity from the IDE.
The website says follow the troulbleshooting guide to reset - but the reset procedure is only for the original espruino. I then have to resort to flashing the pico to doing anything further with it...
Am I missing something ? - look forward to a response.
Many thanks in advance
Graham.
Beta Was this translation helpful? Give feedback.
All reactions