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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/18/06 10:23
Read: times


 
#129668 - One step at a time...
Responding to: ???'s previous message
Edward Hyde said:
With my emulator (Phyton PICE 51) i break on this last line.
If from the pc I send byte from 0x00 to 0x79, on my breakpoint i see the correct byte sended.
If i send, from the pc, for example 0x80, on my emulator i see 0x00.
If i send C2, i see B4....

The first question must be: did the PC send it correctly?

Remember: on a PC, you are going through all sorts of layers of drivers and stuff - it is quite possible that something needs to be specifically configured for binary data.

How are you sending from the PC?
Have you checked that the PC is correctly sending bytes >0x7F?
How?

Are you certain that all the settings are correct - including number of data bits, stop bits, parity, etc...?


List of 10 messages in thread
TopicAuthorDate
8051 + RC51Compiler -> sfr unsigned char redefenit            01/01/70 00:00      
   First things first            01/01/70 00:00      
      Thanks..            01/01/70 00:00      
         One step at a time...            01/01/70 00:00      
            uhmmmm            01/01/70 00:00      
   unsigned is the default type for char            01/01/70 00:00      
      Aside: bad practice            01/01/70 00:00      
         Maybe...            01/01/70 00:00      
            Aha!            01/01/70 00:00      
               Thanks            01/01/70 00:00      

Back to Subject List