在OCRAM 和DRAM中使用DAM传输数据异常

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

在OCRAM 和DRAM中使用DAM传输数据异常

783件の閲覧回数
tim-wei
Contributor I

在使用SDK_2.6.0_EVK-MIMXRT1010_ALL_2\boards\evkmimxrt1010\driver_examples\edma\memory_to_memory中的例子 

AT_NONCACHEABLE_SECTION_INIT(uint32_t srcAddr[BUFF_LENGTH]) = {0x01, 0x02, 0x03, 0x04};
AT_NONCACHEABLE_SECTION_INIT(uint32_t destAddr[BUFF_LENGTH]) = {0x00, 0x00, 0x00, 0x00};

改为

uint32_t srcAddr[BUFF_LENGTH] = {0x01, 0x02, 0x03, 0x04};
uint32_t destAddr[BUFF_LENGTH] = {0x00, 0x00, 0x00, 0x00};

   RW_m_data2 m_data2_start m_data2_size { ; RW data
            .ANY (+RW +ZI)
   }
   RW_m_ncache +0 EMPTY 0 {
   }
   RW_m_ncache_unused +0 EMPTY m_data2_size-ImageLength(RW_m_data2)-ImageLength(RW_m_ncache) { ;          Empty region added for MPU configuration
   }

srcAddr 和destAddr 的地址定位到OCRAM中

此时destAddr 接收的数据全是是0 ,

请问OCRAM 地址怎么使用DAM 正常收发数据

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

713件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer to the Cache maintenance by application section in the application note:
https://www.nxp.com/docs/en/application-note/AN12042.pdf for details.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信