Hello,
I am new to Keil/Embedded coding. I am using LPC 1768 and debugging in simulation mode for simply getting some data through GPIO's. I put all peripheral configurations and write C code. There is no compiler error, when I debug the code then the program is halted in SystemInit(); and simulation does not go further as this error : " Error 65: access Violation at 0x400FC08C : no write Permission" apperas in command window and after that there are similar kind of other errors for "no read permission". Please suggest that How this problem can be resolved?
Thank You San
I was looking at the LPC1768 page on Keil:
http://www.keil.com/dd/chip/4868.htm
Looks like you can use the GUI to configure the components without writing C code.
see for example the PLL that you were trying to configure in C.
http://www.keil.com/dd/vtr/4868/13876.htm
http://www.keil.com/uvision/db_sim_prf_peripherals.asp