Problems with peripheral control of a LED on an AT91SAM7X chip
Have a look at this blinking LED sample code.

http://www.olimex.com/dev/soft/arm/SAM7/Blinking_LED.zip

How do you have the LED wired up?