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.

uable to flash the OMAPL137 evm using XDS510 USB emulator.

Hi,

I have OMAPL137 evm Board and i am trying to flash the board using XDS510 USB jtag. I am unable to configure jtag on the board.

Can any one help for this. i use the CCS v4.0.

 

Thanks

Lokesh

  • Lokesh,

    lokesh kumar said:
    I have OMAPL137 evm Board and i am trying to flash the board using XDS510 USB jtag. I am unable to configure jtag on the board.

     

    Please see the following Wiki Page on connecting the XDS510 with CCSv4. If you still have trouble after these steps please post back to this thread.

  • Hi Drew Abuan,

    thanks for the link

    I went through the wiki link and i was able to flash dsp and arm ubl, but i am getting the error at the end of uboot loading

    ie;

    PP: 0xc0010734 => cmd = { 0x02 0x024e00 } chunk_len = 256
    SF: Winbond: Successfully programmed 256 bytes @ 0x24f00
    Reading verifying the file.. Files did not match @ 147712

     

    If i am flashing only u-boot then the file is matched

    Please can you tell me where i am missing.

     

    Thanks,

    Lokesh

  • Lokesh,

     

         Unfortunately, I'm not an expert in regards to Linux, so I'm not sure what error is happening in your particular application. Please take a look at this wiki on OMAP-L137 Linux Boot. The boot up sequence is listed here which may help you further to track down at what point the issue occurs.

  • Drew,

     

    I am not using the linux platform but I am in somewhat similar situation 

     

    I am using a spiflash_writer_dsp program to write in the flash and it gives message as

    verifying the files .. files matched 

     

     

    Does that confirm that the flash was programmed successfully ??

     If yes apart from this if I have the switch sw2 in 0101x state should the omap boot up from the flash or am I missing something??

    Is SPI0 flash mode executable in standalone mode as in one of documents I say asterisk on other modes like SPI0 EEPROM that they are executable standalone mode but nothing on SPI0 flash mode , does that mean SPI0 flash is not a standalone executable mode??

     

    Regards

    NIKHIL RAJPAL

  • Hi NIKHIL RAJPAL,

     


    If you are using Jtag and CCS for flashing to SPI0 you have to keep the switch SW4 to "11111x" ie; Debug mode, and after the flashing is completed you can 

    change the switch settings of SW4 to "01010x" ie; SPI0 mode .......

     

    hope this helps you...........

     

    Thanks

    lokesh

  • Hi Lokesh,

    Yes I did that (missed to mention it). The console in CCS also gives me the message that the winbond flash on the EVM is programmed and the files matched on verification. 

    I also checked on the oscilloscope that thr is data transfer on the SPI pins while programming the flash through the DSP.

    But when disconnect-turn off- turn on the system I dont see execution of the  program, and even no data exchange on the SPI data pins observed on the scope on restart. 

    Do you have any clue how to test whether the system is booting up or not??

    Secondly I noticed in the Tech-ref of the Spectrum digital board (for OMAPL137EVM ) I see an asterisk mark on some of the boot modes saying that "supported by standalone system" which doesnt include SPI0 flash mode , Does that mean the system cannot run as standalone with SPI0 flash mode selected ? or have you ever tried run the EVM board standalone with SPI0 flash mode selected??

    Any inputs or suggestions welcomed !! Thanks for mentioning previous check!!!

     

    Regards
    NIKHIL RAJPAL 

  • Hi nikhil,

     

    Sorry a big mistake it should be SW2 instead of SW4.

    Please check your board revision and accordingly set the boot pins.

    and i think the binaries are making the difference, can you try the Davinci-PSP-SDK package from the website

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/LinuxPSP/DaVinci_03_20/index.html

     

    Hope this helps....

     

    Thanks,

    Lokesh