raspberrypi / picotool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error saving all flash rom

mardini1974 opened this issue · comments

Hello, When I try to save all flash from the pico, it disconnects from BOOTSEL mode and I get an error.

image

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 -F option 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

  1. can you try using a windows build of picotool outside of WSL to see if that works
    and/or
  2. can you see what causes it to break; is it time/address... you can use e.g. picotool save -r 0x10000000 0x10100000 foo.bin to 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.