This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI boot of OMAP-L137 EVM

Other Parts Discussed in Thread: OMAP-L137

I am just getting started with my OMAP-L137 EVM board (Rev-H).

 

  • I have a test DSP program that blinks some LEDs. It runs correctly from JTAG.
  • I ran this program through the AIS-Generator. My understanding of this program is that it adds code to make it bootable and to setup the PLL, EMIF and other registers.
  • I can successfully program the SPI-Flash with either the Serial Flasher or the SPI-Writer however; when I cycle power with the DIP-Switches set to SPI-boot, my program does not run.

 

When I run the Debug GEL, I get :

 

---------------------------------------------

|               BOOTROM Info                |

---------------------------------------------

ROM ID: d800k003

Silicon Revision 2.0

Boot Mode: SPI0 EEPROM

 

ROM Status Code: 0x00000009

Description: Invalid AIS keyword

 

Program Counter (PC) = 0x00712144

 

I think this means the magic number was not found in SPI-Flash.

 

 

---------------------------------------------

|             Device Information            |

---------------------------------------------

DEV_INFO_00 = 0x9B7DF02F

DEV_INFO_01 = 0x00000000

DEV_INFO_02 = 0x0000F374

DEV_INFO_03 = 0x00000022

DEV_INFO_04 = 0x00000000

DEV_INFO_05 = 0x000003E0

DEV_INFO_06 = 0x00000080

DEV_INFO_07-DEV_INFO_08-DEV_INFO_09-DEV_INFO_10-DEV_INFO_11-DEV_INFO_12 = 8-0-152606-23-15-23

DEV_INFO_13,DEV_INFO_14,DEV_INFO_15,DEV_INFO_16 = 0,0,0,11435

-----

DEV_INFO_17 = 0x00030003

DEV_INFO_18 = 0x00000000

DEV_INFO_19 = 00000

-----

DEV_INFO_20 = 0x30303864

DEV_INFO_21 = 0x3330306B

DEV_INFO_22 = 0x00000000

DEV_INFO_23 = 0x00000000

-----

DEV_INFO_24 = 0x1701700F

DEV_INFO_25 = 0x0802541E

DEV_INFO_06 = 0x00000080

DEV_INFO_26 = 0x59560000

 

I am not sure what this Device Information is. Is this the first 26-words in SPI-Flash?

 

I also do not understand what the UBLs are for. I tried burning with and without them.

 

 

 

 

 

 

  • Hi, thanks for all of the information up front.

    It looks like you have your boot pins set to SPI0 EEPROM instead of Flash. Can you try setting the boot pins to SPI0 Flash and trying again?

    The Device Information is chip specific information not related to the boot process, so it doesn't really help in this case.

    Jeff

  • That was easy...

    Thanks so much, i could have been struggling with that oversight for quite a while.

    Another dumb question, what are the DSP and ARM UBLs used for?

  • OMAP-L137 boots from the DSP, so if you are just running a DSP program you don't need a UBL. If you want to run ARM code, you will need the DSP UBL to wake up the ARM and setup the reset vectors. The ARM UBL is used to load Uboot and Linux.

    Jeff