MPLAB ? REAL ICE ? In-Circuit Emulator User’s Guide
4.15
OTHER TRACE METHODS – SPI OR I/O PORT TRACE
The Explorer 16 board does not have the connections to perform either SPI or I/O Port
trace. Therefore, it must either be modified or a different board must be used that allows
access to the required device SPI and Port pins.
The PIC24FJ128GA010 device and code from the beginning of this tutorial will be used
in this section. Although this device has built-in (Native) trace capability, you may wish
to use the other types of trace for speed or pin resource reasons.
For devices that do not have Native trace capability, SPI and I/O Port trace are the only
forms of trace available. The procedures shown here can be modified to use with other
Microchip devices supported by the MPLAB REAL ICE in-circuit emulator.
4.15.1
Using SPI Trace
The Explorer 16 board does have a place for connecting with the PICkit 2. This
connection can be populated to provide connection to six of the eight high-speed
communication pins. The remaining two pins - to the SPI pins SCK and SDO - will have
to be hard-wired from two additional connector pins to the appropriate SPI pins on the
device. See Section 2.4.2 “High-Speed Communication Connection” for details.
Note:
The Explorer 16 silkscreen label for pin 1 of the PICKIT2 connector is
incorrect. This is actually the location of pin 6.
You may also choose to use a target board of your own design that allows for access
to the necessary debug and SPI pins. Either way, a hardware connection between the
target board and the emulator ’s high-speed connector is required. See
more information.
4.15.1.1
HARDWARE SETUP
To set up the hardware to use SPI Trace, do the following:
1. Obtain Microchip’s Performance Pak, which contains the emulator high-speed
communication boards and cables, if you have not already done so.
Note:
High-speed communications is required to use SPI Trace.
2. Modify or create a target board, as specified above, so that it accommodates the
high-speed connector.
3. Using an unpowered emulator and target board, insert the high-speed driver
board into the emulator and the high-speed receiver board into the target board.
Connect the boards with the included cables. See Section 2.3.2 “High-Speed
Communication” for reference.
4. Power the emulator, and then the target board.
DS51616B-page 52
? 2008 Microchip Technology Inc.
相关PDF资料
AC244006 KIT MPLAB REAL ICE TRACE
AC2626M6 PROBE TEMP 6" GENERAL PURP
AC300024 MOTOR STEPPER 2PHASE 8WIRE
AC300030 KIT ACOUSTIC ACCESSORY
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
相关代理商/技术参数
AC244005-2 功能描述:处理器配件 MPLAB REAL ICE w/ Performace Pak RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244006 功能描述:仿真器/模拟器 MPLAB REAL ICE TRACE INTERFACE Brd KIT RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
AC244007 制造商:Microchip Technology Inc 功能描述:MPLAB REAL ICE JTAG ADAPTER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:ADAPTER MPLAB REAL ICE JTA 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG; Accessory Type:JTAG adaptor Board; For Use With:Microchip PIC32MX devices; SVHC:No SVHC (19-Dec-2012) ;RoHS Compliant: Yes
AC244008 功能描述:处理器配件 MPLAB REAL ICE Power Monitor RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244022 功能描述:插座和适配器 Procs Extnsn Pak for PIC24FJ128GA010-ICE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244022 制造商:Microchip Technology Inc 功能描述:Processor Extension Pak for PI
AC244023 功能描述:插座和适配器 PROCESSOR EXTNSN PAK FOR PIC18F1xK50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244024 功能描述:插座和适配器 Processor Ext Pak for PIC18LF14K50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x