|
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 )
|