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.

关于6455的DDR用memcpy

memcpy((void *)msg.addr, (const void *)DMA_WRITE_BUFF_ADDR, msg.len);      当多次调用这个函数的时候 偶尔会出现 msg.addr地址的值与DMA_WRITE_BUFF_ADDR地址的值不一样。 msg.addr和DMA_WRITE_BUFF_ADDR 分别对应DDR的一段地址空间 。     msg.len 长度 小于 两者的地址空间,也就是说,也就是说msg.len 长度不大。为什么会出现错误的树呢? 难道DDR 用memcpy函数会出错吗?