Author Topic: Flash Magic 3.59.227 can´t communicate  (Read 14399 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic 3.59.227 can´t communicate
« Reply #15 on: May 18, 2007, 09:30:15 am »
Flash Magic configures the COM port to disable handshaking, otherwise it wouldn't be able to control DTR and RTS.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

rbtamd

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Re: Flash Magic 3.59.227 can´t communicate
« Reply #16 on: May 18, 2007, 10:02:19 am »
It´s ok, but when "Use..." is unchecked there is no reason to use DTR. In this case, Flash Magic must control DTR and leave it asserted to permit max3221 be enabled in the MCB900 circuit.

Roberto

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic 3.59.227 can´t communicate
« Reply #17 on: May 21, 2007, 11:13:33 am »
The MCB900 is designed to use DTR and RTS to control RST and VDD. I would say that any other use w.r.t. ISP entry will require you to modify the circuit because you are no longer using it in the intended way.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

rbtamd

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Re: Flash Magic 3.59.227 can´t communicate
« Reply #18 on: May 21, 2007, 01:01:39 pm »
Why the difference between the versions? FM 3.50 holds DTR, why 3.59 doesn´t?

Thanks

Roberto

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic 3.59.227 can´t communicate
« Reply #19 on: May 21, 2007, 01:18:42 pm »
Version 3.50 lets DTR stay at the default level that Windows sets it to. Version 3.59 explicitly deasserts DTR when the COM port is opened. This is part of a workaround we had to implement to get around a bug in the DTR and RTS handling in the Windows USB COM port driver.

As more and more people are resorting to using USB to RS232 cables it is important that DTR and RTS function correctly, despite a bug in the Windows implementation of the COM port driver used for these cables.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com