Posts: 40,483
Threads: 491
Joined: Aug 2002
Could you just do a quick edit of the UPB driver and search for the place where he's setting the DTR line, and possibly any others which would likely be done at the same place, probably after opening the serial port in the GetCommResource method. You could just comment them out. If it works, then clearly they aren't needed.
Dean Roddey
Explorans limites defectum
Posts: 719
Threads: 64
Joined: Jan 2013
Dean Roddey Wrote:Could you just do a quick edit of the UPB driver and search for the place where he's setting the DTR line, and possibly any others which would likely be done at the same place, probably after opening the serial port in the GetCommResource method. You could just comment them out. If it works, then clearly they aren't needed.
I had no idea what I was doing but I stumbled through it and figured it out. I have a camera at home and I was able to see it work. I commented out this line
Code:
m_Port.SetDTRFlag(CommCfg.DTRFlags.Enable);
and it was like magic.
You rock!
Posts: 40,483
Threads: 491
Joined: Aug 2002
Keep an eye on it, and it works fine, we can just remove it from the posted driver so others won't run into this.
Dean Roddey
Explorans limites defectum
Posts: 2,339
Threads: 104
Joined: Apr 2009
Dean Roddey Wrote:Keep an eye on it, and it works fine, we can just remove it from the posted driver so others won't run into this.
Do you mean that you will eliminate the DTR setting in the code and pull the UPB driver into the base ? (referring to the Dev code in this
thread)
I'm currently running v.16-Dev which is more feature rich then what is in the base package. In the tail end of the beta driver thread for this driver we ended a dialog back in 2011 with me failing to get back to you then on whether there was a config file documentation in the HTML, there is. (somehow missed that question sorry!) Flashing forward to 2013...
It would be great if this could be folded in for everyone to benefit from moving forward.
Thanks,
-Ben