This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Serial Flasher Host utility hangs before completetion

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

I'm trying to run the sfh_OMAP-L138.exe utility to flash the spi flash on the experimenter board and it seems to hang and never finish. I'm executing the command like this:

/usr/bin/mono ./sfh_OMAP-L138.exe -flash ubl_OMAPL138_SPI_MEM.bin OMAPL138-ARM-LED-spi.bin

The output I get is:

   TI Serial Flasher Host Program for OMAP-L138
   (C) 2010, Texas Instruments, Inc.
   Ver. 1.67
-----------------------------------------------------

      [TYPE] UBL and application image
       [UBL] ubl_OMAPL138_SPI_MEM.bin
 [APP IMAGE] OMAPL138-ARM-LED-spi.bin
    [DEVICE] SPI_MEM

Attempting to connect to device /dev/ttyS0...
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): 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 8460-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 668-Byte section to address 0x8000210C.
(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 ubl_OMAPL138_SPI_MEM.bin (8620 bytes) at 0x00000000

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


then after it transfers the ubl over it just hangs and never moves on to the next stage.  The ubl file came from OMAP-L138_FlashAndBootUtils_2_21/OMAP-L138/GNU/ubl.

I've tried using u-boot.bin as the program to execute and it hung in the exact same manner.  This is a stock experimenter OMAP L138.

Any ideas on what I'm doing wrong or why it froze? 

 

  • Just a follow up to whomever mightread this thread.... the above posting seems to be an environement issue. I'm running Ubuntu.04-LTS-32bit on Virtual Box 3.2.12 when the sfh hang problem occurs. I moved over to a Windows 7 box and retested and everything went as expected. So I'm not sure if this is Virtual box problem, a mono problem, or an Ubuntu problem. But one of these is definitely the cause.

  • Thanks for the information. I have had issues using Virtual Box where characters are "dropped" when accessing the serial port, so that might be the issue.

    Jeff