Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:15 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM & DM COM Port Query

Author Message
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 11:46am 18 Mar 2012
Copy link to clipboard 
Print this post

Hi all,

I am currently trying to run a DuinoMite (loaded with MMBasic 3.1) and a MaxiMite (also on MMBasic 3.1) on the same PC. The MM is externally powered, the DM powered via USB. All seems OK - both are accessible via TeraTerm individually - but when I connect both the devices at the same time, whichever one is plugged in first claims COM Port 4. I can verify this by then connecting to COM Port 4 via TeraTerm and if the Maxi was connected first, I get the "Maximite BASIC Version..." welcome. If the DM was connected first, I get the "DuinoMite MMBasic Version..." greeting.

Obviously only one of the *Mites is then accessible via TeraTerm. Is this an HID/VID issue perhaps? They are both identified in Device Manager as Communications Port - Silicon Chip USB Serial Port (COM4). There are two identical entries when they are both connected via USB.

I like them both (almost equally) and I don't want an internecine battle between my *mites taking place on my very own PC.

Clues?

Thanks in advance.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 12:18am 19 Mar 2012
Copy link to clipboard 
Print this post

You can have more than one mite connected at the same time. On your setup it appears that the first one will be allocated COM4 so when the second is plugged in your operating system will allocate it a different COM number (probably COM5). This is because you can only have one device per COM port.

When both are simultaneously connected the entries in Device Manager should show the different COM numbers.

If you fire up a second copy of TerraTerm you will find that there is another COM port to connect to and your second mite will probably be on that. You can then copy and paste between mites... cool!!

Geoff
Geoff Graham - http://geoffg.net
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 11:34am 19 Mar 2012
Copy link to clipboard 
Print this post

Thanks Geoff - I sorted this out by going into the Windows Device Manager, and for one of the duplicate COM4 ports, I selected the Port Settings tab of the Properties dialog and then in the Advanced... dialog I changed the COM Port Number in the drop-down list to what I know was an unused port. A couple of physical connects/disconnects later and now I have both *Mites co-existing - happily ever after...

Cheers.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024