This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Parents
  • Note: This was originally posted on 1st August 2011 at http://forums.arm.com

    From the Ref, I find out that's L1 DMA for TCM blocks transfering. Right  now, I use the open("/dev/mem") + mmap to directly read/write the  virtual address returned by mmap, like var = tcm_addr[i] or tcm_addr[i] =  var in user space. Since a dedicated L1 DMA is provided, does it mean  the direct access to TCM like I did above is wrong?? Do I need to transfer blocks from main memory to TCM each time I want to put data to it?
Reply
  • Note: This was originally posted on 1st August 2011 at http://forums.arm.com

    From the Ref, I find out that's L1 DMA for TCM blocks transfering. Right  now, I use the open("/dev/mem") + mmap to directly read/write the  virtual address returned by mmap, like var = tcm_addr[i] or tcm_addr[i] =  var in user space. Since a dedicated L1 DMA is provided, does it mean  the direct access to TCM like I did above is wrong?? Do I need to transfer blocks from main memory to TCM each time I want to put data to it?
Children
No data