hi I work by LPC2138/01, and i config I/O ports as fast I/O(SCS=0x3). i change I/O pin in simulation exactly, also I/O pins change whitout any problem in run mode. but i cannot change I/O pin in debugging mode, even when i click a bit on PINxDIR register manually, it unchecked after a short time. I use Keil V4.6.00. How can I solve my problem by fast I/O pin in debug mode???
Review your hardware design, make sure all clocks are enabled.
Simulators are not good at reflecting the board the chip is soldered too.
Thankyou but my LPC2138 works whitout any problem in run mode, just problem is in debugging mode. If possible more explain about your solution.
But are you clicking any registers in any dialogs when running on real hardware?
when i click on any register, no problem. (even slow GPIO dialog) just when i click on any fast GPIO registers, it becomes unchecked after short time.
But the registers you see in the dialogs takes input from two directions - your clicks, and any changes that are the result of your program.