We are using a custom board and have demonstrated using CCS4 in debug mode that we can run the ARM UBL (armubl) that comes with the 03.20.00.13 release of the PSP.
However, when I try to flash that UBL using "sfh_OMAP-L138.exe" I cannot get the board to execute after transitioning tp SPI1 bootmode.
Also, I've also tried using the pre-built images that came with the PSP and they too generated the same outcome.
I suspect that it has something to do with having the OMAP-L138 retrieve the UBL from flash and loading it to memory.
I am also confused if I need to load some initial UBL in the DSP core since according to this post the DSP UBL will access the ARM UBL from flash and load it to RAM. But I did not have any steps from "OMAPL138 Software Developers Guide" that indicates I have to load the DSP UBL in the DSP.
I hope this can be clarified.
For your reference, below is the screen dump of the output of the sfh_OMAP-L138.exe.
-----------------------
C:\ sfh_OMAP-L138.exe -p COM6 -flash arm-ubl-spi.bin u-boot-da850-omapl138-evm.bin
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L138
(C) 2010, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
[TYPE] UBL and application image
[UBL] arm-ubl-spi.bin
[APP IMAGE] u-boot-da850-omapl138-evm.bin
[TARGET] OMAPL138
[DEVICE] SPI_MEM
Attempting to connect to device COM6...
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 8656-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 768-Byte section to address 0x800021D0.
(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-ubl-spi.bin (8820 bytes) at 0x00000000
100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
Image data transmitted over UART.
100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
UBL programming complete
Flashing application u-boot-da850-omapl138-evm.bin (171548 bytes) at 0x00010000
100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
Image data transmitted over UART.
100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
Application programming complete
Operation completed successfully.