 | Discussion Forum |  |
|
|
DMA Not FunctioningNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author kaos ad Posted 3-Dec-2008 13:17 GMT Toolset ARM |  DMA Not Functioning kaos ad Hi, I tried to program the DMA of the MCBSTR9 board but found out that it does not work. So far, Timer, ADC, VIC, & GPIO work for me. The funny thing I see is that when I use simulation mode and run it in debugging mode, writing into the DMA registers like: DMA->CCNF= 0xc000; or DMA_Channel3->SRC = &sourceAddress; give "no write permission" warning message. The same thing goes for reading these registers. I do not get this error for other on-chip peripherals I mentioned above. Can someone shed some light? | | Read-Only Author kaos ad Posted 3-Dec-2008 13:23 GMT Toolset ARM |  RE: DMA Not Functioning kaos ad Sorry I meant to write DMA->CNFR = 1; instead of DMA->CCNF= 0xc000; | | Read-Only Author R M Posted 3-Dec-2008 14:40 GMT Toolset ARM |  RE: DMA Not Functioning R M Maybe this can help you: http://www.keil.com/support/docs/814.htm | | Read-Only Author Tamir Michael Posted 3-Dec-2008 14:47 GMT Toolset ARM |  RE: DMA Not Functioning Tamir Michael have you seen this example in your tool chain installation path? ...\Keil\ARM\Examples\ST\STR91xLib\DMA\EXAMPLE1 | | Read-Only Author R M Posted 3-Dec-2008 15:05 GMT Toolset ARM |  RE: DMA Not Functioning R M No, it stops at ..\Keil\ARM\Examples\ST\STR91xLib\DMA (no Example1 directory) | | Read-Only Author Tamir Michael Posted 3-Dec-2008 15:07 GMT Toolset ARM |  RE: DMA Not Functioning Tamir Michael it is included in MDK 3.20. | | Read-Only Author R M Posted 3-Dec-2008 15:09 GMT Toolset ARM |  RE: DMA Not Functioning R M I already seen this accessing memory error but in my case the evaluation board wasn't correctly chosen in the project options / Device tab | | Read-Only Author kaos ad Posted 4-Dec-2008 14:48 GMT Toolset ARM |  RE: DMA Not Functioning kaos ad Thanks for pointing out the example program. The example program works. But I still have a query. Why Keil IDE simulation mode does not support the DMA? I can see other peripherals in the drop down menu, but not the DMA. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|