in reply to Accessing Memory-mapped I/O

Perl is not limiting your access, but you are using buffered I/O to access MMIO space, so perl is trying to read much more than you actually have. Try sysopen/sysseek/sysread/syswrite instead.

Replies are listed 'Best First'.
Re^2: Accessing Memory-mapped I/O
by jdmonk (Initiate) on Nov 04, 2019 at 19:25 UTC
    I've tried using sysseek and have the same problem: bad address.