Hello, I'm a beginner on the Red Pitaya and I'm not familiar with C programming. I added a custom IP AXI slave in the FPGA with some registers (this part is correct, I made cat /opt/redpitaya/fpga/xxxx.bit > /dev/xdevcf on the board to configure FPGA with the right bitstream). I'm now trying to make a basic program in C to write and read values in registers but I've always the same issue: segmentation fault.

Hey, thank you very much for your answer! I'll try it and tell you if I find a solution. I asked myself if I didn't have an issue with the bitstream and if I really had read/write access to registers. As I can read/write in these registers with "monitor" command in Linux terminal, I suppose my bitstream is correct, right?

Can it be related to the linker tool? My register appears correctly in .hdf file I used to create BSP, but when I open "Generate Linker Script", only Hardware Memory Map appears and nothing about registers. Is there a way to create links for registers? I'm not familiar at all with Xilinx SDK so I don't know all the tools.
Thank you in advance for your help and have a good day!

Here's the .hdf file:

reg_plage_addr_axi_rc.PNG

And linker script view:

linker_script.PNG

You do not have the required permissions to view the files attached to this post.