I am working with a custom board based on the OMAP-L137 processor. We are having issues getting it to load a first stage bootloader from NOR flash. At power up, the DSP appears to execute the boot ROM code, and then fails to read it. Using the Debug GEL File from http://processors.wiki.ti.com/index.php/OMAP-L1x_Debug_Gel_Files, I can see that the Pin Strapping is indeed set for NOR, but I receive the error "Peripheral Open Failed".
Here's the interesting part- if I halt the DSP using a JTAG, then reset the board (or even simply set the PC back to the beginning of the boot ROM code), then let the board run, it will successfully load my AIS image from NOR flash and run properly. If I don't halt the DSP and simply reset, it fails in a similar manner as before. Also note that the behavior is the same if we do not use *any* GEL files. I've also tried to verify using Legacy NOR mode, but it doesn't seem like the boot ROM is capable of reading the configuration word from NOR.
The reset and NOR hardware is somewhat complex (due to the addressing limitations of the OMAP-L137, it uses D Flip Flops to latch higher order bits). At first glance, everything seems to be okay with that aspect of the board, although we do have hardware engineers checking out the design again just to be sure.
My question is, what are some things that could cause the "Peripheral Open Failed" error? Are there any additional mechanisms for debugging the boot ROM besides the Debug GEL file?