Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/22/05 06:12
Read: times


 
#92118 - Protocol
Responding to: ???'s previous message
Kiran Kannur said:
1. Incase in between transmission an error occurs the frame should start from the place the error actually occured. Ex. I am sending 100 bytes of data error occurs in the 50th byte then the transmission should start from the 51st byte.

Use a CRC

2. Incase the PC sends the data before the Microcontroller is actually ready to recieve data trou UART there should be retransmission.

You need some sort of Acknowledgement from the slave back to the master.

3. In case there is a loss of single bit during transmission, this error should be recognized and retransmission should take place.

CRC again


To cope with the complete loss of an entire message, you should also consider some sort of message numbering.

List of 18 messages in thread
TopicAuthorDate
PC to 8051f020 Communication            01/01/70 00:00      
   Protocol            01/01/70 00:00      
      Protocols            01/01/70 00:00      
   Packet Protocol....            01/01/70 00:00      
   way to complex            01/01/70 00:00      
   The Project            01/01/70 00:00      
      Review            01/01/70 00:00      
         Search Keywords            01/01/70 00:00      
            RFC935            01/01/70 00:00      
   Got it right!!            01/01/70 00:00      
      dynamic resizing            01/01/70 00:00      
         Re: dynamic resizing            01/01/70 00:00      
            My Opinion, whether you want it or not..            01/01/70 00:00      
               Careless talk            01/01/70 00:00      
         Re: dynamic resizing            01/01/70 00:00      
            No good!            01/01/70 00:00      
            testing            01/01/70 00:00      
   Re: My Opinion, whether ....            01/01/70 00:00      

Back to Subject List