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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/27/03 14:58
Read: times


 
#42363 - 8051 serial comm's
Hi All,

I am having a problem with some code.

Take , for example the following line of a Intel Hex file

:03008001010203790

I have writeen some C code which Identifies the start address as 0080.
Also identified is the fact we have three data bytes, being 01, 02,03.

What i Am trying to do is as follows.

Send the address(one byte at a time) to the 8051 board over a serial link and then send the data.

The board is to recevice the address in one byte at a time and send an acknowledgement that the data has been received each time. The board then takes in the data and places it in the relevant part of memory. Each time it recevices in a byte, it sends acknowkedgement again. So at the end of the code, for the example above,
starting at address 0080, the data is 01,02 and 03 is placed into onboard memory.

I hope this makes sense to someone as I am pretty lost at the moment.

Thanks.........

Nick

List of 9 messages in thread
TopicAuthorDate
8051 serial comm's            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      
      RE: 8051 serial comm's            01/01/70 00:00      
         RE: 8051 serial comm's            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      
      RE: 8051 serial comm\'s            01/01/70 00:00      
         RE: 8051 serial comm\'s            01/01/70 00:00      
   RE: 8051 serial comm\'s _ Nick            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      

Back to Subject List