P89V51RD2 and RTS/DTR

Started by Jan Waclawek, June 05, 2006, 04:22:46 AM

Previous topic - Next topic

Jan Waclawek

Hello all,

Is the behaviour of handshake signals (RTS, DTR) defined in FlashMagic when device is set to P89V51RD2 (i.e. the Advanced options->Hardware config is blank)?
I observed that after clicking on "Start" (and the "Reset device etc." windows comes up), RTS gets asserted, but can I rely on this (e.g. for "parasitic" supply from RS232)?

Thanks,

Jan Waclawek

Andy Ayre

Flash Magic won't do anything special with the signals, which means the default Windows behaviour applies. This means that when the COM port is opened DTR and RTS should be asserted.

Some PCs have reversed polarity for DTR and RTS for some reason, so watch out for that.

Embedded Systems Academy, Inc.
support at esacademy dot com

Jan Waclawek