Downloading the Boot Loader to the Intel PXA27x Development Platform (MainstoneII) (Windows CE 5.0)
You will need to download the Windows CE boot loader to the Intel PXA27x Development Platform in order to download the Windows CE run-time image to the device.
If you have already downloaded the initial boot loader image in flash memory, you can download boot loader updates to the Intel PXA27x Development Platform.
To download the Windows CE boot loader to the Intel PXA27x Development Platform
Make sure that the power is turned off.
Connect one end of the JTAG cable to the main JTAG connector, J4, and then connect the other end of the cable to the parallel port on your development workstation.
Turn the power on the PXA27x.
JFlashMM is executed from a command window.
Open a command window and then navigate to the directory where you installed the JFlashMM software.
At the command prompt, you will need to enter JFlashMM to call the executable, followed by the name of the platform data file without the .dat file extension, and then followed by the name of the image you want to program into flash memory.
In the command window, execute the following command:
JFlashMM <Platform Data File> Eboot.nb0
Replace
<Platform Data File>
with the name of your platform's data file without using the .dat file extension; for example,JFlashMM Bulvb0 Eboot.nb0
.You can also create a batch file that contains this command line. If you use a batch file, enter the name of the batch file in the command window instead of typing the command each time.
If you get an error message after entering the command, make sure that all the cables are connected properly and that power is turned on, and then enter the command again.
This command writes the Windows CE boot loader into flash memory on your device. You should see the following output after entering the command:
JFLASH Version 5.01.007 COPYRIGHT (C) 2000 - 2003 Intel Corporation PLATFORM SELECTION: Processor= Bulverde_B0 Development System= Mainstone_II Data Version= 1.0 Bulverde_B0 revision B0 Found flash type: 28F128L18B The last 75 percent of image file is all zeros Would you like to save time by not programming that area? [y/n]:
Enter
Y
for Yes.You should see the following output after the boot loader has been written into flash memory.
Unlocking block at address 0 Erasing block at address 0 Unlocking block at address 10000 Erasing block at address 10000 Starting programming Using BUFFER programming mode... Writing flash at hex address 10340, 98.87% done Programming done Starting Verify verify error at address = 42b0 exp_dat = e59f3554 act_dat = 0
Turn the power off on the PXA27x.
Disconnect the JTAG cable from the main JTAG connector on the PXA27x, and disconnect the other end of the cable from the parallel port on your development workstation.
Connect one end of the NULL modem cable to the COM port (FFUART) on the PXA27x, labeled J47, and connect the other end of the NULL modem cable to the COM1 port on your development workstation.
On your development workstation, configure your terminal emulation software to the following settings:
Bits per second Data bits Parity Stop bits Flow control 38400 8 None 1 None Connect an available Ethernet cable to the PXA27x.
Turn the power on the PXA27x and verify that you have successfully downloaded the Windows CE boot loader.
You should see the numbers on the PXA27x change from 0000 0003 to 0000 0002, then to 0000 0001, and then to 0000 0000 when the power is turned on.
To see the format of the Windows CE boot loader message, see Windows CE Boot Loader Output for the Intel PXA27x Development Platform (MainstoneII).
Note If you did not have an Ethernet cable connected to the PXA27x before turning on the power, or if your device fails to get an IP address, switch the reset slide switch on the device on and then off again, or turn the power off and then on again.
See Also
How to Use the BSP for the Intel PXA27x Development Platform (MainstoneII)
Send Feedback on this topic to the authors