Other Parts Discussed in Thread: OMAP-L138
I am trying to use Serial Boot and Flash loading Utility to program the onboard NOR Flash. I did modify the UBL for NOR and also rebuild the u-boot with CONFIG_SYS_USE_NOR . Now when I tried the flasher program from windows <sfh_OMAP_L138> to erase the NOR flash, it returns <Command failed> error:
===================
C:\flasher>sfh_OMAP-L138 -erase -flashType NOR
-----------------------------------------------------
TI Serial Flasher Host Program for OMAP-L138
(C) 2010, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
Platform is Windows.
[TYPE] Global erase
[DEVICE] NOR
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
(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 10940-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 1092-Byte section to address 0x80002ABC.
(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...
Command failed
Interfacing to the OMAP-L138 via UART failed.
Please reset or power-cycle the board and try again...
C:\flasher>
==========================================
Do I need to rebuild (both the host and target) the Flash and Boot utils to support the NOR flash? Which files do I need to modify to be able to use the NOR Flash instead of default SPI?
Thanks,
--Alex