5.1. Downloading Windows CE images through JTAG

You can use JTAG to download a Window CE image to RAM or flash:

Downloading to RAM through JTAG

To download an image to RAM through JTAG:

  1. Setup the target device connectivity options, and attach the debugger to the target to access the eXDI console, if not already done, see Accessing the eXDI console.

  2. Configure RVI, if not already done, see Accessing the eXDI console.

  3. Select the Download checkbox.

  4. Select RAM from the D/L and debug from panel.

  5. Select JTAG from the D/L through panel.

  6. In the D/L and panel, select Boot to boot the target after the download or select Stop to halt the target at the load address.

  7. Set the Load Address field to the Image Start, see How to generate NK.nb0.

  8. Select either Physical or Virtual as appropriate from the Treat Load Address as panel, see eXDI Console options.

  9. Access the Select Core drop-down menu and select your core, for example ARM926EJ-S. Figure 9 shows an example of a completed eXDI Console dialog box.

    Figure 9. Example eXDI Console dialog box

    Example eXDI Console dialog box

  10. When you are ready to proceed, click the Connect button to connect to the current target system, and to invoke the debugger. See Figure 10.

    Figure 10. eXDI Console dialog box showing target status and connection information

    eXDI Console dialog box showing target status and connection information

Downloading starts. The message panel provides target details and the status of the image being downloaded to the target. At the same time, an Image Download dialog box displays the progress of the download, see Figure 11.

Figure 11. Image download progress

Image download progress

If Boot is checked in the D/L and panel, then when downloading completes, the target starts running and the status bar displays Target Running, otherwise the target stops at the load address and the status bar displays Target Stopped, see Figure 12.

Figure 12. eXDI Console dialog box showing target running status

eXDI Console dialog box showing target running status

Downloading to flash through JTAG

To download an image to flash through JTAG:

  1. Setup the target device connectivity options, and attach the debugger to the target to access the eXDI console, if not already done, see Accessing the eXDI console.

  2. Configure RVI, if not already done, see Accessing the eXDI console.

  3. Select the Download checkbox.

  4. Select Flash from the D/L and debug from panel.

  5. Type the full path name of the image in the Image File panel.

  6. Select your platform from the Select Platform drop down menu, see Table 1.

  7. Select JTAG from the D/L through panel.

  8. In the D/L and panel, select Boot to boot the target after the download or select Stop to halt the target at the load address.

  9. Set the Load Address field.

  10. Select either Physical or Virtual as appropriate from the Treat Load Address as panel, see eXDI Console options.

  11. Access the Select Core drop-down menu and select your core, for example ARM926EJ-S. Figure 13 shows an example of a completed eXDI Console dialog box.

    Figure 13. Example eXDI Console dialog box

    Example eXDI Console dialog box

  12. When you are ready to proceed, click the Connect button to connect to the current target system, and to invoke the debugger.

Downloading starts. The message panel provides target details and the status of the image being downloaded to the target.

If Boot is checked in the D/L and panel, then when downloading completes, the target starts running and the status bar displays Target Running, otherwise the target stops at the load address and the status bar displays Target Stopped.

Copyright © 2008-2011 ARM Limited. All rights reserved.ARM DAI 0192F
Non-Confidential