By default, there are two interfaces in Windows for the Pico W2
RP2350 Boot (Interface 0) - USBSTOR (disk.sys, EhStorClass.sys, partmgr.sys)
RP2350 Boot (Interface 1) - USB (winusb.sys)
Getting input file from "target/thumbv8m.main-none-eabihf/release/blinky"
Getting plugged in boards
Found board(s):
board: rp2350 (family id: 0xe48bff59)
WARN: Failed to list partitions for board 'rp2350' (family id 0xe48bff59): BlockDeviceOpenFail
Looking for microcontroller serial...
If I change Interface 0 to also use winusb.sys, it seems to work...
Getting input file from "target\\thumbv8m.main-none-eabihf\\debug\\pico2-hello"
Getting plugged in boards
Found board(s):
board: rp2350 (family id: 0xe48bff59)
TRACE: FileSystem::new
TRACE: FileSystem::new end
TRACE: FileSystem::new
TRACE: FileSystem::new end
TRACE: root_dir
TRACE: read_dir_entry
TRACE: skip entry
TRACE: file entry [73, 78, 68, 69, 88, 32, 32, 32, 72, 84, 77]
TRACE: read_dir_entry
TRACE: file entry [73, 78, 70, 79, 95, 85, 70, 50, 84, 88, 84]
TRACE: read_dir_entry
DEBUG: Found partition on board 'rp2350' that contains INFO_UF2.TXT
Converting elf to uf2 file
DEBUG: Mapped segment 0x010000->0x0100aa (0x010000->0x0100aa)
DEBUG: Writing program
DEBUG: Page 0 / 1 0x010000
512 B / 512 B [=====================================================================================================================================================================] 100.00 % 1.04 MB/s
Writing firmware to board 'rp2350' (family id 0xe48bff59)
TRACE: FileSystem::new
TRACE: FileSystem::new end
TRACE: root_dir
TRACE: create_file out.uf2
TRACE: read_dir_entry
TRACE: skip entry
TRACE: file entry [73, 78, 68, 69, 88, 32, 32, 32, 72, 84, 77]
TRACE: read_dir_entry
TRACE: file entry [73, 78, 70, 79, 95, 85, 70, 50, 84, 88, 84]
TRACE: read_dir_entry
TRACE: write_entry out.uf2
TRACE: alloc_cluster
TRACE: write FAT - cluster 4 value EndOfChain
TRACE: allocated cluster 4
TRACE: allocated cluser 4
TRACE: write 512 bytes in cluster 4
512 B / 512 B [=====================================================================================================================================================================] 100.00 % 3.47 KB/s
Looking for microcontroller serial...
However the device never boots the program.
Removing and reinserting the device at this point loads an old program (not the one we've just attempted to write)
I'm not sure if I'm doing something wrong here, but WinUSB on Interface 0 breaks the default drag and drop functionality as it's no longer detecting a mass storage device, and it also stops detection with the original elf2uf2, which I believe this project is forked from (One might expect a fork to work similarly)
By default, there are two interfaces in Windows for the Pico W2
RP2350 Boot (Interface 0) - USBSTOR (disk.sys, EhStorClass.sys, partmgr.sys)
RP2350 Boot (Interface 1) - USB (winusb.sys)
If I change Interface 0 to also use winusb.sys, it seems to work...
However the device never boots the program.
Removing and reinserting the device at this point loads an old program (not the one we've just attempted to write)
I'm not sure if I'm doing something wrong here, but WinUSB on Interface 0 breaks the default drag and drop functionality as it's no longer detecting a mass storage device, and it also stops detection with the original elf2uf2, which I believe this project is forked from (One might expect a fork to work similarly)