To set up MPLAB X IDE for JTAG operation: MPLAB REAL ICE JTAG ADAPTOR INSTRUCTION SHEET 1. Select File>Project Properties. In the Project Properties dialog, click The MPLAB REAL ICE JTAG Adaptor (AC244007) facilitates JTAG on your desired configuration, e.g., Conf: default . communication between the MPLAB REAL ICE In-Circuit Emulator and 2. Click the down arrow on the Supported Plugin Board drop-down the target board. The kit contains a JTAG adaptor board, ribbon cable, and box and select JTAG Driver Board. Click OK to accept the setup. this instruction sheet. Switching from JTAG to Standard Communications JTAG Support To switch the hardware, reverse the previous steps under To switch the The JTAG adaptor board is supported on MPLAB X IDE 1.60 and hardware, but do not erase the target device. above. The JTAG adaptor board supports all Microchip PIC32MX devices. Note: The target device DOES NOT NEED TO BE ERASED before Not all debug features are available when using JTAG. View the switching from JTAG to Standard Communications. Debug menu to see which functions are active and which are not available (grayed). To set up MPLAB X IDE for Standard Communication operation, repeat the previous steps under To set up MPLAB X IDE for JTAG Switching from Standard to JTAG Communications operation, except select None instead of JTAG Driver Board from the To switch the hardware: drop-down box. 1. While connected to the target using Standard Communications, FIGURE: JTAG ADAPTOR BOARD CONNECTIONS erase the target device. You may need to add Erase Device Emulator Pod Memory Main Project to a toolbar using View>Toolbars>Customize. Ribbon Cable Connector TRST N i 1 2 p GND Note: The target device MUST BE ERASED before switching USB TDI i 3 4 p GND ACTIVE from Standard to JTAG communications. TDO o p 5 6 GND STATUS Power TMS i 7 8 p GND TCK i 9 10 p GND FUNCTION RESET 2. Power down the target board. SRST N od 11 12 k KEY DINT i 13 14 p VREF 3. Disconnect the Standard Communications cable from the target, MIPS - EJTAG 2.5 Connector JTAG Adaptor disconnect the USB cable from the emulator, and unplug the (Target Board) Board Standard Driver Board from the emulator. 4. Connect one end of the ribbon cable to the connector on the JTAG adaptor board (it should plug in only one way) and insert the JTAG PIC32MX Ribbon Cable Connector adaptor board into the emulator driver board slot. Power JTAG 5. Connect the other end of the ribbon cable to the connector on a Target Board target board, such as the Microchip Explorer 16 development board. The plug is keyed to fit only one way. 6. Connect the USB cable to the emulator and power the target board. Documentation For the latest information on this board, see the Emulator Accessories chapter of the MPLAB REAL ICE In-Circuit Emulator Users Guide for MPLAB X IDE (DS52085) or online help file. 2012 Microchip Technology Inc. DS52094B To set up MPLAB X IDE for JTAG operation: MPLAB REAL ICE JTAG ADAPTOR INSTRUCTION SHEET 1. Select File>Project Properties. In the Project Properties dialog, click The MPLAB REAL ICE JTAG Adaptor (AC244007) facilitates JTAG on your desired configuration, e.g., Conf: default . communication between the MPLAB REAL ICE In-Circuit Emulator and 2. Click the down arrow on the Supported Plugin Board drop-down the target board. The kit contains a JTAG adaptor board, ribbon cable, and box and select JTAG Driver Board. Click OK to accept the setup. this instruction sheet. Switching from JTAG to Standard Communications JTAG Support To switch the hardware, reverse the previous steps under To switch the The JTAG adaptor board is supported on MPLAB X IDE 1.60 and hardware, but do not erase the target device. above. The JTAG adaptor board supports all Microchip PIC32MX devices. Note: The target device DOES NOT NEED TO BE ERASED before Not all debug features are available when using JTAG. View the switching from JTAG to Standard Communications. Debug menu to see which functions are active and which are not available (grayed). To set up MPLAB X IDE for Standard Communication operation, repeat the previous steps under To set up MPLAB X IDE for JTAG Switching from Standard to JTAG Communications operation, except select None instead of JTAG Driver Board from the To switch the hardware: drop-down box. 1. While connected to the target using Standard Communications, FIGURE: JTAG ADAPTOR BOARD CONNECTIONS erase the target device. You may need to add Erase Device Emulator Pod Memory Main Project to a toolbar using View>Toolbars>Customize. Ribbon Cable Connector TRST N i 1 2 p GND Note: The target device MUST BE ERASED before switching USB TDI i 3 4 p GND ACTIVE from Standard to JTAG communications. TDO o p 5 6 GND STATUS Power TMS i 7 8 p GND TCK i 9 10 p GND FUNCTION RESET 2. Power down the target board. SRST N od 11 12 k KEY DINT i 13 14 p VREF 3. Disconnect the Standard Communications cable from the target, MIPS - EJTAG 2.5 Connector JTAG Adaptor disconnect the USB cable from the emulator, and unplug the (Target Board) Board Standard Driver Board from the emulator. 4. Connect one end of the ribbon cable to the connector on the JTAG adaptor board (it should plug in only one way) and insert the JTAG PIC32MX Ribbon Cable Connector adaptor board into the emulator driver board slot. Power JTAG 5. Connect the other end of the ribbon cable to the connector on a Target Board target board, such as the Microchip Explorer 16 development board. The plug is keyed to fit only one way. 6. Connect the USB cable to the emulator and power the target board. Documentation For the latest information on this board, see the Emulator Accessories chapter of the MPLAB REAL ICE In-Circuit Emulator Users Guide for MPLAB X IDE (DS52085) or online help file. 2012 Microchip Technology Inc. DS52094B