<div dir="ltr"><p>Hi all,<br></p><p>I used the following code to get the value of the control register 'SCU13C' in BMC Aspeed AST-2500.</p>
<p>#include<stdio.h></p>
<p>#define SCU13C_ADDR 0x1E6E213C<br>
int main()<br>
{<br>
long reg;<br>
reg=123;<br>
reg = *(volatile long *)(SCU13C_ADDR);<br>
printf("%li",reg);<br>
return 1;<br>
}</p>
<p>Running the code I am getting Segmentation Fault (Core Dumped). Please someone help to resolve the issue.</p><p><br></p><p>Thanks and Regards,</p><p>Akash<br></p></div>