TinkerJim
Member
I encountered a very perplexing 08M2 programming problem. To put it in simple isolated form consider this program:
Main:
High C.1
Pause 2000
Low C.1
High C.2
Pause 2000
Low C.2
High C.4
Pause 2000
Low C.4
For troubleshooting the problem, the ports are each connected to a red LED through a 1K resistor to ground.
It works fine. The Led at C.1 goes on for 2 secs, then C.2 , and then C.4.
But if I interchange the last two 3-line blocks of the program, expecting first C.1 to light, then C.4 and then C.2 - it doesn't work that way ! Instead, C.1 goes on, then C.4, but C.2 doesn't turn on next. In fact C.2 never goes on. The setup just keeps toggling between C.1 and C.4 - as if the last 3 lines were not there and a "goto Main" was at the end.
The circuit is running on batteries which now measure about 4V. I am using Prog.Ed v 5.5.4, and tried 3 different new 08M2 chips (from same batch).
Can anyone please help?
Main:
High C.1
Pause 2000
Low C.1
High C.2
Pause 2000
Low C.2
High C.4
Pause 2000
Low C.4
For troubleshooting the problem, the ports are each connected to a red LED through a 1K resistor to ground.
It works fine. The Led at C.1 goes on for 2 secs, then C.2 , and then C.4.
But if I interchange the last two 3-line blocks of the program, expecting first C.1 to light, then C.4 and then C.2 - it doesn't work that way ! Instead, C.1 goes on, then C.4, but C.2 doesn't turn on next. In fact C.2 never goes on. The setup just keeps toggling between C.1 and C.4 - as if the last 3 lines were not there and a "goto Main" was at the end.
The circuit is running on batteries which now measure about 4V. I am using Prog.Ed v 5.5.4, and tried 3 different new 08M2 chips (from same batch).
Can anyone please help?