I followed the instructions in http://wiki.davincidsp.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138 to flash the SPI flash on the OMAPL138 Eval board from Zoom (LogicPD). I tried erasing the flash first and then flashing the default UBL and U-Boot bin files from TI.
I used the following command
sfh_OMAP-L138.exe -erase
I set the S7 switch to boot from UART2 i.e. switched 1-6 off and 7 and 8 on, connected the Null modem cable to RS232 of my PC
I get the message
C:\flasher>sfh_OMAP-L138.exe -erase
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L138
(C) 2010, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
Platform is Windows.
[TYPE] Global erase
[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): 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)
(Serial Port): Read error! (The operation has timed out.)
(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)
Also tried to connect Tera Term directly to Com port 1 and set the baud rate to 115200/8/1 but still can not see the BOOTME prompt.
If I set the S7 switch pins 7 and 8 back to OFF, I can see the the U-boot messages in serail console:
U-Boot 2009.01 (Jul 30 2009 - 11:58:01)
DRAM: 64 MB
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
DDR Clock : 300000000 Hz
Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot: 0
U-Boot >
Please let me know how I can pass this point and load the UBL and U-BOOT to SPI Flash through Serial falshing.
Also, where is the Serail loader program resides in OMAP processor that responses to host utility with BOOTME message? Is that a fix code that gets executed by setting the BOOTCFG register to boot from UART2 or do we need to download it to any new board with no code in Flah?
Thanks,
--Alex