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.

Problem in Interfacing external flash, RAM, ROM with C6713 using EMIF



Hi,

I'm trying to interface a 256kx 16 bit Flash with C6713 DSP. I know rhat I have to Code EMIF for it in software. I am following spra568. Its appendix  B. Has sample code for programming AM29LV040. I am using this code in CCSv4. But in this code it gives me error at  emif.h file. Which I think means that I need to include a library in my code. I have searched a lot for this library but haven't found any library  instead I found code for emif.h at:

http://read.pudn.com/downloads197/sourcecode/embed/925331/Dsp_core_sfifo/INCLUDE/EMIF.H__.htm

I copied this code in CCSv4 this code gave me error at regs.h file. Then on searching I found regs.h code at this link:

http://signal.ece.utexas.edu/~vishal/REALTIME/HEADERS/regs.h

I copied it too. and again it is giving many errors. On further search I came across this pdf

http://www.ti.com/lit/ug/spru273b/spru273b.pdf

Now I need to know I just want to interface a  flash with my C6713. Do I need to make an object library  following the steps shown in spru273b. ?

Kindly help me in this regard.

Thanks.

Maheen

  • Hi Maheen,

    Thanks for your post.

    In my understanding, if the linker command file refers the peripheral support library dev6x.lib, ofcourse, yes, you need to build the object library before resolving linker library calls mapped in the command file as part of ccs project.

    One more  info., maybe, you shall walkthrough the below wiki article from TI:

    http://processors.wiki.ti.com/index.php/Flashing_the_C6713_EVM

    Also, you shall refer the library build process (Section 5.5) in the c6000 optimizing compiler guide as below:

    http://www.ti.com/lit/ug/spru187u/spru187u.pdf

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------- 
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thankyou Sivaraj K for your kind response.

    The above link is helpful but it tells how to use Flashburn utility to burn the code in DSP. I am having problem in configuring EMIF with control registers to interface flash memory. 

    On another forum I read that peripheral support library is provided to the user as dev6x.src. But for later processors it  has been replaced by CSL. As I am working on C6713B which has CSL it means i don't need to make this peripheral support library. Also I think I am following a wrong reference document. i.e spra568. Can you plz guide me if I am following the correct reference guide.?

    Thankyou.