issues with memwrite and memread

Questions and discussions about the Xillybus IP core and drivers

issues with memwrite and memread

Postby mugundhan »

Dear Eli,

I've included a seekable RAM interface in my xillybus core along with the streaming interface. The xillybus_mem_8 device is 32 samples deep and 32 bits wide. I checked that the device exists in /dev list. When I do a hex dump, I'm able to see that all the 32 locations have a value of 0 initialized (as expected). But when I use the following command for memwrite:

sudo ./memwrite /dev/xillybus_mem_8 0 1; followed by
sudo ./memread /dev/xillybus_mem_8 0

I see the output is Read from address 0: 0.

Also, when i give the address argument more than 1, in both memwrite/memread, it says "Failed to Seek: Invalid Argument".

Kindly advice !

Thank you,

Mugundhan
mugundhan
 
Posts: 13
Joined:

Re: issues with memwrite and memread

Postby support »

Hello,

Take a look on this:

viewtopic.php?f=4&t=453

Regards,
Eli
support
 
Posts: 802
Joined:

Re: issues with memwrite and memread

Postby mugundhan »

Thanks Eli ! The issue is now sorted out ! :D
mugundhan
 
Posts: 13
Joined:


Return to Xillybus