Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: CC3100 Fs Module causes DMA Error within TI-RTOS

$
0
0

Hi Glenn,

What version of TI-RTOS for TivaC are you using?

I was not able to reproduce the problem on TI-RTOS 2.0.2.36.  Can you add the function below to the beginning EK_TM4C123GXL_errorDMAHwi function?

       int i;         for (i = 0; i < 32; i++) {               if ((int)EK_TM4C123GXL_DMAControlTable[i].pvSrcEndAddr < 0x20000000) {                      System_printf("DMA channel %d source address is 0x%x\n", i,                            EK_TM4C123GXL_DMAControlTable[i].pvSrcEndAddr);               }               if ((int)EK_TM4C123GXL_DMAControlTable[i].pvDstEndAddr < 0x20000000) {                      System_printf("DMA channel %d source address is 0x%x\n", i,                            EK_TM4C123GXL_DMAControlTable[i].pvDstEndAddr);                }        } 

This function will print the flash addresses that the DMA tried to access.  You can then use the Memory Browser to see the data.  

Finally, would it be possible to post your code.

-- Emmanuel

 


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>