View Full Version : Problem with program uploading
i cant upload program with easyCPRO i checked out the cable and tried on other computers but it still dont works can some one help me???
TEAM1949
08-01-2007, 12:51
did you press the programe button?
jesusfreakmths
08-01-2007, 13:09
Do you guys know were I can find the code for the camra. Or any info on how to use it, and see code that can give us an idea on how to include it in the code/recive info from it?
yes i did and the state of the led is always orange (meen i can upload) but it there still an error check out the program state or the cable but every thing is connected.
jesusfreakmths: Check out http://kevin.org/frc for some camera implementation code.
1573: In order to program your robot you will need to press and hold the PROG button on your RC, until two orange LEDs are illuminated. Once this is so, send the code with your laptop, but make sure that you have the correct serial port specified. If you are using a USB-To-Serial adapter, you may need to check which COM port it's mapped to. (Control Panel > System > Hardware > Device Manager > Ports (COM & LPT)).
If you're not sure if your adapter is working or not, connect the serial to the program port, open the IFI loader terminal (make sure the window title says that you're connected properly) and hit the reset button on the RC. You should see an init. string. If not, the problem is in your adapter.
no, the problem it all that i cant connect to the RC 2 leds are orange and in the program state but there still an error... and i chacked out the computer and tried on other but there the same problem
Kingofl337
08-01-2007, 15:46
Try turning off "verify and download" in the loader setup.
Also make sure you have the correct device selected as easyC can program 04/05 & 06/07 & VEX
Demo Camera Code: http://www.intelitekdownloads.com/easyCPRO/
nope still don't works the download setting is on frc 2006/2007 controler
intelitek_Chris
08-01-2007, 17:45
easyC does not automatically detect (and can't possibly know) what port you want to use to download. You probably have the wrong COM port selected. Go to the 'loader setup' and try selecting another one of the available ports until you find the right one. If you are using a USB adapter, each time you unplug the cable and insert it again, there is a chance your COM port number will change.
If this doesn't help, try another loader. You can grab the hex file from your project folder and use another loader to upload it to the RC as a test.
Good luck,
Chris
nope, i dont understand what can be the problem i tried 2 controlers 2007 and 2006 controlers and tried in 2 computers with 2 diffrent loaders one from easyC and the other from MPlab but there still the same problem "To enable download, hold the 'PROG' button down until the 'PROGRAM STATE' LED is solid orange. Make sure that power is on and the serial cable is connected" any one can help me with that??
Kingofl337
09-01-2007, 07:49
What are you using for a serial port? USB or Onboard?
Kawashima
09-01-2007, 08:19
Press and hold the Reset and Prog buttons, until the battery led solid green, and then release reset butoon. After that, release prog buttons.
uploading!!
im using the com port on my computer not the usb adapter.
1573,
Can you tell us: what is the error message?
when does the error message occur? (after you press what button?)
What have you selected from the drop-down list of COM ports?
What shows up in the status bar of the window?
Can you post a screenshot of the error?
-- by the way,
Is your "program led" always orange? even before you press the "prog" button?
Good luck!
David A.
after i press the program state button and the LED is solid orange and i press the donload button. this is the error that i get... http://img205.imageshack.us/img205/2842/screenpu0.jpg
i have tried to do everything but still it doesn't works...:confused: :mad:
Kingofl337
11-01-2007, 07:36
Ok, try this, take one of the black serial cables from the KOP and hook it upto your computer and the RC. Open the terminal window and select COM1 then turn on your robot controller you should get a message "IFI>Master Code V13" if you do not get any message turn of your controller and select COM2. When you select COM2 you should not get any error like "failure to open com port"
You may want to check in the BIOS of the machine to make sure your COM ports aren't disabled. You can also try deleting the com port in "Device Manager" and when you reboot, XP will reinstall the driver. If you have a laptop with a internal modem make sure you are not selecting the modem's COM port instead of the onboard serial port.
What is the brand, make, and model of the computer. If you would like send me an e-mail amartin "at" intelitek.com and we can maybe arrange to speak or a remote VNC session.
no..... i still have the same problem... the Led on the program state on the RC are always orange even if i do the restart or switchs the power off and on again.... and i still cant upload the program... i tried to upload the program with the RC from the 2006 where there uploaded the program that we used on the competition and in the terminal window i saw the outputs from the RC but i cant upload the program there too i even tried the loader from 2004 and still the same problem and at 3 computer and with 2 RCs... any one knows whats the problem???? im using the tether because the radio have no link :( :( :( :confused: :confused:
Chaychay
14-01-2007, 16:46
I am having the exact same problem, although I am using the IFILoader.
Information about problem:
Without the OI connected to RC, the RC has green lights (except for radio modem (red), and RC mode (no light))...in this state I can hold the programming button down and get the RC into programming state. I do a controller verification, which is successful. Now I try to load the code and IFILoader tells me that the Controller is not connected to my computer or the RC isn’t in programming state.
With the OI connected to the RC, the programming state is orange (without me making it orange), the RC mode is orange, and the rest are green. In this state controller verification is also successful, but when attempting to load the code, we get an error message saying that the RC is not connected to the computer or the RC isn’t in programming state.
I'm using a DELL laptop which has a serial port (device manager tells me its @ COM1). I've tried multiple serial cables to ensure that the cable is not faulty. I also tried loading the firmware again, but IFILoader tells me that the RC is not connected to the computer.
IMPORTANT NOTES:
If I open the Terminal Window and turn the RC on I get scrambled text (general 2 or 3 letters). Sometimes I comes as "IFI>" which I what I thought it as supposed to say, but most often it just has 2 or 3 random letters. (If I press reset or programming buttons, the Terminal window shows another 2 or 3 random letters.
This laptop and RC were working just fine yesterday…I was loading code without any problems.
My guess is that something is wrong with the RC.
If anyone has any suggestions, please post them...you have no idea how frustrating this is getting. Many thanks!! - Jay (Team 610 Programmer)
-----------UPDATE----------
Using the same laptop, same serial cable and same software I was able to load code onto an EDU controller with no problem. I noticed that it displayed PIC18F8520 as the version. However, when I connect to the 2007 RC it shows "FRC" as the version. Shouldn't it be showing PIC18F8722?
I have also tried everything using the EasyC loader, and I got the same results....
Alan Anderson
14-01-2007, 20:23
This laptop and RC were working just fine yesterday…I was loading code without any problems...
This implies that the problem is related to the code rather than the hardware. I get similar symptoms when the Put_Data() call is left out. Have you tried uploading the unmodified default code?
Chaychay
14-01-2007, 22:07
Yup, I have tried downloading the default code (I tried both, one directly from IFI's website, and the one that came with the IFILoader) - thanks for the suggestion though =), any other possibilities?
Matt Krass
14-01-2007, 23:38
Try doing a master reset.
With main power applied, press and hold the Reset and Prog buttons at the same time. Release only the Reset, while continuing to hold the Prog until the Battery Power LED becomes solid green. Now release the Prog button. Now press and release the Reset button.
Chaychay
14-01-2007, 23:48
Matt, I tried the master reset and the problem remains unresolved, same outcome as before. Thanks for the suggestion though:) !, any other possible reason for this weird behaviour?
Kingofl337
14-01-2007, 23:51
Did you turn verify write off?
Chaychay
15-01-2007, 00:43
I've just tried that, and it didnt help either. Thanks for the suggestion though =)!
My hunch, just from stuggling to get this working for so long is that IFILoader and EasyCPro Loader are both having problems figuring out what device I'm connected too.
Attached is an image of what the controller verification shows. It says "FRC", can someone confirm if this is what is supposed to show when connected to a 2007 RC. (I thought it would show the PIC ID number)
Of course, this is just a hunch, any suggestions @ all would be much appreciated. :]
---------------NOTE: ----------------
I just noticed that the first time I run controller verification is says "FRC", then I run it again and it says "VEX", if I run it again if says "FRC"...and so on. This doesnt seem right at all. :confused:
Kingofl337
15-01-2007, 07:19
Can you get it to take the master code?
Do you have a VEX usb-to-serial cable? If you do I'd try that for the fun of it.
If you get it program then try to download the online window code in easyC.
Then see if you can move some motors or spikes. This should test if you have good communications.
stagshan
15-01-2007, 08:30
We were having this problem on Friday. Program state light was lit as soon as the controller was turned on but the controller would not take an upload. We did have success after: installing version 1.1.0 of IFI loader, shortening our programming cable to just one length (we had 3 or 4 lengths of cable connected together), and then uploading a master code.
Good luck
Chaychay
15-01-2007, 08:39
Kingofl337: Thanks for the continued suggestions =), I was using a Prolific USB to Serial converter, however I stopped using it to try and isolate what the problem was. (Switched to using standard serial port). I did try to load the Master code, but it says the RC is not connected, or it is not in programming state.
Stagshan: I have hope now =), my cable is the one that came in the electronics kit, I am only using one. And I was using version 1.1.0 for the IFILoader.
Over night I came up with a new hunch. This laptop/RC was working fine before I installed the Prolific USB to Serial driver. My guess is that somehow messed up the computers ability to recognize the 2007 RC, (even though it can mysteriously recognize the EDU controller...), I'm going to test my theory out with a new computer today, I'll let everyone know.
Thanks for all the help everyone!! Cross your fingers for me please :)
i tought im the only one that have that problem... but no... i have the same problem and i've tried everything... i tried to do this with the mplab and the easyc too and with both of 2 loaders... terminal window shows 3 or 4 words like IFI> somthing like that but after that just nothing.... yesturday i connected to try another time to upload the program and the loader soccessed to erasing the the program but after that it stoped and gave me the same error that says that i need to check the program state LED and after that the RC are allways on prog state (2 RCs).
eny one can find the program??? i realy dont know what to do...:( :(
-------------------------------------------------------
Thank you for helping
Chaychay
15-01-2007, 23:04
:ahh: ........ turns out something is just wacky about that computer...and several others. But it works on the computers of my colleagues....:eek:
No diagnosis....but at least I know how to solve the unknown problem....get a new computer...:p
Thanks to all for your help!
can some one hekp me with my problem?
Chaychay
16-01-2007, 16:21
perhaps try another computer? worked for me, might work for you ;)
no... i have tried 3 computers:(
Kingofl337
17-01-2007, 23:39
If you can't send a program to your controler you should try to send the master code to your controller. I recommend downloading the IFI loader to test sending master code with. Try turning on and off "verify".
If you still can't get your RC to work call try an older controler. If you are able to program the old controler call IFI. 903-453-0802 they should be able to either get you going or get you an RMA. Make sure you have downloaded the newest IFI Loader and Mastercode before calling them. If you can't program any controllers and you are using USB-to-Serial then you need a diffrent USB-to-Serial adpater.
ok i tried everything.... 2005 FRC controler uploading my program but the 2006/07 didnt i dont know that the problem after i tried a lot, 1 time the loader showed "erasing" and after that it didnt uploaded no progdam after that prog LEDs are always are orange... even the master code didnt works:(
Kingofl337
21-01-2007, 07:57
Are using the same serial cable evertime? I got a call Friday from someone having problems and swore it was a software issue. I had them change the serial cable to one from the 07 kit (black cables for radio) and then it started working.
The 2005 controller was 8520 and the 2006/2007 is 8722 - sounds fishy that the setup is working with the old/different controller and not the new. Did the correct controller get selected in Options -> Robot Controller Setup when attempting to build/download to 2006/2007 controllers?
the problem we had was that we were holding the program button to long
just hold the button until you see the light turn orange and it should work`
no the problem not in the cable if i can download the program to FRC 2005 RC and its working normaly but with the 2006/2007 controlers i have the problem... if i use easyC loader the loader cant even recodnise which controler im using (if i tring 2006/2007 controler) but if im using 2005 controler its working correctly...
whytheheckme
24-01-2007, 10:16
I had this problem earlier....
I was running Vista RC1 on my MacBook Pro. Any application that need to use the virtual serial port created by my vex USB-Serial would not like it.
I just installed XP SP2, and It works fine now.
I doubt this is any of your guy's problem... Vista would have come up by now.
You can also try uninstalling the COM port, and rebooting to reinstall it.... Maybe a messed up driver?
Jacob
mike1062
24-01-2007, 10:26
did restart it
Kingofl337
24-01-2007, 11:10
Did you try the IFI loader?
Bob22341
24-01-2007, 12:01
I have the same problem. I have tried suggestions in this thread, and others besides without any success. When I loaded the software for the first time, I just loaded the program and didn't load any firmware. Was I supposed to? I am now not able to erase the code that was downloaded, and the good downloaded code doesn't work, giving program errors. Can anyone help me?
http://www.ifirobotics.com/docs/legacy/frc_system_quick_start_2004-1-14.pdf
http://www.ifirobotics.com/docs/rc-ref-guide-6-13-2006.pdf
When we have difficulties, we start at the beginning. Might seem silly, but it helps tell us what is working and what isn't.
1. Using the ifi loader 1.1.0 (http://www.ifirobotics.com/docs/ifi-loader-v1-1-0.zip) reload the master code and default hex code. Instructions can be found in a pdf file within master-software-ver11.zip/ (http://www.ifirobotics.com/docs/legacy/master-software-ver11.zip). Only use the pdf file in this zip file - use the V13 master code as outlined below. This should be done on the 2006/2007 controllers only as I am not sure what will happen - if anything - if this is tried on a 8520 processor in the 2005 controller.
. V13 master code is available in 2007 default code (http://www.ifirobotics.com/docs/frc-code-2007-8722.zip, the filename is FRC_MASTER_V13.BIN
. FRC_Default.hex is in the same zip file and is the default hex file to use
. Make sure you select the correct COM port via "PortSettings" menu in ifi loader.
. Follow ALL directions in the pdf instructions, including re-verifying the controller type. If the ifi loader already shows "FRC" where expected, do another verification to start anyway. If we can't get controller verification then we know we have either a communication setup issue with our COM port or a bad controller. Its always been a COM port setup issue if we cannot get through controller verification.
** If we get through this cleanly, then we know it isn't a problem with the COM port or controller **
2. Using MPLAB, compile and download unmodified default code [which we keep in a separate directory]. The default code is in the aforementioned zip. Make sure that you select the "Configure -> Select Device" appropriately. For 2006/2007 this is PIC18F8722. For 2005 controller's (that haven't been sent back to be upgraded) this is PIC18F8520.
. build all ("Project->Build All") so that a new .hex file is created without errors
. startup ifi downloader V1.1.0, select the hex file just created and download.
** If there is a problem at this point, it is somewhere in the configuration setup of the MPLAB environment. Typical problem has not been selecting the correct PIC chip device as the target for the build or not having MPLAB properly configured. MPLAB and C18 Microchip suite was provided in KOPs. **
3. Now on to EasyC. Using provided .bin and .hex files in step 1 we've proved that the COM and controller are setup properly and can be communicated to ok. This means there is an EasyC setup issue if we still cannot download from here. Try the above steps and report explicit good/bad results. By then I'll be home and have access to EasyC and will update the steps for EasyC in this post. ;-)
Please be explicit as there has been a lot of advise in this thread.
Q. Were you able to verify the controller under the IFI loader?
Q. Were you able to download the master (bin) code without error?
Q. Were you able to download the default (hex) code without error?
Q. Were you able to build this year's MPLAB default code without error?
Q. Were you able to download this year's MPLAB default code without error?
Bob22341
24-01-2007, 14:18
I have followed all of the documenation on verifying the controller port, and the controller verifies, but when I try to download master code and click on the download button, there is suddenly no controller to download code too.
Bob22341
24-01-2007, 15:40
Problem Solved :)
Controller returned for warranty work.
"there is suddenly no controller to download code to."
Out of curiousity, how did this manifest itself? Was there an error or did the download just hang or was there some other symptom?
thanks.
when im trying to upload the program to the controller the computer isent recognizing the controllers version (2006/2007 controller).
but it does recognizes the 2005 controller
http://img206.imageshack.us/img206/3573/pic2ax.jpg
Sounds like it may be the same problem I had with the actual controller. I tried our 06 RC and worked fine then tried the 07 and wouldnt work. I called IFI and he went through all the steps everyone on here did and told me to send it in and they'll check it out. I am wondering if part of the processors are goofed up or the actual program input interface.
Oh well now I just wait a few more days to get it back.
-Mike
YAI, ok i found the problem.... i tried 3 computers then i tried at home and its works correctly there so the wole problem was the 3 computers. thank you guys for the help:):)
Do you guys know were I can find the code for the camra. Or any info on how to use it, and see code that can give us an idea on how to include it in the code/recive info from it?
www.kevin.org
click on FRC stuff ("here")
scroll down, and it should be called something like frc_first_camera2
get the bells and whistles if you're doing a lot of stuff with autonomous mode, the streamlined version is ok though
you'll have to upload it to the camera/robot, but after that, the camera should be able to track targets and display feedback
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.