Method |
Description |
std::vector AMC13_flash::readFlashPage(uint32_t add) |
AMC13_flash class method which reads one page (256 bytes) from flash memory and returns a vector of 32-bit word read values |
std::vector AMC13_flash::firmwareFromFlash(uint32_t add, int pages) |
AMC13_flash class method which reads pages pages (256 bytes per page) from flash memory and returns a vector of 32-bit word read values |
void AMC13_flash::eraseFlashSector(uint32_t s) |
AMC13_flash class method which erases on flash sector (256K bytes) from flash address s |
void AMC13_flash::programFlash(const std::string& mcsFileName, uint32_t add) |
AMC13_flash class method which programs into flash memory an MCS file mcsFileName from flash address add |
void AMC13_flash::verifyFlash(const std::string& mcsFileName, uint32_t add) |
AMC13_flash class method which verifies an MCS file mcsFileName against the flash memory from flash address add |
void AMC13_flash::printFlashPage(uint32_t add) |
AMC13_flash class method which reads one page of flash memory from flash address add and prints it to the terminal |
void AMC13_flash::flashDoCommand(int parameter) |
AMC13_flash class method which issues a flash command parameter |
void AMC13_flash::enableFlashWrite() |
AMC13_flash class method which enables flash writing |
void AMC13_flash::waitForWriteDone() |
AMC13_flash class method which returns when a flash write is completed |
void AMC13_flash::loadFlashT1() |
AMC13_flash class method which loads the flash sector for T1 to the T1 FPGA on the AMC13 |
void AMC13_flash::loadFlash() |
AMC13_flash class method which loads the flash sectors for both T1 and T2 to their respective FPGAs on the AMC13 |
std::vector AMC13_flash::firmwareFromMcs(const std::string& mcsFileName) |
AMC13_flash class method which reads the entirety of an MCS file into a vector 32-bit words which is returned when the read is finished |