Hi, I am new to uVision community. I have installed the latest MDK5.21a along with legacy support.
While working on a simple project of toggling GPIO pins with LPC2378, I am unable to change the pin values in the debugger. Out of 6 registers shown in GPIO peripheral window (FIOxDIR, FIOxSET, FIOxDIR, FIOxCLR, FIOxPIN, Pins), last two (FIOxPIN, Pins) remain stuck at 1 always no matter what output I give to the pin.
I dont know whether its a debugger problem as this device is not by default supported or some minor settings issue.
Please help clarify.
Thanks for your quick response.
As you mentioned, I did try to check if there is any specific configuration needed in the configuration wizard, but I couldn't find any. May be you can help me much faster on this.
Just to clarify - I am not using any external hardware, I am using the inbuilt simulator for debugging.
I haven't used all LPC23xx chips but at least some of them requires that you enable Fast GPIO for the first two ports - else the ports will be compatible with LPC21xx chips:
SCS |= GPIOM; // Want to use fast I/O
Thanks a lot. It solved the problem and actually it was mentioned in the manual, I should have checked it properly.