Friday, 05 December 2008
 
  Home  
Latest News
Popular
Main Menu
Home
Car PC
PIC
Electronics
Brewing
Links
Contact Me
FAQs
Forums
eXtplorer
Login Form





Lost Password?
No account yet? Register
PayPal Donation

Enter Amount:

Syndicate
RSS feed
Happy Holidays PDF Print E-mail
Written by Evan   
Monday, 25 December 2006

Happy holidays everyone

Moving right along, it was brought to my attention that my bootloader code has some serious performance issues on versions of windows other than XP.   They seem to stem from the fact that in my original code, every time a packet is sent to the PIC, the usb in/out pipes are opened, the transmission and response take place, and then the pipes are closed.  Clearly inefficient in the grand scheme of things, but it didn't seem to affect things on my end so I didn't worry.  But, it seems to have caused the program to run 20 or 30 times slower on windows 2000.  Just in case anyone else out there has tried it, for reference, it takes about 4 or 5 seconds to perform a full read of the 18F4550 on my windows XP computer, whereas I was told it was taking closer to 2 minutes to do the same on a windows 2000 computer.  Anyway, I have since made some changes to my code to (hopefully) fix that issue, though I don't have a windows 2000 PC to actually test it on, so if anyone has luck with it, please let me know.

I have updated both code packages for the bootloader article.  In addition to the attempted performance fix, I have also reorganized things a bit more in hopes of making it slightly easier to follow.  I'm currently toying with the XML documentation feature in visual studio, so if all goes well I should be able to compile a set of help files that contain all the relevant detail about all of the important classes used in my demo applications, all in the same format that is used in MSDN.

Last Updated ( Tuesday, 26 December 2006 )
 
< Prev   Next >
Who's Online
We have 2 guests online
Partner Site
Visit my friends over at Dream-Technology, producing radio controlled and switch adapted toys for children with physical disabilities.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
For usage outside the terms of this license, contact me by email to discuss.

© 2008 eegeek.net
Joomla! is Free Software released under the GNU/GPL License.

Get The Best Free Joomla Templates at www.joomla-templates.com