I have just been playing with my picos for a couple of days, but the main one I've been using is now returning:
Erasing Flash......
Programming 48640 BytesY...............................................
Checking...
Done!
Uncaught Error: Function "ho" not found!
at line 1 col 1
ho(1);
^
when I try to upload code that uploads just fine to another pico. It fails when none of the pins on the pico are connected to anything else too.
Once this happens the board becomes unresponsive in the IDE and I have to reboot it hitting the button after the first LED flash to skip loading saved code.
I've tried reflashing it to see if that helps and the same thing happens when I reupload code.
I seem to be able to upload some simple code but for the longer code I'm running (attached) I get the "ho" not found! error repeatedly.
The code was basically just to take a voltage divider reading and display it on a PCD8544 display.
At the time it first failed I had the voltage divider configured like so:
I had a multimeter on A5 and GND to make sure A5 never saw too high a voltage and only took the PSU up to 3V at the A5 pin, but at just under the 3V (IIUC I can take the pin to VCC or 3.3V?) point the display corrupted. I turned off the PSU and switched back to powering off the laptop and found the pico was mostly non-responsive at this point.
... so now for the actual questions:
Is there anything else I can try to recover the board?
What might I have missed that's caused the problem in the first place?
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.
I have just been playing with my picos for a couple of days, but the main one I've been using is now returning:
when I try to upload code that uploads just fine to another pico. It fails when none of the pins on the pico are connected to anything else too.
Once this happens the board becomes unresponsive in the IDE and I have to reboot it hitting the button after the first LED flash to skip loading saved code.
I've tried reflashing it to see if that helps and the same thing happens when I reupload code.
I seem to be able to upload some simple code but for the longer code I'm running (attached) I get the
"ho" not found!
error repeatedly.The code was basically just to take a voltage divider reading and display it on a PCD8544 display.
At the time it first failed I had the voltage divider configured like so:
I had a multimeter on A5 and GND to make sure A5 never saw too high a voltage and only took the PSU up to 3V at the A5 pin, but at just under the 3V (IIUC I can take the pin to VCC or 3.3V?) point the display corrupted. I turned off the PSU and switched back to powering off the laptop and found the pico was mostly non-responsive at this point.
... so now for the actual questions:
Is there anything else I can try to recover the board?
What might I have missed that's caused the problem in the first place?
1 Attachment