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.

[参考译文] AM6442:在 SA2UL 的 AES 算法的处理过程中、为发送和接收配置 DMA 时、输入和输出数据的物理地址是否必须是可变的?

Guru**** 2482105 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1453733/am6442-in-the-processing-of-the-aes-algorithm-of-sa2ul-when-configuring-dma-for-transmission-and-reception-does-the-physical-address-of-the-input-and-output-data-have-to-be-variable

器件型号:AM6442

工具与软件:

我们目前正在开发自己的软件平台。 目前、我们指的是用于移植驱动程序软件的 MCU SDK 和 Linux SDK。  我目前正在调试 SA2UL 驱动程序。 目前、调试过程中我们发现、在 AES 算法处理过程中、如果为 DMA 描述符配置的数据地址(物理地址)被固定、执行将异常、无法正确返回数据。 每次执行 AES 加密或解密时、都必须重新分配新的 DMA 存储空间才能正确执行。 这是正常情况还是由于我的器件上的其他配置错误? 执行 SHA256算法时不会出现此类问题。 可以使用固定的 DMA 空间返回正确的结果。