Error saving all flash rom
Hello, When I try to save all flash from the pico, it disconnects from BOOTSEL mode and I get an error.
I have to disconnect the pico and set it back to BOOTSEL mode, while I can save a program (-p) without any problem. i'm working in Windows WSL2 ubuntu, using usbipd to connect USB device to ubuntu
This may not be relevant to your problem, but I think if your Pico is already in BOOTSEL mode, then there's no need to use the -F option of picotool?
This may not be relevant to your problem, but I think if your Pico is already in BOOTSEL mode, then there's no need to use the
-Foption of picotool?
I tried both with Force and without force, both are the same.
I wonder if this is a problem peculiar to WSL with usbipd
- can you try using a windows build of picotool outside of WSL to see if that works and/or
- can you see what causes it to break; is it time/address... you can use e.g.
picotool save -r 0x10000000 0x10100000 foo.binto save the first 1M of flash; maybe try finding an address where it breaks etc.
Hi Kilograham, I fried the first Raspberry Pi PICO due to a faulty connection, but I did the test on a new PICOs and it worked correctly I could copy the RAM from one to the other, So the problem maybe in WSL or USBipd, The challenge in installing the binary on my work computer give some issues with IT security!, I do prefer building the application on WSL.
I've tried this on the latest WSL2 version (2.2.4) with the latest usbipd (4.2.0) and am unable to reproduce this issue - could you try updating to the latest versions and check if it still occurs?
Closing this for now, as I can't reproduce it - feel free to reopen if you're still having this issue