Page 1 of 1

issues with memwrite and memread

PostPosted:
by 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

Re: issues with memwrite and memread

PostPosted:
by support
Hello,

Take a look on this:

viewtopic.php?f=4&t=453

Regards,
Eli

Re: issues with memwrite and memread

PostPosted:
by mugundhan
Thanks Eli ! The issue is now sorted out ! :D