mke_et
Thank you for the response.
I am using Full Chip Simulation in CodeWarrior for the debugger and, as far as this problem is concerned, I have no actual hardware. I am stepping through the program while watching the pertinent registers.
The problem only exists when I have created the project with "Device Initialization" or "Processor Expert". Something is being set by PE that does not occur if I do everything manually.
I am still not confident with my understanding of DDR, but let me say what I am doing. I have kept DDRA (for pins 3,4,5) permanently in the Output mode. I am not, at the moment, attempting to ever read these bits, but am only monitoring them. If this is in error, I don't understand why it works for pins 3 and 5, but not for pin 4.
For example, having previously zeroed PTA:
PTA_PTA3=0x01; works in that bit 3 sets to 1
PTA_PTA4=0x01; does nothing
PTA_PTA5=0x01; works
regardless of PTAPUE.
Len