TwiceAsNice
2019-02-18
|
Class that manages io and behavoir for Alta-G series Cypress EZ-USB FX2 chips. More...
#include <AspenFx2.h>
Public Member Functions | |
GeeFx2 (std::shared_ptr< Fx2Io > io, const bool Print2StdOut) | |
virtual | ~GeeFx2 () |
void | SetSerialNumber (const std::string &num) |
std::string | GetSerialNumber () |
void | ProgramCamera (const std::string &FilenameFpga, const std::string &FilenameFx2, const std::string &FilenameDescriptor, const std::string &FilenameWebPage, const std::string &FilenameWebServer, const std::string &FilenameWebCfg) |
void | ReadHeader (Eeprom::Header &hdr) |
Private Member Functions | |
void | WriteFlash (uint32_t StartAddr, const std::vector< uint8_t > &data) |
void | ReadFlash (const uint32_t StartAddr, std::vector< uint8_t > &data) |
void | DownloadFirmware () |
void | IncrEepromAddrBlockBank (uint16_t IncrSize, uint16_t &Addr, uint8_t &Bank, uint8_t &Block) |
Private Attributes | |
std::string | m_fileName |
Class that manages io and behavoir for Alta-G series Cypress EZ-USB FX2 chips.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2010 Apogee Instruments, Inc.
|
virtual |
|
private |
std::string GeeFx2::GetSerialNumber | ( | ) |
|
private |
void GeeFx2::ProgramCamera | ( | const std::string & | FilenameFpga, |
const std::string & | FilenameFx2, | ||
const std::string & | FilenameDescriptor, | ||
const std::string & | FilenameWebPage, | ||
const std::string & | FilenameWebServer, | ||
const std::string & | FilenameWebCfg | ||
) |
void GeeFx2::ReadHeader | ( | Eeprom::Header & | hdr | ) |
void GeeFx2::SetSerialNumber | ( | const std::string & | num | ) |
|
private |