ok I figured out a way
since my pico has an open virtual serial port on usb, my pc application first looks for a connection with pico by sending a defined command, then pico receives the command, confirms it and goes into bootsel mode from the level of the program on pico. Pico performs a reset, the disk appears.
then pc application looks for the disk under which pico appears in the system, asks to select a file to load and in the background copies the program to the disk. After finishing, the application confirms loading and pico resets as standard.
since my pico has an open virtual serial port on usb, my pc application first looks for a connection with pico by sending a defined command, then pico receives the command, confirms it and goes into bootsel mode from the level of the program on pico. Pico performs a reset, the disk appears.
then pc application looks for the disk under which pico appears in the system, asks to select a file to load and in the background copies the program to the disk. After finishing, the application confirms loading and pico resets as standard.
Statistics: Posted by drakston — Sat Nov 30, 2024 10:16 pm