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.

eZdsp F28335 Xintf read but not write!

Dear Community,

I am attempting to use ZONE7DATA memory starting with the DMA_xintf_to_ram example provided by TI.

I do not succeed though in writing the external memory. In fact I can see that the buffer is not changed by this code:

 

#pragma DATA_SECTION(DMABuf1,"DMARAML4");
#pragma DATA_SECTION(DMABuf2,"ZONE7DATA");

volatile Uint16 DMABuf1[BUF_SIZE];
volatile Uint16 DMABuf2[BUF_SIZE];

[...]

 for (i=0; i<BUF_SIZE; i++)
  {
     DMABuf1[i] = 0;
     DMABuf2[i] = i;
  }

[...]

 

In fact DMABuf2 is not affected at all by this instructions and remains full of 0xFFFF but at the end of the program DMABuf1 contains the same things. So the memory appears to be read-only. (I put a break point after the for and DMABuf1 is full of zeros after the for loop).

Is there anyone who has an idea of what is going on?

 

Thanks you very much for you precious time,

        Andrea

  • Andrea,

    If I recall the device is in a socket on that board.  You may want to try re-seating it to make sure the connections are good.

    It sounds like either a strobe is not making good contact or the XINTF is not properly initialized.   On 2833x the XINTF has a clock that needs to be enabled and the GPIOs must be configured to the XINTF function after reset.

    There should be a enable XINTF function in the gel file - if you use this function and then try to write to XINTF in a memory window does it work?

    Another thought is to do a write and watch the chip select and write strobe on a scope to see if it is responding.   Likewise with a read - watch the chip select and the read strobe.

    -Lori

  • Hi Lori,

    thank you very much for you help. The XINTF enable is run automatically in the F28335.gel file which is included in my project. I tested the same code on another board and it works.

     

    So sad but true, the DSP or the socket are broken.

    Ciao,

           Andrea

  • when the DSP is in that clamping socket it might see bending into horizontal position of the outermost segment of the pins.

    this means that some pins will not make any contact at all. this might be induced by opening the clamping a few times (3-5?) or even by just the clamping force.

     

    what can you do in such a case?

    a) take a brand new DSP with those slightly bent outer pin segment. (if the socket contacts are bent as well then this wont buy you much.)

    b) turn the DSP upside down, take a thin blade and put it into the gap between pins and housing (do not cut!), then with a second tool applied from the front slightly un-bend the outer tips of the pins so that they will point outwards-downwards (relative to normal position). the degree of bending should be somewhat visible to you. you might need to do this twice if you dont achive a total success.