Author Topic: P89V51RD2 and RTS/DTR  (Read 4334 times)

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
P89V51RD2 and RTS/DTR
« on: June 05, 2006, 04:22:46 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2172
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V51RD2 and RTS/DTR
« Reply #1 on: June 05, 2006, 07:53:04 am »
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

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: P89V51RD2 and RTS/DTR
« Reply #2 on: June 05, 2006, 08:02:25 am »
Thanks.

Jan Waclawek