Hi, I just wanted to start programming ARM, I got an NXP LPC1768 board! I wrote my first program!
here is code
#include "LPC17xx.h" int main(void) { int a; LPC_GPIO1->FIODIR=1; while(1) { LPC_GPIO1->FIOSET=1; for(a=0;a<7200000;a++); LPC_GPIO1->FIOCLR=1; for(a=0;a<7200000;a++); } }
but I don't know how I should make it start at address 0x2000 (according to my boards manual, it says for easy and cheap programming, instead of j-link it uses .bin, I must just copy the file into the device memory like a flash and that's all, but also says that till 0xf1hhh is sued by bootloader, so I must sue 0x2000 for program) how can I change the starting address too 0x2000? I'm using Keil uVision 4.27