Datasheet

Table Of Contents
2.7.5.5. Control Requests
The following requests are sent to the interface via the default control pipe.
2.7.5.5.1. INTERFACE_RESET (0x41)
The host sends this control request to reset the PICOBOOT interface. This command:
Clears the HALT condition (if set) on each of the bulk endpoints
Aborts any in-process PICOBOOT or Mass Storage transfer and any flash write (this method is the only way to kill a
stuck flash transfer).
Clears the previous command result
Removes EXCLUSIVE_ACCESS and remounts the Mass Storage drive if it was ejected due to exclusivity.
Table 178. PICOBOOT
Reset PICOBOOT
interface control
bmRequestType bRequest wValue wIndex wLength Data
00100001b 01000001b 0000h Interface 0000h none
This command responds with an empty packet on success.
2.7.5.5.2. GET_COMMAND_STATUS (0x42)
Retrieve the status of the last command (which may be a command still in progress). Successful completion of a
PICOBOOT Protocol Command is acknowledged over the bulk pipe, however if the operation is still in progress or has
failed (stalling the bulk pipe), then this method can be used to determine the operation’s status.
Table 179. PICOBOOT
Get last command
status control
bmRequestType bRequest wValue wIndex wLength Data
00100001b 01000010b 0000h Interface 0000h none
The command responds with the following 16 byte response
Table 180. PICOBOOT
Get last command
status control
response
Offset Name Description
0x00 dToken The user token specified with the command
RP2040 Datasheet
2.7. Bootrom 134