Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IFI loader problems (http://www.chiefdelphi.com/forums/showthread.php?t=59976)

Robostang 548 08-12-2007 22:45

IFI loader problems
 
Hi,

I have been having some trouble with the ifi_loader and the "No robot found" error. I took my teams 2006 controller home over the summer and used IFI_Loader on my old laptop (300mhz compaq presario) and had no problems. In the fall I bought my new laptop and got a usb to serial converter. I had only loaded about 2 .hex files on both our 2007 and 2006 controler. When I loaded those 2 .hex files, I noticed that the .hex files loaded a lot slower than on my old laptop (probably becuase of the converter). Today my team met to teach our new members programming and such. We went to program the robot using my laptop and the first time it loaded (incredibly slow though) but after that, even when we were sure that the cables were connected and that we were in program state, it refused to load the .hex file and kept raising the "No robot found" error. We pressed the reset button then opened a terminal window to find that we were indeed connected because we were reciving items we had set to printf to the program port. So we put it into program state but it kept raising the same error. We tried programming the 2006 controller to have it raise the error some of the time but we could get 1 or 2 .hex files to load. I havent tried loading the program from another pc or from one that has a built in serial port. I tried some of the methods in this thread http://www.chiefdelphi.com/forums/showthread.php?t=44024&highlight=ifi_loader+proble m. One method in the above thread about holding down the prog and reset buttons for a certain time did begin to work. But the resolution to the problem in the above thread was faulty soldering with the program port as determined by IFI, but I dont think that is the problem I have. Any Ideas would be greatly appreciated. My thory is that because I am using the converter and because the converter increases load time, maybe IFI_Loader is timing out when trying to establish a link with the RC.

-Don

Mike Betts 09-12-2007 05:44

Re: IFI loader problems
 
Don,

Because there are thousands of FRC and FTC teams out there downloading code, I'm going to go out on a limb and guess that the problem is with your converter or its drivers.

We use Bafo BF810 converters and have never had an issue. Also if you have a VEX team, the orange cable used to program the VEX controllers comes apart and one half is a USB/serial converter (sold separately by Radio Shack). In fact, since both converters use the same Prolific IC chip, they are interchangeable once either drivers are installed.

Mike

Robostang 548 09-12-2007 08:28

Re: IFI loader problems
 
Quote:

since both converters use the same Prolific IC chip, they are interchangeable once either drivers are installed.
The conveter I am using is just a generic made in china usb to serial converter but I know from looking at the manual and the driver that it uses the Prolific chip so it should be working the same as yours. Do you notice a slower download time when you use your converter?

ebarker 09-12-2007 10:26

Re: IFI loader problems
 
I use usb-serial cables for software development all day every day and I pretty much refuse to use the ones with the Prolific chipset. It has too many issues, and can bust the usb protocol stack in the pc which requires rebooting to repair. Other issues are very slow code downloads and more.

The FTDI chipset seems to work like a charm. The cables using this chipset are little harder to find in the US but I did a quick google and came up with this.

http://compusb.stores.yahoo.net/usbtoseadfor.html

http://cgi.ebay.com/USB-to-Serial-Ad...QQcmdZViewItem

popo308 10-12-2007 18:01

Re: IFI loader problems
 
Are team had the same issue and we had to hit the upload code button on the PC then while it is trying to upload/find the robot you need to hold down the program button on the robot.

If that does not work have you tried UBER-PROGRAM-MODE!!!!!!!!!

Before you power on the robot hold down the program button. Keep your program button pressed down and turn on you robot. Keep it held down for 5 seconds after that. You should have a main power light on and a program light on. It should be in UBER-PROGRAM-MODE!!! Try uploading the code again let me know if this works for you.


All times are GMT -5. The time now is 00:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi