This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CRC check on serial comm to redboot


On Wed, 2003-02-05 at 11:54, Magnus Ekhall wrote:
> > Also remember that Redboot is polled, so at high comm speed (e.g 115200
> > bps) there is not only the increased risk of getting disturbances on the
> > wire, but also a higher risk that bytes might be lost due to polling
> > delays on loaded targets
> 
> Does that mean that a slow debugging machine have a higher probability to
> fail because
> of polling delays?

The chances of the checksum used by GDB not catching an error in a 
packet is truly small.  The chances of the CRC failing on a serial
download are even smaller.  If you try and run a high baud rate on
a slow machine, you'll either get lots of retries (with eventual
success), or it will just not work because of checksum/CRC failures.

IMO the chances of getting corrupt data into memory by either of these
download mechanisms is exceedingly remote.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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