??? 07/21/08 10:26 Read: times |
#156882 - be more specific Responding to: ???'s previous message |
George Rubin said:
1) I receive an INT0 when a new batch of packets is coming (text) This is a very unusual arrangement. What is the source of INT0? Also, you don't wait until a number of data is received (e.g. checking for str_len reaching a predetermined value), you set data_ready in INT0 ISR, which indicates to main that data are already received and ready for being processed - which apparently is not true at this moment. You might want to sit down and draw or write in simple words, what is your program supposed to do. Only after this phase you then shall proceed with writing code. JW |