Propeller Tool v1.1
Jeff Martin
Posts: 760
Today we are releasing Propeller Tool v1.1.·
Its serial routines have been "nearly" completely rewritten in order to increase its reliability on systems suffering from too much CPU load.
YES!· For those wondering, this version should get rid of the "Propeller lost on COMx" error when downloading from certain computers under certain load.
In our tests on a number of computers (single-, dual-, and quad-core processors) that were intentionally put at 100% CPU load, it is nearly always able to download a complete Propeller Application to the Propeller Chip!
In addition, some extra work was done to·alleviate a Propeller Tool lock-up when accessing certain ports that are misbehaving, misconfigured, or otherwise not compatible with the Propeller Tool download protocol.· So far, with known problematic devices, we have not been able to get the tool to lock-up when accessing these ports (like the Lynksys USBBT100 Bluetooth adapter's virtual COM ports).
Also, all the included library files have been updated to include the Propeller Object Exchange's MIT License and the License.spin file has been added to the library for a convenient template for those of you wishing to post and/or update your objects to the exchange.
The download for Propeller Tool v1.1 is·available at:
http://www.parallax.com/tabid/442/Default.aspx
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
Its serial routines have been "nearly" completely rewritten in order to increase its reliability on systems suffering from too much CPU load.
YES!· For those wondering, this version should get rid of the "Propeller lost on COMx" error when downloading from certain computers under certain load.
In our tests on a number of computers (single-, dual-, and quad-core processors) that were intentionally put at 100% CPU load, it is nearly always able to download a complete Propeller Application to the Propeller Chip!
In addition, some extra work was done to·alleviate a Propeller Tool lock-up when accessing certain ports that are misbehaving, misconfigured, or otherwise not compatible with the Propeller Tool download protocol.· So far, with known problematic devices, we have not been able to get the tool to lock-up when accessing these ports (like the Lynksys USBBT100 Bluetooth adapter's virtual COM ports).
Also, all the included library files have been updated to include the Propeller Object Exchange's MIT License and the License.spin file has been added to the library for a convenient template for those of you wishing to post and/or update your objects to the exchange.
The download for Propeller Tool v1.1 is·available at:
http://www.parallax.com/tabid/442/Default.aspx
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
Comments
What spectacular timing! I ran into the "lost on COMx" for the first time last week. I've got a program running 24/7 that's a 99% CPU hog and have been having to shift it to low priority during the day just to get any work done. When the error occurred, I thought, "Well, the upload timing is pretty tight, so that's to be expected." I didn't really consider it a shortcoming of the IDE but, rather, of my computer; nor did I have an inkling it was even on your radar.
Thanks for the new version! I'll give it the acid test.
BTW, how did you pull it off? Do you have a way of boosting the IDE's task priority temporarily?
-Phil
It's been a source of headache for a quite a few users and I've been exploring ways to solve it for a while.· Even on some systems that don't "appear" burdened, the old software would fail to download many times.· It seems certain apps (like MS Outlook and WinAmp) tend to cause the Propeller Tool to be partially CPU staved.
How did I pull it off?
I tried boosting task priority, to no avail.· I tried a few other solutions as well, no luck.· In the end, the solution took about three major changes in the way the tool handles the application image and download protocol.
The main problem is that the v1.06 (and previous) software uses just one thread to process everything.· So when communication is occurring, it's possible for Windows to send messages to the thread for things like repainting the screen, resizing the window, and many, many other possibilities, all of which it tries to handle as quickly as possible, but, in doing so, would sometimes not get enough CPU time to keep up with the data it was trying to transmit... so the Propeller chip would actually time-out.
The solution in v1.1 is as follows:
So, the end result is like having two people working side-by-side; one focused on dealing with Windows GUI messages and updating the Progress window, and the other focused on communication with the Propeller chip... and between them is a scratch pad that the communication guy occasionally scribbles status notes on, and the GUI guy monitors to determine where in the communication process the application currently is.
Very much like the principle of the Propeller chip itself! (except multi-tasking (Windows/PC), instead of true multi-processing (Propeller chip)).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
Post Edited (Jeff Martin (Parallax)) : 3/26/2008 8:55:51 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
It is a horrible problem.
If I switch to using the python loader (Loader.py) it works every time. -Chuck-
watch flash video, open a web-browser, etc... during download.
This all works fine for me now
XP SP2 single core 3.4GHz with Windows LiveOneCare.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
There's dancing on workshop desks over here!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
I have a notebook that has WinXPpro on it that I haven't booted into windows for months, but it is accessible under /windows/c. If someone is using wine, and could help me through it, or point me to a better thread for this(I know it has been covered before), I would appreciate it.
Thanks,
Doug
I run Windows XP under VirtualBox under Mepis Linux. The larger the program, the more tries I used to need to get it loaded. It now works flawlessly.
I was surprised that "occurances" is still spelled wrong (when you use Replace All). I know we engineers aren't supposed to be able to spell, and I guess no one pointed it out.
That's why engineers invented spell checkers. Its just a pity that they don't know to do spell checking in various IDEs...
For interested people. It runs under crossover on a mac but its still not detecting the serial ports though. I'll have to try with the ftdi drivers installed later. The line numbers and hex dump still don't work properly and the object tree view in the side bar sometimes doesn't work without hiding and unhiding the side bar. Still useable though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
I run 3 props simultaneity and have fine suport with prop tool 1.06 Manual Com Ports seting.
Why it is not on Prop Tool 1.1 ????????????????
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
Sapieha
Post Edited (Sapieha) : 3/27/2008 4:24:48 AM GMT
A small gripe only semi-related to this post....is there an option to post the date on new software on the parallax website? (it's much easier to see that something came out last week as opposed to loading an IDE to see what version it is....sorry if this results in a hijacked thread!)
cheers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!
Is it not the options under Edit, Preferences, Operation(tab), Edit Ports (button) ?
Sorry my miss.
I don know why I wanted it on F7 funktion?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
Sapieha
A minor one or two·for you - whilst running 1.1.
Got the attached messages when after opening a read-only file, then closing without saving. Attached. Seems to be (I guess) because there is no "document" window open.
The "List index is out of bounds (-1)" is when you press ALT or try to exit
The "Access voilation" seems quite common.....· A thread shutdown perhaps?
The IDE had to have its process killed to exit.
Cheers,
James
Post Edited (Javalin) : 4/1/2008 1:20:46 PM GMT
I can confirm similar .. read the attached link ... http://forums.parallax.com/showthread.php?p=718969
I didn't get much feedback though .. perhaps I posted to the wrong thread..
Regards,
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
James
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.