Crate tapcp

Source

Enums§

Error

Constants§

DEFAULT_TIMEOUT
FLASH_SECTOR_SIZE
MAX_TIMEOUT

Functions§

get_metadata
Retrieves the most recent metadata (stored at the 32-bit user_flash_loc address)
help
Gets the list of top level commands (as a string)
listdev
Gets the list of all devices supported by the currently running gateware Returns a hash map from device name to (addr,length)
progdev
Reboot the FPGA from the bitstream program at the 32-bit address addr. No validation is performed to ensure a program actually exists there
read_device
Read memory associated with the gateware device device We can read offset words (4 bytes) into a given device in multiples on n words The special case of n = 0 will read all the bytes at that location
read_flash
Read memory from the onboard flash offset and n are in increments of 4 byte words, just like read_device
set_metadata
Program arbitrary metadata (stored at the 32-bit user_flash_loc address)
temp
Gets the temperature of the remote device in Celsius
write_device
Write bytes to the device named device
write_flash
Writes data to the onboard flash offset are in increments of 4 byte words, just like read_device