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?