| ??? 02/21/08 14:46 Read: times |
#151254 - I tried the blinking led... Responding to: ???'s previous message |
and OK. I wrote a simple code to blink a led each second without using any interrupt and the micro worked properly in both boards. I will check the interrupts pins to ground now. I used this code:
main: mov 30h, #08 mov 31h, #08 mov 32h, #236 TT0: djnz 32h, TT0 djnz 31h, TT0 djnz 30h, TT0 clr P1.7 mov 30h, #08 mov 31h, #08 mov 32h, #236 TT1: djnz 32h, TT1 djnz 31h, TT1 djnz 30h, TT1 setb P1.7 jmp main |
| Topic | Author | Date |
| Slow program execution | 01/01/70 00:00 | |
| try something simple | 01/01/70 00:00 | |
| is it running at exactly 1/3 the devboard speed? | 01/01/70 00:00 | |
| 3rd overtone xtal not likely at 11.0592MHz... | 01/01/70 00:00 | |
| 3rd overtone crystal? | 01/01/70 00:00 | |
| yes, this means no overtone | 01/01/70 00:00 | |
| good catch | 01/01/70 00:00 | |
| I tried the blinking led... | 01/01/70 00:00 | |
| Slow? | 01/01/70 00:00 | |
| I've seen that | 01/01/70 00:00 | |
| this is not the case | 01/01/70 00:00 | |
| You're right | 01/01/70 00:00 | |
| sounds like intermittent clock | 01/01/70 00:00 | |
| Slow operation, normal UART | 01/01/70 00:00 | |
| I found the problem | 01/01/70 00:00 | |
| for what purpose? | 01/01/70 00:00 | |
| IIRC, it's vanilla in this respect... | 01/01/70 00:00 | |
| interrupt | 01/01/70 00:00 | |
| I can see an 'exotic' case or two | 01/01/70 00:00 | |
this is one of the reasons | 01/01/70 00:00 | |
| Please post your schematic? | 01/01/70 00:00 | |
| And photos? | 01/01/70 00:00 |



