Post Go back to editing

printf while using UART in DMA mode

Category: Software
Product Number: ADSP-BF592

Hi,

silly question

i am playing with a ADZS-BF592-EZLITE board. I imported CharECHO_UART example but, after activating DMA mode with:

eResult = adi_uart_EnableDMAMode(hDevice, true);

the first printf method generates this error:

A non-recoverable error or exception has occurred.
Description: An illegal data memory access has occurred.
General Type: RunTimeError
Specific Type: DCPLBProtectionViolation
Error PC: 0xffa01440

This error does not happens if i do not use DMA mode.

It looks like printf is writing something into memory instead of printing on console

Parents Reply Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.