Page 1 of 1

help with reading 0x40200014 in python

Posted: Tue Apr 28, 2020 5:40 pm
by jonbean27
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

Re: help with reading 0x40200014 in python

Posted: Tue Apr 28, 2020 7:46 pm
by jonbean27
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