After doing the hands on linux tutorial for the Zybo I have some grasp on how to access custom IP in linx. However, I'm confused on how to access the three other registers that the IP core has in the demo. I know its using a file transaction to get the user data and write the data to the IP core register in the kernel space.
Would I have to modify the kernel module source to parse the message and then do an IO write to a indicated register or do I have to write enough data to get to the desired register? Also how would I go about reading specific registers using the procfs method? (i.e. I want to write and read register 2 only).
Question
accel
After doing the hands on linux tutorial for the Zybo I have some grasp on how to access custom IP in linx. However, I'm confused on how to access the three other registers that the IP core has in the demo. I know its using a file transaction to get the user data and write the data to the IP core register in the kernel space.
Would I have to modify the kernel module source to parse the message and then do an IO write to a indicated register or do I have to write enough data to get to the desired register? Also how would I go about reading specific registers using the procfs method? (i.e. I want to write and read register 2 only).
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.