![]() |
Code Download via Serial Issue
Interesting problem I seem to have here. We're trying to download some code with IFI loader to the old controller and I'm getting instant "Failed to open port" errors. Any ideas? I've searched quite a bit and nothing seems to match this exactly. Tried all the obvious things... I think, such as switching COM ports and checking the connection...
|
Re: Code Download via Serial Issue
Hi,
I have one PC that will not load any of the .hex files from this year into either the new or old RC without creating code errors. It will load last year's .hex file. (I have tried numerous reboots, reconnects, power up/down, etc). This same stubborn PC, when using the 'printf' function, will only print the first letter to the terminal window when using IFI Loader...it leaves out the rest. However, I have no problem doing this from the other PCs in our lab. Go figure... I can't explain this...not smart enough. Have you tried doing this from another PC? Regards, ChuckB |
Re: Code Download via Serial Issue
Two thoughts.
1) My understanding is that there is a firmware difference between the 2004 and 2005 controller. 2) Try the PIC1618 loader I posted on one of the other threads. "just search my posts). It can be a bit tricky, but it is the full microchip loader, as opposed to the adulterated IFI loader. |
Re: Code Download via Serial Issue
Phrontist:
It might be due to the firmware on the old controller. I know it shouldn't make much difference, but maybe code written on MPLAB 7.00 only works with the new firmware. Anywho, if you haven't updated, you should do so anyways. Might help, might not, but it can't hurt. Besides that, I don't know what else it could be. -Tony K |
Re: Code Download via Serial Issue
Quote:
|
Re: Code Download via Serial Issue
Also, check out your install, there should be several .dll files installed, if not, re-install.
|
Re: Code Download via Serial Issue
I assume you've also made sure nothing else is trying to use the serial port? The palm hotsync program is a common culprit.
|
Re: Code Download via Serial Issue
Last year I had trouble downloading hex code using IFILoader. It would fail about 4 times out of 5. It turns out that the serial port on my Dell Latitude CPi didn't really quite work at 115Kbaud. I borrowed an IBM laptop and that worked fine, but I couldn't keep it.
My solution was to purchase a USB to serial converter (BAFO 810): http://www.pcwebshopper.com/iobf810.html See this thread on the IFI site: http://www.ifirobotics.com/forum/vie...highlight=bafo |
Re: Code Download via Serial Issue
I've been caught way too many times trying to use the IFI Loader while the CMUCam2 GUI was open =P...
-SlimBoJones... |
Re: Code Download via Serial Issue
I'm really at a loss here. I get these errors instantly (see first post) regardless of wether the serial cable is connected. This leads me to believe the serial port is not configured at all, but I can't seem to figure out how to go about doing that in XP.
|
| All times are GMT -5. The time now is 10:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi