??? 04/12/07 08:38 Read: times |
#137022 - not reset,in debug PC don't change any more Responding to: ???'s previous message |
Jan,
the program runs correctly when adding the code i just told you,this is the only difference. i program in KEIL C,and UART0 have high priority, if i set the TF0&RI/TI flags manually as you said ,everything goes well, is there any different between manually set and hardware set,you know ,the datasheet say TF0 is set&clear by hardware,TI/RI is set by harware ,clear manually someone told me the problem occurs when bank switching is interrupt,but as I say there is only one difference. and TO Russell Bull i am sure it is die ,not loop because i have used DEBUG into it,when problem occurs,PC can not jump to the next command |
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 |