Expand description
Reading and writing the card’s flash: configuration, dumps, and firmware.
Functions§
- dump_
flash - Dump an entire 64KB flash block. Read-only.
- dump_
range - Dump an arbitrary flash range using linear addressing. Read-only.
- flash_
firmware - Install an FPGA bitstream into the primary firmware bank.
- read_
blocks - Read
countconsecutive 64KB blocks starting atfirst; stops between blocks when cancelled. - read_
config - Read the card’s stored configuration out of flash as
.rcvbpfile bytes. - read_
primary_ bank - Read the whole primary firmware bank into memory.
- restore_
flash - Write a previously dumped block image back to the card, for recovery.
- rewrite_
block - Erase the parameter block, write
imageover it, then verify and repair. - save_
config - Save what
read_configreturned asout, print the path, and warn when the file will not drive PWM chips or does not parse. - scan_
flash - Read page 0 of each block and report what it looks like. Read-only.
- write_
config - Install a .rcvbp into the card’s parameter flash.