??? 04/05/11 08:00 Read: times |
#181694 - I want to see the packet Responding to: ???'s previous message |
Vaggelis Triantafillou said:
I must receive something like this:
7E 00 00 00 01 00 00 00 01 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 00 0C Note that this has long sequences of the same value... I want to see the packet that the device sent to host (8051) How, exactly, do you expect to "see" it? MOV A,SBUF ;Read the character from the serial port. MOV P2,A ;Echo the content of ACC to P2 How are you observing P2 to "see" this echo? What will be the effect at P2 when the 8051 receives a series of bytes with the same value...? |