pmarques
New Contributor
1 year agoHow to access PIO register through a bare-metal application running on Agilex-5 HPS ?
I'm trying to run a simple bare-metal application running on HPS in the Agilex-5 065B Premium DevKit.
So far I've successfully ran this bare-metal example: https://altera-fpga.github.io/rel-24.3.1/baremetal-embedded/agilex-5/e-series/premium/ug-baremetal-agx5e-premium/
Now I'm trying to read/write a PIO register (DIPSW, LEDs) connected to the HPS via Avalon Memory Mapped Pipeline Bridge (same as in the GHRD).
My question is what functions/libraries do I need to use to access these registers ? All the docs and examples that I found are either for the NIOS soft processor or for older platforms (Arria, Cyclone).
Thanks,
PM.