I take data from serial port to DMA , but when program enters a task, I can't access to DMA register's right value.All of registers value is equal to 0xBAD0BAD0 . How can I access this registers with realy value.
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.
I take data from serial port to DMA , but when program enters a task, I can't access to DMA register's right value.All of registers value is equal to 0xBAD0BAD0 . How can I access this registers with realy value.
Hi,
I use Tms570ls3137 if I close DefaultMpuSetRegion() function, my project works correctly..
Hello Hans,
Given removing the DefaultMPUSetRegion() function removal makes everything work as expected, it is probably an issue that the DMA registers are protected from access by the enabled MPU. By skipping this function call, the MPU is, most likely, left uninitialized/disabled allowing normal access.
Let me know if there are any additional questions.
Hi,
I have a similar problem. When dmaSetChEnable(DMA_CH0, DMA_HW); which is locate in my vTask4 is executed. Tms570ls3137 jumps to dabort.asm. In other words dmaREG->HWCHENAS = (1U << channel); is not accessible in a FreeRTOS task. Looking for your help.
Best Regards