9 » IC Electronic information » Category: T

IC Electronic information

TKScope support the JTAG daisy chain connection of multi-device simulation

In Electronic Infomation Category: T | on December 13,2010

For a complex embedded system, a single ARM devices often can not meet the actual requirements may require coordination of multiple ARM devices to complete the tasks set by the user.

need multiple ARM hardware debug devices connected daisy-chain form. Thus, only a JTAG interface, to be able to daisy-chain devices on any ARM emulation debugging. The TKScope is supporting such a daisy chain connection of multi-mode device simulation.

1 Introduction daisy chain

many ARM devices connected in daisy-chain structure of the hardware, connect the interface TDO JTAG daisy chain device is the first device, the connection TDI JTAG Interface daisy chain of devices is the last device. The previous device TDI and 74HC541D datasheet and TDO after a device connected, daisy chain, all ARM devices TMS, TCK signal is connected. For example, the system exists in the daisy chain 2 ARM devices: one is the ARM7TDMI core, the other is the Cortex-M3 core. Daisy-chain hardware connections shown in Figure 1.

2 TKScope emulator settings

TKScope simulation daisy chain structure, the need to special attention to [main set], [TAP set] two options for setting method. Other options set by the conventional method of simulation can not be repeated here described.

TKScope simulation daisy-chain structure, [Main Settings] interface [clock mode] to choose [fixed the clock], JTAG clock frequency value can be set based on the actual characteristics of the chip. At this point, you can not select the [synchronous clock], [automatic clock] is not recommended to choose. JTAG clock frequency settings need to consider all ARM devices on the daisy chain feature, the device can not be greater than any running ARM JTAG clock frequency. Recommended that all ARM JTAG devices set the value of the same clock frequency.

ARM7TDMI core device JTAG maximum clock frequency is 1 MHz; Cortex-M3 core JTAG device maximum clock frequency is 4 MHz. Therefore, the value of not higher than the JTAG clock frequency 1 MHz.

this article ARM7TDMI core device and 74HC541D price and Cortex-M3 core device JTAG clock frequency values are set to 0 .5 MHz. TKScope simulation ARM7TDMI core, [key set] interface shown in Figure 2; TKScope simulation Correx-M3 core, [key set] interface shown in Figure 3.

the first simulation, the [TAP Settings] screen, select [Manual configuration], shown in Figure 4.

TKScope drive setup interface, all options are properly set up is complete, select [Hardware self-test ] to begin the hardware self-test. System detects more than 2 or 2 kernel, the kernel will pop up the dialog box select the prompt shown in Figure 5.

At this point, the user can select the debug target hardware self-test. For example, the current project for simulation ARM7TDMI core device, then select the ARM7 device in Figure 5, click [OK], the hardware self-test, until the successful completion of all self-test. Similarly, if the current project is used to simulate the Cortex-M3 core devices, then select the device in Figure 5 CORTEX, click [OK], the hardware self-test.

hardware self-test is successfully completed, re-open the [TAP settings] screen, this time set to [ automatic detection], shown in Figure 6. After this set, again no need to repeat the debugging debug target selection process, the system will automatically detect the first set when debugging debug target.

3 TKScope daisy chain operation process simulation

In summary, TKScope simulation of complex operational processes daisy-chain structure is very simple. Steps are as follows:

① Open the project file, the correct driver set TKScope all options. Among them, the need to pay special attention to [Main Settings], [TAP Settings] select [artificial Configuration] option.

② implementation of [the hardware self-test], the system scan all devices on the daisy chain, selected at this time need to debug the device, continue to self-test process until all correctly.

③ open again [TAP settings] screen, select [Auto Detect]. This re-commissioning, commissioning devices do not have to repeat the selection process, the system automatically detects the first device information set when debugging.

TKScope daisy-chain structure simulation process in accordance with the above-mentioned operation can be, the corresponding project file for each device is properly set up only once again in the future do not have to repeat the setup process when debugging.

74HC541D datasheet74HC541D suppliers74HC541D Price

Related technical information

All right © 2010-2016 Certificate