Share via


Downloading the Boot Loader to the Marvell PXA27x Processor Development Kit (MainstoneIII)

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The following steps show you how to download a boot loader to the Marvell PXA27x Processor Development Kit (MainstoneIII).

You will need to download the boot loader to the Marvell PXA27x Processor Development Kit (MainstoneIII) in order to download the Windows Embedded CE 6.0 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 Marvell PXA27x Processor Development Kit (MainstoneIII).

To download the boot loader to the Marvell PXA27x Processor Development Kit (MainstoneIII)

  1. Make sure that you have the Flash Memory Programmer (JFlashMM) software installed.

    If you do not have JFlashMM installed, go to the Marvell Web site and install this software before proceeding.

  2. Make sure that you have copies of the JFlashMM platform data, .dat, files for the Marvell PXA27x Processor Development Kit (MainstoneIII).

    If you do not have the .dat files for the Marvell PXA27x Processor Development Kit (MainstoneIII), go to the Marvell Web site to download these files.

  3. Make sure that you have installed the GiveIO.sys device driver, which is required for JFlashMM to work.

    The GiveIO device driver is part of the JFlashMM software from Marvell. For information on how to install this driver, refer to the JFlashMM release notes.

  4. Verify that the Eboot.nb0 file has been built and is in your MainstoneIII target debug or release directory.

  5. Set the Parallel Port Mode field in your BIOS to ECP + EPP.

    Enhanced Parallel Port (EPP) provides support for high-speed ports for peripheral devices other than printers and scanners. Enhanced Capabilities Port (ECP) provides support for bidirectional, high-speed communication between a computer and a printer or scanner.

  6. Connect the power cable to the device.

    Make sure that the power is turned off.

  7. 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.

  8. Turn the power on the Marvell PXA27x Processor Development Kit (MainstoneIII).

    JFlashMM is executed from a command window.

  9. 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.

  10. 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 Bulbcx 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 Embedded 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 Marvell Corporation
    
    PLATFORM SELECTION:
     Processor=             PXA27x
     Development System=    Mainstone
     Data Version=          1.00.002
    
    PXA27x revision ??
    Found flash type: 28F256L18B
    
    Unlocking block at address 0
    Erasing block at address 0
    Unlocking block at address 10000
    Erasing block at address 10000
    Unlocking block at address 20000
    Erasing block at address 20000
    Unlocking block at address 30000
    Erasing block at address 30000
    Unlocking block at address 40000
    Erasing block at address 40000
    Starting programming
    Using BUFFER programming mode...
    Writing flash at hex address    3fe80, 99.85% done
    Programming done
    Starting Verify
    Verifying flash at hex address    3ff68, 99.94% done
    Verification successful!
    
  11. Turn the power off on the PXA27x.

  12. Disconnect the JTAG cable from the main JTAG connector on the Marvell PXA27x Processor Development Kit (MainstoneIII), and disconnect the other end of the cable from the parallel port on your development workstation.

  13. Connect one end of the NULL modem cable to the COM port (BTUART) on the Marvell PXA27x Processor Development Kit (MainstoneIII), labeled J47, and connect the other end of the NULL modem cable to the COM1 port on your development workstation.

  14. On your development workstation, configure your terminal emulation software (such as Microsoft HyperTerminal) to the following settings:

    Bits per second Data bits Parity Stop bits Flow control

    38400

    8

    None

    1

    None

  15. Connect an available Ethernet cable to the Marvell PXA27x Processor Development Kit (MainstoneIII).

  16. Turn the power on the Marvell PXA27x Processor Development Kit (MainstoneIII) and verify that you have successfully downloaded the Windows Embedded CE boot loader.

    You should see the numbers on the Marvell PXA27x Processor Development Kit (MainstoneIII) change from 0000 0002 to 0000 0001, and then to 0000 0000 when the power is turned on.

    To see the format of the Windows Embedded CE boot loader message, see Boot Loader Output for the Marvell PXA27x Processor Development Kit (MainstoneIII).

    Note

    If you did not have an Ethernet cable connected to the Marvell PXA27x Processor Development Kit (MainstoneIII) 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

Tasks

How to Use the BSP for the Marvell PXA27x Processor Development Kit (MainstoneIII)