Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAltera devices use the four JTAG pins for JTAG programming or configuration. They should be connected as below:
- TCK (Test Clock) - From download cable in parallel to every device in the JTAG chain. Weakly pulled-down to GND. Check the Configuration Handbook or specific device Handbook for resistor values.
- TMS (Test Mode Select) - From download cable in parallel to every device in the JTAG chain. Weakly pulled-up to VCCIO. Check the Configuration Handbook or specific device Handbook for resistor values.
- TDO (Test Data Out) - The TDO pin of a device is connected to the TDI pin of the subsequent device in the JTAG chain. For the last device in the JTAG chain, the TDO pin is connected to the TDO pin of the download cable.
- TDI (Test Data In) - TDI pin of a device is connected to the TDO pin of the preceding device in the JTAG chain. For the first device in the JTAG chain, the TDI pin is connected to the TDI pin of the download cable.
- nTRST - Driven high during JTAG configuration.
- nCE - Connect to GND or driven low during JTAG configuration.
- MSEL pins - Connect to ground.
- nCONFIG - Driven high or pulled to VCC through a pull-up resistor.
- DCLK - Either pull-up or pull-down through resistor.
- DATA pin(s) - Either pull-up or pull-down through resistor.
- nSTATUS - Pull to VCC through a pull-up resistor. When the device is powered-up, this pin will be released to high.
- CONF_DONE - Pull to VCC through a pull-up resistor. Should be pulled-up individually for the devices in a chain. When the device is successfully configured, this pin will be released to high.
- INIT_DONE - When used, pull-up to VCC.