Go to Post Before you fix something, it's worthwhile to make a concerted effort to figure out why it failed. - Ether [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2007, 15:50
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Re: Problem with program uploading

nope still don't works the download setting is on frc 2006/2007 controler
  #2   Spotlight this post!  
Unread 08-01-2007, 17:45
intelitek_Chris intelitek_Chris is offline
Registered User
no team
 
Join Date: Dec 2005
Location: Manchester
Posts: 19
intelitek_Chris will become famous soon enoughintelitek_Chris will become famous soon enough
Re: Problem with program uploading

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
  #3   Spotlight this post!  
Unread 09-01-2007, 02:59
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Re: Problem with program uploading

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??
  #4   Spotlight this post!  
Unread 09-01-2007, 07:49
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Problem with program uploading

What are you using for a serial port? USB or Onboard?
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #5   Spotlight this post!  
Unread 09-01-2007, 08:19
Kawashima Kawashima is offline
Registered User
FRC #1382 (Etepteam)
Team Role: Mechanical
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Brazil
Posts: 2
Kawashima is an unknown quantity at this point
Re: Problem with program uploading

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!!
  #6   Spotlight this post!  
Unread 10-01-2007, 02:01
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Re: Problem with program uploading

im using the com port on my computer not the usb adapter.
  #7   Spotlight this post!  
Unread 10-01-2007, 15:13
darist darist is offline
Registered User
AKA: David Aristizabal
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Newark, NJ
Posts: 36
darist is an unknown quantity at this point
Re: Problem with program uploading

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.

Last edited by darist : 10-01-2007 at 15:34.
  #8   Spotlight this post!  
Unread 11-01-2007, 03:12
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Unhappy Re: Problem with program uploading

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...
i have tried to do everything but still it doesn't works...
  #9   Spotlight this post!  
Unread 11-01-2007, 07:36
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Problem with program uploading

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.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #10   Spotlight this post!  
Unread 14-01-2007, 06:11
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Unhappy Re: Problem with program uploading

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
  #11   Spotlight this post!  
Unread 14-01-2007, 16:46
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: Problem with program uploading

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

Last edited by Chaychay : 14-01-2007 at 18:14. Reason: discovered more oddities
  #12   Spotlight this post!  
Unread 14-01-2007, 20:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Problem with program uploading

Quote:
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?
  #13   Spotlight this post!  
Unread 16-01-2007, 12:23
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Re: Problem with program uploading

can some one hekp me with my problem?
  #14   Spotlight this post!  
Unread 16-01-2007, 16:21
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: Problem with program uploading

perhaps try another computer? worked for me, might work for you
  #15   Spotlight this post!  
Unread 17-01-2007, 07:05
1573's Avatar
1573 1573 is offline
Registered User
FRC #1573 (KGSTARS)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 16
1573 is an unknown quantity at this point
Send a message via ICQ to 1573
Re: Problem with program uploading

no... i have tried 3 computers
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Program Build Problem douglass1371 Programming 3 18-02-2006 18:46
HELP needed, problem with streamling, need uploading space or diffrent solution... Nimmy General Forum 5 15-02-2006 11:18
program download problem zdeswarte Programming 5 23-03-2005 06:46
Problem with communicating with STAMP through serial port Skabana159 Technical Discussion 2 06-02-2003 21:10


All times are GMT -5. The time now is 15:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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