Greetings,
Im using DS-5 with my board (Cyclone V SoC FPGA with Cortex A9) and I cant find GIC and some other private peripherals of my MCU (like private timers etc.) in Registers view while in debugger mode.
Am I missing something? Should it be visible or not?
Hello - did you specify the peripheral description file?We provide examples in the DS-5 installation as above.See also the Kernel debug video below (circa 2:10)https://developer.arm.com/products/software-development-tools/ds-5-development-studio/editions/customized-editions/intel-soc-fpga
Hi Ronan. Thx for your answer.
No - i did not specyfied any file (I was able to see core and peripherals registers already, without pointing to any external file).
I found that directory in my DS-5 installation path, containing hps_svc.tcf file (is this the one im looking for ? I have opened it with text editor but couldn't find any registers refered to GIC controller).
But i found another folder in \sw\debugger\configdb\Cores\Registers\GIC and containing xml files refering to GIC. Isnt it the correct file and directory ? (cant try it at home right now :D)
Hello again,
So i did what Ronan said but result seems to be inaccurate.
After pointing to /SoC/Altera, bunch of additional registers were discovered by debugger BUT ... ony item refered to GIC is called i_gic_wrapper and is starting from 0xFFFC1000 (according to a9 TRM, Cyclone V Handbook and GIC TRM interface ragisters are located 0x0100 from CBAR and distributor is located 0x1000 from CBAR resulting in 0xFFFEC100 and 0xFFFED000). All altera libraries are using correct values.
So, to sum up, i_gic_wrapper has wrong base addres and its contend is unavaible to read
I believe that folder contains configs for many boards - are you using one of the default Cyclone configurations in the tool, that should only show the appropriate peripheral set. If you use the folder with a generic connection, then it will show all, as it would not know which set to use.That being said, I note you are refering to the Arm GIC, and so this should not be needed as part of this. I don't have a Cyclone board to hand but with basic testing with an FVP virtual platform, I also note that GIC registers are not visible for Cortex-A9... let me check on this internally...
Hi,
Still no fix or workaround? I just noticed that also private and global timers are missing, same with L2 controller.
Hello again, apologies for the slow reply.
I have replicated the issue, and unfortunately cannot find an immediate workaround.
The GIC registers (and others) are memory mapped, and so you can interrogate their values in memory, with, for example, the 'x' (eXamine) command.
We apologise for this inconvenience, and will look to address it as soon as possible.