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.

Programming SPI Flash on OMAP-L137 EVM

Other Parts Discussed in Thread: OMAP-L137

The particulars:
- OMAP-L137 EVM from Spectrum Digital
- CCS 3.3.81.11
- Connected using on-board JTAG
- Using current GEL file from Spectrum Digital.
- OMAPL137_dsp_1_00_00_11 SDK

I am trying to program the SPI flash via the USB JTAG. I can connect to the ARM and halt it. When I try to load the program "spiflash_writer_ccv3.out", I get

"Data Verification failed at address 0xC0011944. Please verify target and memory map"

I can view that memory location. It is reported as 0x00000000. I cannot change the location. Any changes will revert back to 0x00000000.

I have been following the instructions on this page:
http://processors.wiki.ti.com/index.php/Restoring/Flashing_OMAP-L137_Bootloaders

I have also tried running the GEL menu command "Setup_Memory_Map" before loading the program. Same error.

Any ideas?

  • Is the address of failure consistent? Since this location is in external SDRAM, it points to one of three likely things: misconfigured EMIF/SDRAM setup by the GEL file, issue with the board connection between the OMAP-L137 and the SDRAM, or a failure of the SDRAM itself.  Is there a memory test program you can run?  Can you pick some random locations in the 0xC0000000-0xC2000000 range and see if they can be read and written via the memory window? That is, check to see if any part of the external memory works. If no address in memory works, I would guess the EMIF/SDRAM setup is incorrect.

    Regards, Daniel

  • I have run the entire stack of UBLs, U-Boot and Linux 2.6.37 on this board. Linux defintely uses the SDRAM. No problems. I am pretty sure the HW works.

    I've tried CCS memory fill function with a non-zero value. A range of 0x20000 takes about 30 seconds. The result is zeroes afterwards.

    I am using all of Spectrum Digital's BSL. Specifically this GEL file.

    http://support.spectrumdigital.com/boards/evmomapl137/revg/files/evmomapl137_arm.gel

  • Boot up Linux and connect in CCS. Then copy/save the EMIFB settings (address 0xB0000000). Then compare that to the settings that aren't working when you try to run the SPI Flasher.

    Attach both in the next message if they differ. Thanks

    Jeff

  • Found the problem. Operator error on my part. I skipped the DSP part thinking I only needed to execute code on the ARM. Starting up a CCS session on the DSP first fixed the problem, ie. runs enough of the DSP GEL to enable the ARM. Thanks for the comments.