Datasheet
SPRS161K − MARCH 2001 − REVISED JULY 2007
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
in-circuit emulation options
The GPIO functionality of the JTAG/GPIO pins cannot be used when the JTAG function is used for debugging.
In applications which require full emulation, it is easy to build an in-circuit emulation system using a 2407A EVM
(or any TMS320LF240x target board). This requires some additional planning in the Lx2401A target board
design. The following suggestions may be used as a guideline while planning the board layout:
1. Make provisions for a connector (port) which will bring out all the Lx2401A signals.
2. Map these signals (such as PWM, SCI, ADC, GPIO) through a cable to the 2407A EVM connector signals.
3. Using the 2407A EVM emulation device, there are two options to build your software:
a. Use assembler directives to enable 2407A register mapping.
− Build your application using 2407A emulation board with the 2401A target board connected using
the harness suggested above.
− After software development is complete, rebuild the code using the assembler directive to use
2401A registers.
− Map and flash the code in Lx2401A. The end application should now run seamlessly on the 2401A
target with Lx2401A device.
b. Use the device IDs of 2407A and 2401A devices to select the required pin-mapping for your application.
− The Device ID for these devices is a unique number located at 701Ch.
− Build your application using the 2407A emulation board with the 2401A target board connected
using the harness suggested above.
− After software development is complete, flash the code in Lx2401A. The end application will select
the map and the registers based on the device ID and should now run seamlessly on the 2401A
target with Lx2401A device.
Lx2401A/EVM Harness
Lx2401A Target
LF2407A EVM as
In-Circuit Emulator
Code Composer for
LF2407A EVM
JTAG Link
Figure 8. Lx2401A Emulation Using LF2407A EVM as In-Circuit Emulator (Optional)