I tried to use SPINLOCK registers from SPL program, but failed to use.
Could you please teach me how to use SPINLOCK registers correctly ?
Though I'm using SPL source code in the AM3352's latest SDK, SPINLOCK registers can't be displayed as shown in Fig.1.
And I tried to modify SPL source code to print SPINLOCK registers as follows.
int *rev_reg = (int*)(0x480ca000); // expected value is 0x50020000
printf("%08x\n", *rev_reg);
But, it jumped to exception handler when reading 0x480ca000.
Fig.1