AnsweredAssumed Answered

Link Buffer problem after Update7

Question asked by satish.isro on May 4, 2010
Latest reply on May 20, 2010 by satish.isro

Good Morning!

I have been using the following  code(partial) to simulate a program that I am writing. I am using ADSP21160 device in VDSP 5.0 Environment. The data is received through link port data to process it and is transmitted it via another link port. This was working fine until I updated VDSP++ 5.0 with update 7. Now when I simulate the code using a file with integer or hex data, the lbuf does not get the value from the file but it is loaded with some garbage data. Please let me know what is going wrong. I have not changed the code at all. It continues to work as it is when the update7 is unstalled.

 

Regards,

Satish

 

The relevent section of my code is:

 

       r0=0;
       dm(LAR)=r0;
       dm(LCTL0)=r0;
       dm(LCTL1)=r0;

       r0=A2LB2 | A1LB1;
       dm(LAR)=r0;

       r0=0;
       r0=L2EN | L1EN | L1TRAN | L1DPWID;
        dm(LCTL0)=r0;
       r0=0;

 

       ustat1=dm(LCOM);
        bit tst ustat1 L2STAT0 ;
       if not tf jump start;

       r0=dm(LBUF2);         //Current Pixel

Outcomes