Project

General

Profile

Flashing EBOOT

  1. On a Windows PC extract the "criticallink-ce6.zip"
  2. Connect a serial cable from your Windows PC to the Industrial IO Development Kit and then power on the development kit
  3. From a command prompt on a Windows PC, run "sfh_OMAP-L138.exe -erase -p COMx" (replace x with the appropriate port number), from the directory where you extracted the criticallink-ce6.zip files
  4. Press the "Boot" button on the development kit and while keeping the button pressed press the "reset" button on the development kit board. At this time you should see the following status bar shown on the Windows PC command prompt:
c:\projects\WinCE>sfh_OMAP-L138.exe -erase -p COM1
-----------------------------------------------------
   TI Serial Flasher Host Program for OMAP-L138
   (C) 2010, Texas Instruments, Inc.
   Ver. 1.67
-----------------------------------------------------

      [TYPE] Global erase
    [TARGET] OMAPL138
    [DEVICE] SPI_MEM

Attempting to connect to device COM1...
Press any key to end this program at any time.

(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): Read invalid BOOTME string.
(AIS Parse): Boot aborted.
Booting SFT failed. Trying again (you may need to reset the target)...
(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync...
(AIS Parse): Performing Ping Opcode Sync...
(AIS Parse): Processing command 0: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 9340-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 812-Byte section to address 0x8000247C.
(AIS Parse): Processing command 2: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.

Waiting for SFT on the OMAP-L138...

Erasing flash
 100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
                            Erase complete

Operation completed successfully.

5. Once the above step is complete then run "sfh_OMAP-L138.exe -flash -p COMx -appStartAddr 0xc7f60000 -appLoadAddr 0xc7f60000 arm-spi-ais.bin EBOOTSPIFLASH.nb0" on your Windows PC from the same command prompt
6. Press the "Boot" button on the development kit and while keeping the button pressed press the "Reset" button on the development kit board. At this time you should see the following status bar shown on the Windows PC command prompt:

c:\projects\WinCE>sfh_OMAP-L138.exe -flash -p COM1 -appStartAddr 0xc7f60000 -app
LoadAddr 0xc7f60000 arm-spi-ais.bin EBOOTSPIFLASH.nb0
-----------------------------------------------------
   TI Serial Flasher Host Program for OMAP-L138
   (C) 2010, Texas Instruments, Inc.
   Ver. 1.67
-----------------------------------------------------

      [TYPE] UBL and application image
       [UBL] arm-spi-ais.bin
 [APP IMAGE] EBOOTSPIFLASH.nb0
    [TARGET] OMAPL138
    [DEVICE] SPI_MEM

Attempting to connect to device COM1...
Press any key to end this program at any time.

(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(Serial Port): Read error! (The operation has timed out.)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync...
(AIS Parse): Performing Ping Opcode Sync...
(AIS Parse): Processing command 0: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 9340-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 812-Byte section to address 0x8000247C.
(AIS Parse): Processing command 2: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.

Waiting for SFT on the OMAP-L138...

Flashing UBL arm-spi-ais.bin (8868 bytes) at 0x00000000

 100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
                  Image data transmitted over UART.

 100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
                       UBL programming complete

Flashing application EBOOTSPIFLASH.nb0 (262144 bytes) at 0x00010000

 100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
                  Image data transmitted over UART.

 100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
                   Application programming complete

Operation completed successfully.

7. If you want to load the Windows CE 6.0 OS image and program the FPGA follow the steps outlined here.

Go to top
Add picture from clipboard (Maximum size: 600 MB)