Quote:
|
Originally Posted by hoag
Be careful with the usb to serial adapters. Last year at the Finger Lakes regional, my team was trying to figure out why another team couldn't download code. It turns out that their new usb adapter was not working as it should, causing the robot controller to malfunction. (Innovation First had to give them a new controller)
One of the adults on the team brought in his Keyspan brand adapter. It's fairly expensive, but it has a lot of utilities. I've had the Cables to Go brand for the past 2 years, and it's been great. (It's been dropped in the snow and run over by the robot several times and still works)
Also, check in the Device Manager under ports to see if the serial port is set at 115200 bits per second.
You could also try moving to a desktop computer that has a serial port on board and downloading from that to see how long it takes.
|
It only takes about 30 seconds from a desktop; the adapter is set to 115200.
I'm wondering if the timing is just slightly off, causing the IFI loader to enter a "wait for retry" loop of some kind. The theory is bolstered by the fact that the CPU usage goes way up in-between data TX/RX. (You do know the loader is just a VB 6.0 app, right?

)
I'll try disabling buffering as soon as I get my hands back on the RC
Thanks for the suggestions.
__________________
CMUCam not working? Tracks sporadically? Try this instead:
http://www.falconir.com!
PM me for more information if you are interested (it's open source!).
Want the FIRST Email blasts? See here:
http://www.chiefdelphi.com/forums/sh...ad.php?t=50809
"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine
If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.
"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous
I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL