MikroKopter-Wiki   •   SHOP   •   Video-Liste   •   MikroKopter-FAQ   •    English translation

Mikrocontroller- & MicroSPS-Forum » Software & Programmierung » Mk Tools unable to open com port (english post)

Mk Tools unable to open com port (english post)

Moderatoren: jamiro, ligi, P_Latzhalter.

Seite: 1

Autor Neuer Beitrag
Mitglied
Registriert seit: Aug 2008
Beiträge: 3
My apologies on the English post. My German is terrible.

What are the requirements of the Mk Tool? I've downloaded the latest tool. The computer has Windows XP with version 3 or 3.5 of the Microsoft.net framework. The serial port is a USB-serial port which gets enumeratored as COM3. When I launch the tool, it fails to open the port with comm error 2? Any ideas? Any know if there is a specific requirement where the executable is physically located on the drive? The USB-serial device is from a US company, www.Saelig.com and uses an FTDI chip.

http://www.saelig.com/miva/merchant.mvc?Screen=PROD&Product_Code=U004&Category_Code=U

Any help would be greatly appreciated.

Cheers,
Justin
Mitglied
Registriert seit: Nov 2007
Beiträge: 150
Ort: Arona - Italy
After installing the driver you should go to control panel => system => hardware => device manager (if i remember the names in English).
Then in USB devices you should see it, go in its properties => Port settings and set a free COM to it. Also set speed >= 38400 to the port.
If it still doesn't see it try a restart. Windows always likes a restart :mrgreen:

If you have done all this already then:
1) do you know if this device has been used by someone already?
2) check if you have to set jumpers or dip switch to allow communication
3) maybe driver problem? you could search for different versions of the drivers. For the mySmartUSB i read the latest version doesn't work with MKTool

Ciao!
_______________
FlightCtrl v1.2 - BLCtrl v1.2 - MK46 frame - ROXXY2824-34 - 10x45 propellers - 2250mAh 20-30C
Mitglied
Registriert seit: Aug 2008
Beiträge: 3
Greetings ddrake,

Thanks for the tips.

I've verified the COM port in the device manager and I've used the port successfully using Hyperterminal and another serial port application. I've rebooted several times with the same results. I will try setting the baud rate through the device manager. This should not affect anything since the application using the port overrides these settings when it opens and configures the port.

1) I could not find anyone using this exact device. However, several posts have other users with the same FTDI USB-serial chip which the device uses.
2) no jumpers or switches
3) Possibly. I'll look into this further. I'm also borrowing another USB-serial device for testing.

Thanks again. If I solve the problem, I'll post the solution.

Cheers,
Justin
Mitglied
Registriert seit: Sep 2007
Beiträge: 484
Hi,

ich habe das selbe Problem und keine Lösung gefunden. Weiß mittlerweile jemand woran es liegt?

Noch ein kleiner Nachtrag: Wenn ich die Fehlermeldung wegklicke, startet ein "Teil" des Koptertools. Ich könnte flashen und ein serielles update machen. Nur das Tool selber läuft nicht.

Könnte einer vielleicht einmal nachschauen, wie seine Werte in den erweiterten Einstellung für den Port sind (stoppbits usw.)?

Danke!

Gruß
Michael
« Bearbeitet von Loenne am 20.10.2008. »
Mitglied
Registriert seit: Nov 2007
Beiträge: 379
Das liegt vermutlich an einem Windows-Update.
Das hatte ich neulich auch spontan für meine "echte" serielle Schnittstelle. Die konnte das MK-Tool nicht öffnen. Jedoch mit dem USB-TLL adapter aus der Bucht ging alles super.
Jetzt gabs nen weiteres Windowsupdate und die echte serielle Schnittstelle geht wieder. Nur der USB-Adapter geht nur spontan.

Das interessante dabei ist: Nur das MK-Tool hat damit Probleme. Alle anderen Programme arbeiten einwandfrei mit den Com-Ports.
Mitglied
Registriert seit: Aug 2007
Beiträge: 93
Hallo,

Habe auf einem aktuellen Aldi (Medion) Notebook unter Vista das gleiche Problem.
USB - seriell Kabel läuft mit Hyperterminal und VBasic-Programm, aber nicht mit Koptertool.

Habe daraufhin eine Express Card 'DeLock 66211' 1 x seriell gekauft um einen 'richtigen' Com-Port nachzurüsten.
Das Geld kann man sich sparen, da in der ExpressCard auch nur ein Prolific USB-Seriell Wandler drin ist :-(
(und das läuft genauso wenig wie mit USB-seriell Kabel)

Vielleicht kann Ingo das Koptertool ja mal updaten ?

Gruß,
Reinhard
« Bearbeitet von ReinhardZ am 21.10.2008. »
Entwickler, Admin
Registriert seit: Feb 2006
Beiträge: 1976
Ort: Ostfriesland
Hallo,

gibt es einen COM1 im System ? Wenn nicht, benenne mal einen als COM1...

Gruß,
Ingo
_______________
http://www.mikrocontroller.com - http://www.MikroKopter.com - http://www.microSPS.com
Mitglied
Registriert seit: Sep 2007
Beiträge: 484
Bei mir ist der glaube ich schon belegt, aber ich schaue heute Abend mal nach. Bei der automatischen Installation wird bei mir COM 8 genommen. Muss man da noch etwas einstellen (Übertragungsrate, Flusssteuerung, Stoppbits usw.?)

Gruß
Michael
Mitglied
Registriert seit: Aug 2007
Beiträge: 93
IngoB meinte
gibt es einen COM1 im System ? Wenn nicht, benenne mal einen als COM1...


Nein, es gab keinen COM1, sondern COM6. Habe die Schnittstelle auf COM1 umgelegt, hat aber nicht geholfen. Wie vorher 'unable to open Com port' danach startet das MKTool mit dem Terminalfenster. In der Auswahlbox für den Com-Port wird die richtige Com-Nr angezeigt. Wenn man dann auf Debug... klickt kommt wieder die Meldung 'unable...' :(

Das Problem muss im MKTool liegen. Habe auch einen FTDI-Treiber installiert für eine andere VB-Anwendung, läuft problemlos, nur das MKTool meckert wieder.

Gruß,
Reinhard
Mitglied
Registriert seit: Sep 2007
Beiträge: 484
Habe ich eben auch ausprobiert. Gleiches Phänomen.

Auf dem Rechner meiner Frau läuft alles problemlos. Aber die gibt mir ihren nicht. :mrgreen:

Gruß
Michael
Mitglied
Registriert seit: Mar 2008
Beiträge: 57
Ort: Delft
IngoB meinte
Hallo,

gibt es einen COM1 im System ? Wenn nicht, benenne mal einen als COM1...

Gruß,
Ingo


For me this solution worked, don't really know why but it did, thanks Ingo!

:D

Seite: 1

Mikrocontroller- & MicroSPS-Forum » Software & Programmierung » Mk Tools unable to open com port (english post)

© Holger Buss & Ingo Busker   •  Mikrocontroller- & MicroSPS-Forum is powered by UseBB Forum Software