Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   2002 r/c (http://www.chiefdelphi.com/forums/showthread.php?t=37776)

John Gutmann 28-04-2005 22:12

2002 r/c
 
i am trying to program a 2002 robot controller and dont kno how to do it, i have the stamp editor from first legacy but it says it cant read the device, i have the power on and everything, how do i do it???, o yea i am trying to upload the default code

Greg Ross 28-04-2005 22:42

Re: 2002 r/c
 
It's been a long time. Off the top of my head:
  • Make sure the editor is set up to use whatever com port you're using.
  • Make sure the baud rate is set correctly. (9600, I think.)
  • Try using a computer that doesn't require a USB to Serial adapter.

Marc P. 28-04-2005 23:42

Re: 2002 r/c
 
Also make sure the jumper on the R/C is set to User mode. The legacy controller had a switch to specify User code vs. Default code. I believe the flash in default mode is read only, so you can only download code when it's in User mode. Look towards the bottom by the team number dip switches.

Greg Ross 29-04-2005 01:37

Re: 2002 r/c
 
The last year (maybe 2) of the BASIC Stamp RC allowed you to write to both banks, so it may or may not be a problem if the jumper is in the default position.

Mike Betts 29-04-2005 10:19

Re: 2002 r/c
 
Quote:

Originally Posted by sparksandtabs
... o yea i am trying to upload the default code

You cannot upload code. You can only download code.

Mike

Greg Ross 29-04-2005 14:14

Re: 2002 r/c
 
Quote:

Originally Posted by Mike Betts
You cannot upload code. You can only download code.

Mike

True. But I knew what he meant, didn't you? ;)

Alan Anderson 29-04-2005 16:38

Re: 2002 r/c
 
Quote:

Originally Posted by Mike Betts
You cannot upload code. You can only download code.

Quote:

Originally Posted by GW (Greg) Ross
True. But I knew what he meant, didn't you? ;)

I thought Mike gave a perfectly appropriate response. sparksandtabs says he's trying to read the device, not write to it.

For more help, sparksandtabs, http://www.ifirobotics.com/first-legacy.shtml has the default code you're looking for, along with a guide to programming that should be extremely useful.

Greg Ross 29-04-2005 17:06

Re: 2002 r/c
 
Quote:

Originally Posted by Alan Anderson
I thought Mike gave a perfectly appropriate response. sparksandtabs says he's trying to read the device, not write to it.

For more help, sparksandtabs, http://www.ifirobotics.com/first-legacy.shtml has the default code you're looking for, along with a guide to programming that should be extremely useful.

Point taken. OK, sparksandtabs, which is it? Are you trying to read the default program from the RC, or are you trying to write to the RC?

Mike Betts 29-04-2005 17:17

Re: 2002 r/c
 
Quote:

Originally Posted by GW (Greg) Ross
Point taken. OK, sparksandtabs, which is it. Are you trying to read the default program from the RC, or are you trying to write to the RC?

Greg, et al,

In the event he is trying to read, he should consult IFI. I know that we can upload a hex image (link) but that is only with the 2004/2005 controllers.

I had assumed that this was a "classic" case of one generation of students graduating and source code not being stored on permanent media (school server, CDROM, et cetera).

However, I might be wrong.

Regards,

Mike

John Gutmann 29-04-2005 20:37

Re: 2002 r/c
 
i am trying to write code to the device
but now when i am in the basic stamp editor it detects the com port but not the r/c it says something like unable to locate basic stamp

Greg Ross 30-04-2005 13:12

Re: 2002 r/c
 
Quote:

Originally Posted by sparksandtabs
i am trying to write code to the device
but now when i am in the basic stamp editor it detects the com port but not the r/c it says something like unable to locate basic stamp

What version of the BASIC Stamp Editor are you using? I recommend getting the latest version (2.2) from Parallax.

Are you using a USB to serial adapter? They are not all the same. They don't all support all the signals needed by the editor for detecting and programming the BS2. If you have a computer available which has an old-school serial port, try using it.

When you apply power to the RC, what LEDs light up? There are various errors that will be indicated by the LEDs. The Robot Controller Reference describes the LEDs and those error conditions.

Good luck. ;)

Greg Ross 05-05-2005 01:43

Re: 2002 r/c
 
FYI, he was trying to download to the RC. The problem turned out to be his USB to serial adapter. He bought a new one from Radio Shack, and it is working now.


All times are GMT -5. The time now is 04:37.

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