Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
TCM access on s3c6410
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
3222 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
TCM access on s3c6410
Zova Chou
over 12 years ago
Parents
Zova Chou
over 12 years ago
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?
Cancel
Vote up
0
Vote down
Cancel
Reply
Zova Chou
over 12 years ago
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?
Cancel
Vote up
0
Vote down
Cancel
Children
No data