This command states the current mode of the device:
Compute checksum of a number of pages. Maximum value for num_pages is max_message_size / 2 - 2. The checksum algorithm used is CRC-16-CCITT.
Errors and traits to build a command
Return internal log buffer if any. The result is a character array.
Various device information. The result is a character array. See INFO_UF2.TXT in UF2 format for details.
trait to implement HID devices
Read a number of words from memory. Memory is read word by word (and not byte by byte), and target_addr must be suitably aligned. This is to support reading of special IO regions.
Reset the device into user-space app. Usually, no response at all will arrive for this command.
Reset the device into bootloader, usually for flashing. Usually, no response at all will arrive for this command.
When issued in bootloader mode, it has no effect. In user-space mode it causes handover to bootloader. A BININFO command can be issued to verify that.
Write a single page of flash memory. No Result.
Dual of READ WORDS, with the same constraints. No Result.