Hello everyone I am using a ARM mini2440 kit and I am new to the kit and also to hardware programming. I tried to run the led test program which came with the cd. It was fine but I am not able to understand some of the instructions. Is there any site or any other means where I can understand these instructions and learn how to program hardware Thanx
instructions in ARM mini2440
It's easy to do.
Here is working example from STARTOS:
#define rGPBCON (*(volatile unsigned *)0x56000010) //Port B control
#define rGPBDAT (*(volatile unsigned *)0x56000014) //Port B data
int data = 0x06;
int i;
void Main(void)
{
Buzz(7000, 10);
rGPBCON = 0x155555;
for (i=0; i<30; i++)
{
rGPBDAT = (data<<5);
Delay(200);
data =~data;
}
Exit();
}

