This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFA: pause after sending S-records to ROM68K monitor



jimb wrote:

: [...]
: +       /* A baud rate is "symbols per second"; on a serial line, that's
: +          the same as "bits per second".  Assume ten bits transmitted
: +          per byte: eight data bits, one parity bit, and one stop bit.
: +          (Usually people use 8N1, which I think means the parity bit
: +          isn't transmitted, so we're actually at nine bits transmitted
: +          per byte, but we need to be sure to allow enough time.)
: [...]

The 10-vs-9 error is because you are forgetting the start bit: there's
always one.

(FWIW, I like the hack.)


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]