Forum Discussion

RClan2's avatar
RClan2
Icon for New Contributor rankNew Contributor
4 years ago

Accessing Sysid using Terasic DE10-Standard and provided GHRD

I am trying to prove the lw_axi bus is operating properly with a simple test as follows:

1) using Terasic DE10 with the provided DE10_Standard_GHRD.sof program the board

2) attach to the HPS using the ARM Development Studio IDE

3) Using the memory option attempt to read 0xff021000 which is the base address of the SysID component in this GHRD.

It seems like I get a bus error when I attempt to do this. I have also attempted to do the same with code.

e.g.

actual=*(unsigned int *)0xff201000;
printf("actual = %08x\n",actual);

Note also that many other things work.

e.g. //reads from clock manager

for (i=0;i<6;i++)
{
actual=*(unsigned int *)(0xffd04000 + i*4);
printf("0x%02x, actual = %08x\n",i,actual);
}

Thanks in advance.