help with reading 0x40200014 in python

Just about everything about Red Pitaya
Post Reply
jonbean27
Posts: 12
Joined: Thu Jun 11, 2015 9:19 pm

help with reading 0x40200014 in python

Post by jonbean27 » Tue Apr 28, 2020 5:40 pm

Hi friends,

I'm working on a _very_ simple project to achieve continuous streaming from the ASG at relatively low data-rates, and I just need to expose the value of memory mapped address 0x40200014 to my python code. In the past I would have used mmap to do this, but it appears that, while I've been away, things have been modified on the linux side to make most stuff MUUUUCH easier. /dev/gen0 for the ASG is _awesome_!

The problem is that, as far as I can tell, 0x40200014 is not exposed to me anywhere, nor can I mmap it anymore (permission denied error in python?!). Advice?

Thanks,
Jon

jonbean27
Posts: 12
Joined: Thu Jun 11, 2015 9:19 pm

Re: help with reading 0x40200014 in python

Post by jonbean27 » Tue Apr 28, 2020 7:46 pm

Nevermind. I see that the entire memory map has been changed for the mercury IP, and that the new ASG doesn't even expose the address pointer _at all_ like the old one did. I think it's time to jump ship and go back to the 0.97 bitfile-- much less elegant but better for my purposes.

Cheers,
Jon

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 5 guests