??? 04/12/07 04:54 Read: times |
#137015 - right,but Responding to: ???'s previous message |
Jan,
Maybe you are right,i had readed the datasheet and see the context about interrupt,and know things should go in this way,that is why i am so confused. but,when i add the code below before set EA=1,the program can run 18 houres without any error,and without the code ,an error will be occured in few houres(sometime less than 1 hour) and cause the MCU died, if((TF0==1)&&((TI==1)||(RI==1))) { TI=0; RI=0; } thank you for reply |
Topic | Author | Date |
two interrupts request at the same time | 01/01/70 00:00 | |
datasheet | 01/01/70 00:00 | |
right,but | 01/01/70 00:00 | |
error? what kind of error? | 01/01/70 00:00 | |
not reset,in debug PC don't change any more | 01/01/70 00:00 | |
Sounds like an atomicity problem | 01/01/70 00:00 | |
Maybe an event gets lost | 01/01/70 00:00 | |
initialization sequencing | 01/01/70 00:00 | |
a rare bug.... | 01/01/70 00:00 | |
Interupts![]() | 01/01/70 00:00 |