Forum Discussion
Hi Itzthiru
Is the LED connected to the HPS GPIO or a PIO soft IP?
When you connect to the PIO Soft IP you could interface it through the HPS to FPGA bridge.
You could use the devmem tool to read the memory address starting from the HPS to FPGA bridge it is connected to , either lightweight or normal.
You could get the base address from here:
https://www.intel.com/content/www/us/en/programmable/hps/arria-10/hps.html
As for the offset you could get it from the Quartus Platform Designer Tool under the Address Map Tab.
If you have registered the GPIO in the device tree, you could view the GPIO in the linux /dev directory.
Regards
Jingyang, Teh
- Itzthiru3 years ago
New Contributor
Hello @JingyangTeh_Altera,
Thank you for prompt response. I am a beginner in this Arria 10 SoC BareMetal Programming. I have completed my installation using this link: SoCEDS and ARM Development Studio | Documentation | RocketBoards.org . Now I would like to move forward with basic sample programs. I got stucked with toggling the HPS LED. Is there any possibility to toggle the LEDs connected to the HPS directly or is there any pre-configurations need to be done before doing this. If so, can you elaborate the steps and procedures to move forward with this? Also share me the latest document for installing software packages and working with BareMetal programming.
Thanks and Regards,
Thiru.