Cannot access all UIO API registers

Applications, development tools, FPGA, C, WEB
Post Reply
fschmid
Posts: 1
Joined: Sun Mar 25, 2018 4:09 pm

Cannot access all UIO API registers

Post by fschmid » Sun Mar 25, 2018 4:34 pm

Hi,

I'm currently trying to add some features to the stock v0.94 firmware. For communication with the outside world I extended the API and the scpi-server.

Unfortunately, it seems like the higher FPGA registers (0x40500000 to 0x40700000) are not accessible via the UIO api device.

In the .dtsi-file the registers 0x40000000 to 0x40700000 are configured:
github.com/RedPitaya/RedPitaya/blob/v0.98/fpga/dts/uio-api.dtsi
However, mmap'ing and accessing the higher registers results in a segfault.
I listed the UIO mappings of the api node with the following command:

Code: Select all

cat /sys/devices/soc0/amba_pl/40000000.api/uio/uio1/maps/map*/name
hk
acq
asg
pid
ams
Here the higher registers ("daisy", "unused", and "test") also don't show up.

Does anyone have an idea what is going on? In the config all registers look exactly the same. Am I looking at the wrong device tree file?

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