|
int | edt_parse_devinfo (const char *str, Edt_embinfo *ei) |
| Parse the board's embedded information string. More...
|
|
void | edt_get_sns (EdtDev edt_p, char *esn, char *osn) |
| Retrieve the board's manufacturer and OEM embedded information strings from the PCI Xilinx information header. More...
|
|
void | edt_get_sns_sector (EdtDev edt_p, char *esn, char *osn, int sector) |
| Retrieve the board's manufacturer and OEM embedded information strings from the PCI Xilinx information header. More...
|
|
void | edt_get_osn (EdtDev edt_p, char *osn) |
| Retrieve the board's OEM embedded information string from the PCI Xilinx information header. More...
|
|
void | edt_get_esn (EdtDev edt_p, char *esn) |
| Retrieve the board's EDT embedded information string from the PCI Xilinx information header. More...
|
|
char * | edt_fmt_pn (const char *pn, char *pn_str) |
| Takes a part number portion of the embedded information string, as retrieved from the PCI FPGA information header via edt_get_sns; reformats and returns it in a "human readable" form (dashes added). More...
|
|
int | edt_flash_get_fname (EdtDev edt_p, char *name) |
| Extract the name of the on-board firmware in the device's FPGA PROM, minus the extension. More...
|
|
int | edt_flash_get_fname_auto (EdtDev edt_p, char *name) |
| Extract the name of the on-board firmware in the device's FPGA PROM, minus the version and extension. More...
|
|
int | edt_flash_prom_detect (EdtDev edt_p, uint16_t *stat) |
| Find the flash prom and flash status (jumper positions) for the device. Finds out which flash PROM is used and queries the device PROM status – see EPinfo stat field for status bits values. More...
|
|
uint32_t | edt_get_flashsize (int promcode) |
| Get the flash PROM bank size. More...
|
|
int | edt_get_max_promcode (void) |
|
Edt_prominfo * | edt_get_prominfo (int promcode) |
| Returns the pciload device information structure for the specific flash PROM code given. More...
|
|
const char * | edt_get_fpga_mfg (EdtDev edt_p) |
| Returns the FPGA manufacturer name string. More...
|
|
const char * | edt_flash_type_string (int ftype) |
| Returns a printable name for FTYPE values. Mainly for debug output. More...
|
|
void | edt_readinfo (EdtDev edt_p, int promcode, int sect, char *idstr, char *devinfo, char *oemsn) |
| Read the board's FPGA configuration file id and serial numbers. More...
|
|
void | edt_read_prom_data (EdtDev edt_p, int promcode, int segment, EdtPromData *pdata) |
| Get the onboard PROM device info as written to unused PROM space by EDT before shipping, or thereafter via -I or -i options to pciload. More...
|
|
int | edt_program_flash_start (EdtDev edt_p) |
|
void | edt_program_flash_chunk (EdtDev edt_p, const uint8_t *buf, int xfer, int do_sleep) |
|
int | edt_program_flash_end (EdtDev edt_p) |
|
int | edt_get_hw_rev (EdtDev edt_p) |
|
uint8_t * | edt_flash_block_read (EdtDev edt_p, uint32_t addr, uint8_t *buf, unsigned int size, int ftype) |
| Read a string out of the FPGA, of a given size, from a given address. Used for Xilinx ID id string and serial number strings. More...
|
|
FPGA header read / write utilities.
- Copyright
- Copyright (C) 2013 Engineering Design Team, Inc.