We are planning to use AM64x MPU in our productions in future. And when I use the DMA function of AM64x, I have one questions ask you
When the SysConfig version is 1.13.0, the DMA configuration is normal shown as follows:
However, when I change the SysConfig version to 1.20.0, the DMA configuration looks abnormal shown as follows:
Like you see, the PKTDMA_0 becomes grey, and when I debug, it shows
So I guess failed reason is that PKTDMA_0 becomes grey. So can you explain why it becomes grey?
您好,
根据上述日志,您似乎仍在使用 8.6 MCU+SDK 版本。
在 8.6 MCU+SKD 版本中,我们推荐使用 1.14.0 的 syscfg 版本,不推荐使用新版本的 syscfg 1.20.0。
您能否分享解决上述错误的所有步骤?
有多少外围设备在您的应用程序中使用 DMA?
您是否将 syscfg 1.20.0 版本集成到 8.6 MCU+SDK 版本中?
并尝试为 UART 启用 DMA?
您好,感谢回复,分享一下使用上的细节
1. 第一次使用:8.6 MCU+SDK版本,1.14.0的syscfg版本,TI Clang v2.1.2.LTS版本的编译器,配置了三个UART,前两个启用了PKTDMA,第三个没有启用DMA,运行正常,且配置如下:
2. 第二次使用:升级到10.0 MCU+SDK版本,1.20.0的syscfg版本,TI Clang v2.1.2.LTS版本的编译器,跟第一次是同样的程序,但不能正常运行,配置如下:
但此时程序不能正常运行,debug的时候卡在了这一步,如下图所示:
3. 第三次使用,直接在10.0 MCU+SDK版本,1.20.0的syscfg版本的例程上添加上述功能,同样使用TI Clang v2.1.2.LTS版本的编译器,配置了两个UART并启用PKTDMA,与此同时,还启用了另外一个BCDMA,配置如下:
此时程序也不能正常运行,debug的时候也卡在UART_open函数,但是console窗口并没有输出字符,所以可能是UART_open的不同位置,如下图所示:
综上,是编译器的问题?我自己使用的问题?还是有其他问题?