Propeller tools hang on port enumeration
Jean-Marc
Posts: 5
Hello,
When trying to connect to the propeller (education kit), the propeller tools hangs enumerating a comm port which is not related to the propeller (Windows XP, Dell 3600). At first it was the bleutooh port, which I disabled. Then it was other port (5) which is marked as busy in the hardware list but I have no clue where they come from. The hang forces me to abort the program.
The FTDI driver was installed during the installation of the Propeller tool, before the usb link was ever connected. When the link is connected, the blue led blinks and the computer beeps.
Any clue?
Is there any way to force the Propeller tool to only consider some specific comm ports?
Jean-Marc
When trying to connect to the propeller (education kit), the propeller tools hangs enumerating a comm port which is not related to the propeller (Windows XP, Dell 3600). At first it was the bleutooh port, which I disabled. Then it was other port (5) which is marked as busy in the hardware list but I have no clue where they come from. The hang forces me to abort the program.
The FTDI driver was installed during the installation of the Propeller tool, before the usb link was ever connected. When the link is connected, the blue led blinks and the computer beeps.
Any clue?
Is there any way to force the Propeller tool to only consider some specific comm ports?
Jean-Marc
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I have Prop on Com1.
Tools count tu Com10 and wait.
I mast kill Tools.
My cuestion how it can find Com1 if it scan to Com10 and hang.
My secon cuestion how it is with Manually Port Set ?.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
Sapieha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I run PropTerminal and it function properly.
But is it not bad publicity if you Tools not function.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
Sapieha
I used to have other hardware using virtual com port, possibly with FTDI chips.· I will try to remove everything, reinstall the driver and see if this solves the problem.· To be on the safe side, could somebody look at the 'driver' properties of a (working!) propeller comm port and post what are the exact version/date listed ? So I would be sure tha the right driver is intalled (if somebody has other infos, like the date/size of the relevant dll, this may be usefull too).
I will keep you posted on the result.
jm
The propeller tools was indeed hanging for an infinite time (that is, more that 1 minute in this case, thhen I killed it)
It seems that the propeller tools does not like bluetooth, virtual com port (two ports back to back at driver level) and the MixW virtual sound card serial ports (they are a special device only of interest to Radio Amateur, they do not even show up on the port enumeration in hardware setting, although they are present). The propeller tool was hanging even if I had not inserted the propeller plug.
Eventually I disabled bluetooth and moved the propeller port to com2, where it was detected (I had to do both, for some reason). The other bizarre ports are left at higher number with an unassigned port in between (so I guess the propeller tool stop looking).
Before all this I checked on a Windows 2000, where I also set the port to com2 as there was some trouble (and a virtual comm port). In that case PropTerminal was hanging (I guess it does not work on Windows-2000). But HyperTerminal was happy enough to make the blue led of the USB plug blink when typing character.
On XP I can connect PropTerminal (and makes the blue led blink), but HyperTerminal does not make it blink... go figure.
Anyhow I can now connect the education board and make the led blinking with the test program. Incredible how much satisfaction one can get from a blinking led.
I hope this info may help somebody, thanks for your help
Jean-Marc
A new version of the Propeller Tool (v1.06) will be released on our web site very soon (1/21/2008 or 1/22/2008) that will help with these issues.·
It includes features to let you manage serial port usage by the Propeller Tool.
Through Edit -> Preferences -> Operation tab, in the Serial Port Search field, you can select AUTO or COMx.· AUTO scans all ports (see below for more explanation).· COMx scans only the port you specified.
The AUTO mode is basically what the Propeller Tool did in previous versions, but is further enhanced by the ability to filter ports as desired.· The preferences available in the Edit Ports button (to the right of the Serial Port Search field on the Preferences -> Operation Tab) which allow you to drag ports up and down to change their search order, or right-click for include/exclude options.· You can include or exclude ports by ID (ie: COM6) and by description (ie: USB Serial Port, or *USB*, etc).
There are many possibilites with this.· For example, you could right-click on the list of ports and select "Exclude all ports by default," then right-click on a specific port and select "Include COMx" to include that port.· This way, regardless of how many new serial ports are added to the computer later (fixed or USB-based) only the ports you specifically included will be scanned by the Propeller Tool.
Another option is excluding all ports by default (like above) and then right-clicking on a "USB Serial Port" in the list of ports and selecting "Filter port(s) by description," then, on the dialog that appears, select "Include" and make sure the description field contains "USB Serial Port", or "*USB*", then click OK.· Now only USB-based ports will be included in the Propeller Tool's search.
You can, similarly, exclude ports in the same way (ie: select "Include all ports by default" then manually exclude ports by ID or by description).· In fact, the tool already includes a filter to exclude ports with "bluetooth" in their description (you can override this, if desired) since the Propeller communication protocol seems to negatively affect the drivers for many Bluetooth-based virtual serial ports, causing the O.S. to starve the Propeller Tool of CPU cycles once it transmits data on a bluetooth-based port.
Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
It is just the PC that's been running for 3 days, or the PC and the Propeller Tool?· How long has the Propeller Tool been running in that situation?· Do you open and close it often?· A little?· Not at all?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
My PC here at work does not have this issue and runs for days without a single problem... Also, I've never had a problem with my laptop that often gets hibernated with the Prop tool running...
Try as I might, I can't always explain why some things happen on some computers like this.· I'm not discounting the Propeller Tool as the culprit in this case, but it's hard to pinpoint what is really going on.· I'm glad to hear that you have two other machines that behave just fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
Previously the computer was also hanging (needed a forced power off!) when it was suspended with the USB plug connected (even if it was not connected to the propeller). This seem to be solved too, which is very nice (I just tried once).
Jean-Marc
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jean-Marc
I hope it continues to work well each time you try it.··In addition to the serial port selection/sorting enhancement, I·rewrote the serial communication routines to be more aware of potential port add/remove events during operation.· I never fully anticipated that those enhancements would solve the suspended-with-USB-connected issue, but it's good to hear that.
Thank you.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.