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?
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.