OpenOCD
ecp2_3.h File Reference
Include dependency graph for ecp2_3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int lattice_ecp2_3_connect_spi_to_jtag (struct lattice_pld_device *pld_device_info)
 
int lattice_ecp2_3_disconnect_spi_from_jtag (struct lattice_pld_device *pld_device_info)
 
int lattice_ecp2_3_get_facing_read_bits (struct lattice_pld_device *pld_device_info, unsigned int *facing_read_bits)
 
int lattice_ecp2_3_read_status (struct jtag_tap *tap, uint32_t *status, uint32_t out, bool do_idle)
 
int lattice_ecp2_3_read_usercode (struct jtag_tap *tap, uint32_t *usercode, uint32_t out)
 
int lattice_ecp2_3_refresh (struct lattice_pld_device *lattice_device)
 
int lattice_ecp2_3_write_usercode (struct lattice_pld_device *lattice_device, uint32_t usercode)
 
int lattice_ecp2_load (struct lattice_pld_device *lattice_device, struct lattice_bit_file *bit_file)
 
int lattice_ecp3_load (struct lattice_pld_device *lattice_device, struct lattice_bit_file *bit_file)
 

Function Documentation

◆ lattice_ecp2_3_connect_spi_to_jtag()

int lattice_ecp2_3_connect_spi_to_jtag ( struct lattice_pld_device pld_device_info)

◆ lattice_ecp2_3_disconnect_spi_from_jtag()

int lattice_ecp2_3_disconnect_spi_from_jtag ( struct lattice_pld_device pld_device_info)

◆ lattice_ecp2_3_get_facing_read_bits()

int lattice_ecp2_3_get_facing_read_bits ( struct lattice_pld_device pld_device_info,
unsigned int *  facing_read_bits 
)

Definition at line 298 of file ecp2_3.c.

References ERROR_FAIL, and ERROR_OK.

Referenced by lattice_get_stuff_bits().

◆ lattice_ecp2_3_read_status()

int lattice_ecp2_3_read_status ( struct jtag_tap tap,
uint32_t *  status,
uint32_t  out,
bool  do_idle 
)

Definition at line 32 of file ecp2_3.c.

References lattice_read_u32_register(), LSCC_READ_STATUS, and status.

Referenced by lattice_read_status_u32().

◆ lattice_ecp2_3_read_usercode()

int lattice_ecp2_3_read_usercode ( struct jtag_tap tap,
uint32_t *  usercode,
uint32_t  out 
)

Definition at line 37 of file ecp2_3.c.

References lattice_read_u32_register(), and READ_USERCODE.

Referenced by lattice_read_usercode().

◆ lattice_ecp2_3_refresh()

int lattice_ecp2_3_refresh ( struct lattice_pld_device lattice_device)

◆ lattice_ecp2_3_write_usercode()

◆ lattice_ecp2_load()

◆ lattice_ecp3_load()