![]() |
Prusa Slicer 2.6.0
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | jtag3_open_common (PROGRAMMER *pgm, char *port) |
| int | jtag3_send (PROGRAMMER *pgm, unsigned char *data, size_t len) |
| int | jtag3_recv (PROGRAMMER *pgm, unsigned char **msg) |
| void | jtag3_close (PROGRAMMER *pgm) |
| int | jtag3_getsync (PROGRAMMER *pgm, int mode) |
| int | jtag3_getparm (PROGRAMMER *pgm, unsigned char scope, unsigned char section, unsigned char parm, unsigned char *value, unsigned char length) |
| int | jtag3_setparm (PROGRAMMER *pgm, unsigned char scope, unsigned char section, unsigned char parm, unsigned char *value, unsigned char length) |
| int | jtag3_command (PROGRAMMER *pgm, unsigned char *cmd, unsigned int cmdlen, unsigned char **resp, const char *descr) |
| void | jtag3_initpgm (PROGRAMMER *pgm) |
| void | jtag3_dw_initpgm (PROGRAMMER *pgm) |
| void | jtag3_pdi_initpgm (PROGRAMMER *pgm) |
| void | jtag3_setup (PROGRAMMER *pgm) |
| void | jtag3_teardown (PROGRAMMER *pgm) |
Variables | |
| const char | jtag3_desc [] |
| const char | jtag3_dw_desc [] |
| const char | jtag3_pdi_desc [] |
| void jtag3_close | ( | PROGRAMMER * | pgm | ) |
References avrdude_message(), CMD3_SIGN_OFF, programmer_t::fd, programmer_t::flag, free(), filedescriptor::ifd, jtag3_command(), jtag3_edbg_signoff(), MSG_NOTICE2, pgm, PGM_FL_IS_EDBG, progname, SCOPE_AVR, SCOPE_GENERAL, and serial_close.
Referenced by jtag3_dw_initpgm(), jtag3_initpgm(), and jtag3_pdi_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:| int jtag3_command | ( | PROGRAMMER * | pgm, |
| unsigned char * | cmd, | ||
| unsigned int | cmdlen, | ||
| unsigned char ** | resp, | ||
| const char * | descr | ||
| ) |
References avrdude_message(), cmd, free(), jtag3_prmsg(), jtag3_recv(), jtag3_send(), MSG_INFO, MSG_NOTICE2, pgm, progname, RSP3_OK, RSP3_STATUS_MASK, and verbose.
Referenced by jtag3_chip_erase(), jtag3_close(), jtag3_display(), jtag3_getparm(), jtag3_getsync(), jtag3_initialize(), jtag3_page_erase(), jtag3_paged_load(), jtag3_paged_write(), jtag3_program_disable(), jtag3_program_enable(), jtag3_read_byte(), jtag3_setparm(), and jtag3_write_byte().
Here is the call graph for this function:
Here is the caller graph for this function:| void jtag3_dw_initpgm | ( | PROGRAMMER * | pgm | ) |
References programmer_t::chip_erase, programmer_t::close, programmer_t::disable, programmer_t::display, programmer_t::enable, programmer_t::flag, programmer_t::initialize, jtag3_chip_erase_dw(), jtag3_close(), jtag3_disable(), jtag3_display(), jtag3_enable(), jtag3_initialize(), jtag3_open_dw(), jtag3_paged_load(), jtag3_paged_write(), jtag3_print_parms(), jtag3_program_enable_dummy(), jtag3_read_byte(), jtag3_setup(), jtag3_teardown(), jtag3_write_byte(), programmer_t::open, programmer_t::page_size, programmer_t::paged_load, programmer_t::paged_write, pgm, PGM_FL_IS_DW, programmer_t::print_parms, programmer_t::program_enable, programmer_t::read_byte, programmer_t::setup, programmer_t::teardown, programmer_t::type, and programmer_t::write_byte.
Here is the call graph for this function:| int jtag3_getparm | ( | PROGRAMMER * | pgm, |
| unsigned char | scope, | ||
| unsigned char | section, | ||
| unsigned char | parm, | ||
| unsigned char * | value, | ||
| unsigned char | length | ||
| ) |
References avrdude_message(), CMD3_GET_PARAMETER, free(), jtag3_command(), MSG_INFO, MSG_NOTICE2, pgm, progname, and RSP3_DATA.
Referenced by jtag3_display(), jtag3_initialize(), and jtag3_print_parms1().
Here is the call graph for this function:
Here is the caller graph for this function:| int jtag3_getsync | ( | PROGRAMMER * | pgm, |
| int | mode | ||
| ) |
References avrdude_message(), CMD3_SIGN_ON, programmer_t::flag, free(), jtag3_command(), jtag3_edbg_prepare(), MSG_DEBUG, pgm, PGM_FL_IS_EDBG, progname, and SCOPE_GENERAL.
Referenced by jtag3_open(), jtag3_open_dw(), and jtag3_open_pdi().
Here is the call graph for this function:
Here is the caller graph for this function:| void jtag3_initpgm | ( | PROGRAMMER * | pgm | ) |
References programmer_t::chip_erase, programmer_t::close, programmer_t::disable, programmer_t::display, programmer_t::enable, programmer_t::flag, programmer_t::initialize, jtag3_chip_erase(), jtag3_close(), jtag3_disable(), jtag3_display(), jtag3_enable(), jtag3_initialize(), jtag3_open(), jtag3_page_erase(), jtag3_paged_load(), jtag3_paged_write(), jtag3_parseextparms(), jtag3_print_parms(), jtag3_program_enable_dummy(), jtag3_read_byte(), jtag3_set_sck_period(), jtag3_setup(), jtag3_teardown(), jtag3_write_byte(), programmer_t::open, programmer_t::page_erase, programmer_t::page_size, programmer_t::paged_load, programmer_t::paged_write, programmer_t::parseextparams, pgm, PGM_FL_IS_JTAG, programmer_t::print_parms, programmer_t::program_enable, programmer_t::read_byte, programmer_t::set_sck_period, programmer_t::setup, programmer_t::teardown, programmer_t::type, and programmer_t::write_byte.
Here is the call graph for this function:| int jtag3_open_common | ( | PROGRAMMER * | pgm, |
| char * | port | ||
| ) |
References avrdude_message(), programmer_t::fd, programmer_t::flag, jtag3_drain(), ladd(), ldata(), lfirst(), lnext(), MSG_INFO, MSG_NOTICE, pgm, PGM_FL_IS_EDBG, PINFO_FL_SILENT, programmer_t::port, progname, serdev, serial_open, filedescriptor::usb, USB_DEVICE_JTAGICE3, usb_serdev_frame, USB_VENDOR_ATMEL, USBDEV_BULK_EP_READ_3, USBDEV_BULK_EP_WRITE_3, USBDEV_EVT_EP_READ_3, USBDEV_MAX_XFER_3, usbhid_serdev, pinfo::usbinfo, programmer_t::usbpid, and programmer_t::usbvid.
Referenced by jtag3_open(), jtag3_open_dw(), and jtag3_open_pdi().
Here is the call graph for this function:
Here is the caller graph for this function:| void jtag3_pdi_initpgm | ( | PROGRAMMER * | pgm | ) |
References programmer_t::chip_erase, programmer_t::close, programmer_t::disable, programmer_t::display, programmer_t::enable, programmer_t::flag, programmer_t::initialize, jtag3_chip_erase(), jtag3_close(), jtag3_disable(), jtag3_display(), jtag3_enable(), jtag3_initialize(), jtag3_open_pdi(), jtag3_page_erase(), jtag3_paged_load(), jtag3_paged_write(), jtag3_print_parms(), jtag3_program_enable_dummy(), jtag3_read_byte(), jtag3_set_sck_period(), jtag3_setup(), jtag3_teardown(), jtag3_write_byte(), programmer_t::open, programmer_t::page_erase, programmer_t::page_size, programmer_t::paged_load, programmer_t::paged_write, pgm, PGM_FL_IS_PDI, programmer_t::print_parms, programmer_t::program_enable, programmer_t::read_byte, programmer_t::set_sck_period, programmer_t::setup, programmer_t::teardown, programmer_t::type, and programmer_t::write_byte.
Here is the call graph for this function:| int jtag3_recv | ( | PROGRAMMER * | pgm, |
| unsigned char ** | msg | ||
| ) |
References avrdude_message(), free(), jtag3_prevent(), jtag3_recv_frame(), MSG_DEBUG, MSG_NOTICE2, PDATA, pgm, progname, USB_RECV_FLAG_EVENT, USB_RECV_LENGTH_MASK, and verbose.
Referenced by jtag3_command().
Here is the call graph for this function:
Here is the caller graph for this function:| int jtag3_send | ( | PROGRAMMER * | pgm, |
| unsigned char * | data, | ||
| size_t | len | ||
| ) |
References avrdude_message(), programmer_t::fd, programmer_t::flag, free(), jtag3_edbg_send(), malloc(), MSG_DEBUG, MSG_INFO, PDATA, pgm, PGM_FL_IS_EDBG, progname, serial_send, TOKEN, and u16_to_b2().
Referenced by jtag3_command().
Here is the call graph for this function:
Here is the caller graph for this function:| int jtag3_setparm | ( | PROGRAMMER * | pgm, |
| unsigned char | scope, | ||
| unsigned char | section, | ||
| unsigned char | parm, | ||
| unsigned char * | value, | ||
| unsigned char | length | ||
| ) |
References avrdude_message(), CMD3_SET_PARAMETER, free(), jtag3_command(), malloc(), MSG_INFO, MSG_NOTICE2, pgm, and progname.
Referenced by jtag3_initialize(), jtag3_set_sck_mega_jtag(), jtag3_set_sck_xmega_jtag(), and jtag3_set_sck_xmega_pdi().
Here is the call graph for this function:
Here is the caller graph for this function:| void jtag3_setup | ( | PROGRAMMER * | pgm | ) |
References avrdude_message(), programmer_t::cookie, malloc(), MSG_INFO, pgm, and progname.
Referenced by jtag3_dw_initpgm(), jtag3_initpgm(), and jtag3_pdi_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:| void jtag3_teardown | ( | PROGRAMMER * | pgm | ) |
References programmer_t::cookie, free(), and pgm.
Referenced by jtag3_dw_initpgm(), jtag3_initpgm(), and jtag3_pdi_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |
|
extern |
|
extern |