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.

DRA821U: 共享内存MCU域和main域cache不同步问题

Part Number: DRA821U


A72跑的是linux,申请了一段共享内存写入指定数据,通过IPC 把地址和长度发送给R核.R核收到地址使用 CacheP_Inv(addr,len)函数同步cache,以上方法对MCU2_0和mcu2_1可以实现数据同步,但是对于MCU1_0不好用,A核申请内存的时候使用了 mmap(NULL, size, PROT_READ | PROT_WRITE | O_SYNC , MAP_SHARED, fd, 0) ,有什么好的解决方案吗?