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.

file vectors_poll.asm needed

Hi,

 

I am the new user of dsk6713 i need the following files:

 

vectors_poll.asm

can any body provide me its code or file?

 

 

  • Ahmad,

    You reported an error from compiling this file last week, so you had a copy of it then. I do not believe this file comes from TI, and I only found one other reference to it on the forum.

    Why are you looking for a file by this name? If you are starting from an example project that used this file, then I recommend you go to the source of that example project.

    Regards,
    RandyP

  • Ahmad,

    This file comes with the CD in any of the Rulph Chassaing books.

    http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=chassaing

    The books are steep $$, but you may be able to pick up a used one pretty cheap.  Just make sure it comes with the disk--it's really hard to find online.

    dt

    darrell.f.thomas@gmail.com

  • Hi

    hello Ahmad Please find the attached file

    1031.Vectors_poll.asm

  • Thanks very much.....

  • FYI, this file has a bug that has been discussed on the forum with regards to similar vector asm files. Several users had trouble with unreliable booting of the C6713, and this could easily apply to other DSPs using this same file.

    The problem is in using the VEC_ENTRY macro for the reset vector. Since B15 is not initialized at power-up or reset, it could be pointing to any location. This can cause problems if it happens to point to a register or program memory location.

    Add the following to the file:

    Add to the asm file said:

    RST_VEC_ENTRY .macro addr
        NOP
        MVKL  addr,B0
        MVKH  addr,B0
        B     B0
        NOP
        NOP   2
        NOP  
        NOP  
       .endm

    Then, change the _vector0: line to the following:

    Change in the asm file said:

    _vector0:   RST_VEC_ENTRY _c_int00 ;RESET

    Regards,
    RandyP