Difference: AMC13FlashCppClass ( vs. 1)

Revision 131 May 2013 - CharlieHill

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CppClass"
This page contains a table of method declarations and descriptions for the AMC13_flash C++ Class.

Constructor

Method
<-- -->
Sorted ascending
Description
AMC13_flash::AMC13_flash(AMC13_utils* p_au, AMC13* p_amc13) AMC13_flash class constructor which takes as arguments a pointer to an AMC13 object and an AMC13_utils object

Public Functions

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

-- CharlieHill - 30 May 2013

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback