Bootloader for Raspberry Pi RP2040/Pi Pico to load from USB pendrive

Job ID: 32597729

Budget: £20 – £250 GBP

Currently the Pi Pico loads its program from the attached QSPI Flash chip. What I'd like to do is put a simple second stage bootloader in the QSPI Flash that on boot continually looks for a USB flash drive plugged into the USB port, and when it finds one it would load the program file from the flash drive and execute it. I would also need some method for the program to be able to access a data file on the same USB drive. I hope this is clear but if not please ask questions. Code must use the standard Pico C SDK for the RP2040.
Related categories: C Programming Raspberry Pi