| |||
| Home > Downloading Windows CE images > Downloading Windows CE images through JTAG | |||
You can use JTAG to download a Window CE image to RAM or flash:
To download an image to RAM through JTAG:
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.
Configure RVI, if not already done, see Accessing the eXDI console.
Select the Download checkbox.
Select RAM from the D/L and debug from panel.
Select JTAG from the D/L through panel.
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.
Set the Load Address field to the Image Start, see How to generate NK.nb0.
Select either Physical or Virtual as appropriate from the Treat Load Address as panel, see eXDI Console options.
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.
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.
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.
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.
To download an image to flash through JTAG:
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.
Configure RVI, if not already done, see Accessing the eXDI console.
Select the Download checkbox.
Select Flash from the D/L and debug from panel.
Type the full path name of the image in the Image File panel.
Select your platform from the Select Platform drop down menu, see Table 1.
Select JTAG from the D/L through panel.
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.
Set the Load Address field.
Select either Physical or Virtual as appropriate from the Treat Load Address as panel, see eXDI Console options.
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.
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.