I was just about to ask that same question. Downloaded and saved for future use. Thanks Tony and Shoe. Insert thumbs up smiley here. =)
Shoeā¦I have received an email back from Pimoroni about my problem and they6 say that the reply was delayed due to āworking through a very high volume of support ticketsā so they do seem to have an active support departmentā¦
Shoe, Thanks for the pointer to the āFlash_Nuke.uf2ā downloadā¦sounds like a suicide pill for use as as a last resortā¦scary. But somehow I do not think that that will solve my problem. My āPico Display Packā ,which exhibits the problem of a residual sketch still existing in the Display buffer and a new āDemoā sketch āunderlayingā the residual sketch. The Pico Display Pack is connected to the Pico MCU via the Pimoroni Omnibus Pack. I have swapped Picoās back and too on the Omnibus and the problem still persists so,ā¦ to my mindā¦the problem lies in the buffer memory of the Pico Display Pack, not the Pico MCU āflashā memory. What I think I need is something to āblastā just the Display Pack āflash memoryāā¦does that sound logical to you??
I will be ordering one or more of those Captain Resseti reset buttons. I have a button with female jumper leads on it that I can use with my Omnibus for now. No having to unplug the USB.
Iām no expert on this, but my guess is certain parts of the PICO get configured a certain way when you run one file, and some of that doesnāt get undone when you run a second file. Not without a reset. Best guess anyway.
I āthinkā the flash_nuke.uf2 just puts it back to the āout of the boxā state? Ready for you to decide it you want to go C+, Micro Python, or Circuit Python by flashing a new uf2.
Thatās my read on it, I donāt see it doing any harm.
So the Display pack doesnāt have any flash itself, the RAM in the display driver should get wiped when the board is reset (it needs power to hold the data). However, Iāve been doing a bit of graphics work on the Pico Explorer, and occasionally I end up in an odd situation where saving new programs just doesnāt seem to work and it keeps runing the old program. Backing up the programs and nuking the file system seems to undo it.
Iām getting possible āreliabilityā problems with my explorer. Iām using it most of the day and as time goes on I get random pixels, mainly at the bottom but occasionally at the top and Thonny and the Pico stop talking to each other.
I unplug the big end of the USB cable at the PC end. Pulling/pushing the small end in Pico is just asking for trouble.
Yes, Iāve been getting something similar Tony. Iām not sure if this is an issue with MicroPython, the Pico, or the Explorer, but somewhere, something is going wrong.
I bought one the of the Captain Resetti boards exactly because I didnāt want to be putting a lot of wear on the USB port. Iām really surprised the Pico doesnāt come with one, itās super useful.
Iāve got my Pico attached to a very cheap 3 port USB hub on my desk. Iām just using the middle USB at the moment. Iāve had to unplug and re-plug hundreds of times in the last week so Iāll see how long that middle USB port lasts. My soldering is rubbish right now so wonāt be getting a Captain Resetti until much later although Iām thinking of just breaking down a USB data cable and putting a reset switch into that instead.
You can get USB cables with power switches in them, you just have to make sure its a Data cable and not just power.