Go to Post Nope, nope... no adults here. We're all kids. :) - Andy Baker [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 05-02-2006, 13:27
kiracofe8 kiracofe8 is offline
Registered User
#1317 (Digital Fusion)
Team Role: Engineer
 
Join Date: Nov 2001
Location: Columbus, OH
Posts: 30
kiracofe8 will become famous soon enough
Re: robot controller 2005 2004

Quote:
Originally Posted by CharlieWilken
To upload this years default code or custom code to the 2004 or 2005 controller it seems like you should be able to just select the right Pic18f8520 for the compiler and thats that. I don't understand why you would do instructions 2 and 3. The needed files seem to already be included in the default set of files???
The library files are already compiled. So, switching the device in the MPLAB IDE will not do anything to recompile the libraries for the appropriate device. It will only compile your own code for the appropriate device. You have to tell it manually which library is appropriate. Hope that answers your question.
__________________
/* Daniel */
  #2   Spotlight this post!  
Unread 06-02-2006, 08:22
CharlieWilken CharlieWilken is offline
Registered User
#0634 (Robowolves)
 
Join Date: Jan 2002
Location: Van Nuys, CA
Posts: 46
CharlieWilken is an unknown quantity at this point
Re: robot controller 2005 2004

Thanks. it worked
The missing instructions (for those who are not MPLab proficient);
From the view of all files from MPLAB delete or remove the two files per insturction. Right Click on the library files heading and add files. Here you can select the FRC_library_8520 file. Then right click linker scripts and add the 18f8520.lkr file. If you selected the pic18f8520 device all will now compile correctly.
  #3   Spotlight this post!  
Unread 19-02-2006, 18:54
7wizted_rea1ity's Avatar
7wizted_rea1ity 7wizted_rea1ity is offline
Registered User
AKA: 12053
FRC #0812 (Midnight Mechanics)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: San Diego
Posts: 18
7wizted_rea1ity is on a distinguished road
Send a message via AIM to 7wizted_rea1ity Send a message via MSN to 7wizted_rea1ity Send a message via Yahoo to 7wizted_rea1ity
Re: robot controller 2005 2004

We tried using the 2005 controller for this year's code, following all the instructions in that one file (the same that was posted here before), but we got this error:
Error - section '.code_terminal.o' can not fit the section. Section '.code_terminal.o' length=0x00000202

o.0; What's that mean? The file's too big?
__________________
({}|\|(+|2(|7< 1|= `/()L| (ci|V |`(>/-\|) +|-|15
The truth is only as true as you believe it to be.
L|<>|_|'12|= 0|\/3 ()t` -|-|-|F |=3VV <i|3|_l=
  #4   Spotlight this post!  
Unread 19-02-2006, 19:41
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: robot controller 2005 2004

Quote:
Originally Posted by 7wizted_rea1ity
We tried using the 2005 controller for this year's code, following all the instructions in that one file (the same that was posted here before), but we got this error:
Error - section '.code_terminal.o' can not fit the section. Section '.code_terminal.o' length=0x00000202

o.0; What's that mean? The file's too big?
I got that too. Can someone shed some light on this?
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #5   Spotlight this post!  
Unread 20-02-2006, 09:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: robot controller 2005 2004

The code's too large to fit within the smaller memory of the older robot controllers.

Check the size of the code in MPLAB using View -> Memory Gauge.
Caution: The value for program size is expressed in 2-byte integers and so must be doubled to get the number of bytes. The older controllers are limited to around 29K bytes while the new one has 126K or so available.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
New Model Posted - 2004 Robot Controller Ed Sparks Inventor 10 07-01-2006 23:12
Mechanical Desktop 2004 DX/AutoCAD 2004 and AutoCAD 2005 coastertux Inventor 4 14-06-2005 09:27
Possible Robot controller problems mpalermo81 Technical Discussion 1 24-02-2004 22:43
Robot Controller Flips Out Eko Programming 6 22-02-2004 22:53
BLOWN COMPONENT! In need of 2004 Robot controller to borrow for 2 days Michael Luedtke Electrical 9 22-02-2004 22:15


All times are GMT -5. The time now is 02:13.

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