I've recently started with SPI with DMA on OMAPl138. I have tried to test the example spiEDMA coming with StarterWare. The compiling of the code works well but when I try to debug in the experimenter kit it fails in the downloading time (ARM9_0: GEL: File: C:\Archivos de programa\Texas Instruments\OMAPL138_StarterWare_1_10_01_01\build\armv5\cgt_ccs\omapl138\evmOMAPL138\spi_edma\Debug\spiEdma.out: a data verification error occurred, file load failed.)
So I tried to compile it to use C674x core and I can start the execution. The problem is that it doesn't work always, some times the transfer from the memory to the SPI port doesn't work just because the inclusion of a new code line like an assignment of an unused variable. I thought that it could be compiler problem but I have installed the last actualization (TI v7.3.1) and the problem remains. I'm not able to make work the reading to from the SPI to the memory too.
I need some help.
Thanks.