Go to Post Right, play to win. Play to win the event or play to win one match? This year, unfortunately, they are not the same thing. - Paul Copioli [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 20-03-2004, 12:42
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
size limitations D:

Is there any way to finish the link even even if your over your size limit so you can look at the map and see how much you need to shrink your code?
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #2   Spotlight this post!  
Unread 20-03-2004, 12:46
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: size limitations D:

Try changing the memory model. (Go Project->Options->All Files (or something like that. I'm on a computer that doesn't have MPLAB, so I don't know.) and find the setting for the linker that deals with the memory model size.) Hope that helps.
__________________

  #3   Spotlight this post!  
Unread 20-03-2004, 13:05
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: size limitations D:

nope, set everything to large and still the same thing. The realy confusing thing is, im not near the limit to the point that im at in the link according to the temp MAP file. It stops at "MATH_DATA", says it doesnt fit. The realy confusing thing is mathdata is like 20bytes. Any sujestions?
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #4   Spotlight this post!  
Unread 20-03-2004, 13:12
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: size limitations D:

Now, according the temp file, its addressing MATH_DATA to a diff spot then usual. MATH_DATA normaly(always) is mapped to 0x3f but for some reason .temp is being mapped to 0x00 and its size is 0x44. It is normaly mapped there, but its size should be 0x28. Ideas?
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #5   Spotlight this post!  
Unread 20-03-2004, 14:53
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: size limitations D:

amazing, the problem turned out to be very very dumb. Aparently the linker didnt like the fact that I did my taylor expansion for atan in a single line and freaked out. It, for some reason, increased the size of .tempwhatever and didnt have room for the rest. Its amazing how crappy this compilier is!
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #6   Spotlight this post!  
Unread 20-03-2004, 19:02
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: size limitations D:

Yeah.

Glad you figured it out. See you at the Buckeye!
__________________

  #7   Spotlight this post!  
Unread 20-03-2004, 21:20
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: size limitations D:

If you really needed to expand the memory, you can try editing the linker script (Make a back-up copy, though!). I would just add a section called "ExtraRoom" and having addresses from 0xF00400 to 0xFFFFFF. That should be big enough. But don't load any code you compile that way! And tell me how it goes, I'm mostly guessing.
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
What size monitor do you use? Elgin Clock IT / Communications 30 10-03-2004 16:53
My file size is too big..... JamesWu 3D Animation and Competition 20 20-02-2004 22:31
Size limitations of 2X Yellow Ball John Larock Kit & Additional Hardware 9 15-01-2004 12:55
Is there a size regulation for the pit area if we wanted to put up a banner Ragin_Kage General Forum 6 14-03-2002 15:33
wheel limitations Greg Needel Technical Discussion 1 15-01-2002 16:37


All times are GMT -5. The time now is 07:59.

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