Crate hf2 Copy item path Source utils BinInfoResponse Response to the bin_info command ChecksumPagesResponse Response to the checksum_pages command DmesgResponse Response to the dmesg command InfoResponse Response to the info command ReadWordsResponse Response to the read_words command BinInfoMode Error FamilyId ReadWrite trait to implement HID devices bin_info This command states the current mode of the device: checksum_pages 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. dmesg Return internal log buffer if any. The result is a character array. info Various device information. The result is a character array. See INFO_UF2.TXT in UF2 format for details. read_words 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_into_app Reset the device into user-space app. Empty tuple response. reset_into_bootloader Reset the device into bootloader, usually for flashing. Empty tuple response. start_flash 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. Empty tuple response. write_flash_page Write a single page of flash memory. Empty tuple response. write_words Dual of READ WORDS, with the same constraints. Empty tuple response.