|
| Start SequenceULINK2 performs a number of operations to begin debugging on a target system. The sequence of these operations depends on the target device and the configuration settings in the µVision IDE. For OCDS and 8051 Devices:- ULINK2 initializes the JTAG interface and detects the Chip ID.
- Some JTAG registers are programmed to Halt after Reset. In this case, ULINK2 drives the JTAG RESET output (pin 8 on the OCDS and ST connectors) low for 2 mSec.
- ULINK2 stops the device.
- If Project — Options — Debug — Load Application at Startup is enabled, ULINK2 downloads the code to the target and performs a Reset Sequence.
- If the Project — Options — Debug — Initialization File text box contains the name of an initialization script, the debug commands in this script file are processed.
For ARM Devices:- If Use Reset at Startup is enabled, ULINK2 drives the JTAG RESET output (pin 15 on the ARM JTAG connector, pin 8 on the OCDS and ST connectors) low for 50mSec.
- ULINK2 initializes the JTAG interface and detects the Chip ID.
- If Use Reset at Startup is enabled, ULINK2 performs a Reset Sequence.
- ULINK2 stops the device.
- If Project — Options — Debug — Load Application at Startup is enabled, ULINK2 downloads the code to the target and performs a Reset Sequence.
- If the Project — Options — Debug — Initialization File text box contains the name of an initialization script, the debug commands in this script file are processed.
For Cortex-M Devices:- ULINK2 initializes the JTAG/SW interface and detects the Chip ID. The HW RESET signal may be activated depending on the Connect option selected in Options — Debug — Settings.
- If Reset after Connect is enabled, ULINK2 performs a reset as defined by the Reset option selected in Options — Debug — Settings.
- ULINK2 stops the device.
- If Project — Options — Debug — Load Application at Startup is enabled, ULINK2 downloads the code to the target and performs a reset as defined by the Reset option selected in Options — Debug — Settings.
- If the Project — Options — Debug — Initialization File text box contains the name of an initialization script, the debug commands in this script file are processed.
|
|