Post Go back to editing

printf while using UART in DMA mode

Category: Software
Product Number: ADSP-BF592


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

  • Hi,

    Could you please let us know which version of CCES you are using?

    We are unable to replicate your issue. We are able to run CharEcho_Uart example project in CCES 10.0.1 version. Here printf instruction on line 87 is working fine. Please refer the attached screenshot for reference.

    Can you please copy the example from BSP path and place it in other drive and try again in a new workspace.

    If issue still persist means, please share your test project to us.

    This would be helpful for us to assist you further.

    Best Regards,

  • Hi,

    reported CrossCore Embedded Studio is:

    I attach a couple of screenshot

Reply Children