I'm trying to flash a custom board with OMAPL137_v2 using SPI0 flash memory.
The flashing of the program is successful, but the program won't run at startup.
I've used both the serial flasher utility (sfh_OMAP-L137.exe) and the CCS SPIflash_writer utility, and got the same results in both (flashing succeeded, but program won't run).
Using the spiflash_writer tool in CCS, I see an error "invalid AIS keyword" (see below).
When connected to a JTAG, I can do the following steps, which make the flashed program to run (so I know the flashing process itself is OK):
1. System Reset.
2. Run - without loading any program.
Also, after making these steps, the "invalid AIS keyword" disappear (getting a "No error" 0x00000000 ROM Status Code).
I'm suspecting that the invalid AIS keyword is the main problem which doesn't allow the flashed program to run, and I don't know how to solve it.
---------------------------------------------
| BOOTROM Info |
---------------------------------------------
ROM ID: d800k003
Silicon Revision 2.0
Boot Mode: SPI0 Flash
ROM Status Code: 0x00000009
Description: Invalid AIS keyword
Program Counter (PC) = 0x00712144
Best Regards,
Ran.