Download TRACE 32 - Lauterbach
Transcript
Set the transfer clock from the debug interface to your target. By default TRACE32ICD uses a fixed clock to run the debug interface. A clock range from 100KHz up to 5 MHz can be used. (Command: SYStem.BdmClock) We also provide a clock cable to allow you the use of the divided CPU clock as clock for the debug interface. The relation between the CPU clock and the debug interface clock is specific for your CPU. Refer to your ICD Target Manual for detailed information. The use of the divided CPU clock has the following advantages: 2. • The max. speed for the debug interface can be used. However we recommend 10MHz as the max. speed. • The clock for the debug interface is automatically adapted if the CPU clock is changed by your application program. Enter the debug mode. Select the Up button in the Mode field to restart the CPU with debug mode enable. (Command: SYStem.Up) The user interface establishes the communication to the target´s microprocessor. After this command you should be able to access the registers. 3. Do the target specific settings. The CPU is active now and you can initialize the CPU by writing to the special function registers using the Data.Set command. E. g. some CPU need to set the chip selects in order to access memory. 9 Tutorial for TRACE32-ICD