issues with memwrite and memread

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: issues with memwrite and memread

Re: issues with memwrite and memread

Post by mugundhan »

Thanks Eli ! The issue is now sorted out ! :D

Re: issues with memwrite and memread

Post by support »

Hello,

Take a look on this:

viewtopic.php?f=4&t=453

Regards,
Eli

issues with memwrite and memread

Post 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

Top