Go to Post It is a difficult balancing act - we're engineers because we like to solve problems, and to take a step back and let someone else solve it, with what may be a poorer solution, is darn hard. - DonRotolo [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 24-01-2006, 09:14
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

i have an error and i don't know why

i install the serial_ports code as the read me tell me to do
and i got this error:

" MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section 'InterruptVectorLow' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1 "
  #2   Spotlight this post!  
Unread 24-01-2006, 09:39
DKolberg DKolberg is offline
Mentor Iron Giants
AKA: David Kolberg
FRC #5069 (Iron Giants)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2000
Location: South Bend
Posts: 44
DKolberg has a spectacular aura aboutDKolberg has a spectacular aura about
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

Quote:
Originally Posted by naor52
i have an error and i don't know why

i install the serial_ports code as the read me tell me to do
and i got this error:

" MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section 'InterruptVectorLow' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1 "
From the description of the error, I would search the project for interruptvectorlow and only use it in one file. figure out which file is best to use it in and remove it from the others.

Dave
__________________
David Kolberg
2014- Mentor Iron Giants 5069
2004-2010 Coach SBotz Team 1327
2000-2003 Mentor Team 135
2016 St. Joe District Event Winner
2009 WFA Boilermaker
2008 Driving Tomorrow's Technology
2005 Innovation in Control
2005 IRI Spirit of Indiana
  #3   Spotlight this post!  
Unread 24-01-2006, 10:07
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

i installed the serial_ports code like the read me said and he gives me that error
  #4   Spotlight this post!  
Unread 24-01-2006, 10:18
DKolberg DKolberg is offline
Mentor Iron Giants
AKA: David Kolberg
FRC #5069 (Iron Giants)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2000
Location: South Bend
Posts: 44
DKolberg has a spectacular aura aboutDKolberg has a spectacular aura about
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

Which files did you copy into your project?
__________________
David Kolberg
2014- Mentor Iron Giants 5069
2004-2010 Coach SBotz Team 1327
2000-2003 Mentor Team 135
2016 St. Joe District Event Winner
2009 WFA Boilermaker
2008 Driving Tomorrow's Technology
2005 Innovation in Control
2005 IRI Spirit of Indiana
  #5   Spotlight this post!  
Unread 24-01-2006, 10:37
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

i insert the file serial_ports.c, serial_ports.h

and i think the error is in the user_routines_fast.c in fanction
void InterruptHandlerLow ()



if you could give your uuser_routines_fast.c wich works so add it

Last edited by naor52 : 24-01-2006 at 10:40.
  #6   Spotlight this post!  
Unread 24-01-2006, 10:41
DKolberg DKolberg is offline
Mentor Iron Giants
AKA: David Kolberg
FRC #5069 (Iron Giants)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2000
Location: South Bend
Posts: 44
DKolberg has a spectacular aura aboutDKolberg has a spectacular aura about
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

The InterruptVectorLow is defined in the user_routines_fast.c file. It should not be defined in any other file and you only have one user_routines_fast file (did not rename the file). The directions in the read me file indicate that you should copy the code for the interrupt vector into your file.

If you are using the camera, I would suggest you start with that code as the baseline and copy that directory into a new directory and add your user code to that version. It already has all of Kevin's files integrated in so is a good starting point. It is usually easier to create your own c and header file for your code and just call it from the main code. This adds some overhead for the additional call but allows updating to newer base code a lot easier.

Dave
__________________
David Kolberg
2014- Mentor Iron Giants 5069
2004-2010 Coach SBotz Team 1327
2000-2003 Mentor Team 135
2016 St. Joe District Event Winner
2009 WFA Boilermaker
2008 Driving Tomorrow's Technology
2005 Innovation in Control
2005 IRI Spirit of Indiana
  #7   Spotlight this post!  
Unread 24-01-2006, 11:45
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,112
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: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

I get the "non-overlay and absolute but occurs in more than one input file" error when moving project files between directories. When it happens, the solution is to do a full "clean" build, using the Make All menu choice.
  #8   Spotlight this post!  
Unread 24-01-2006, 12:18
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

i did what Alan Anderson told and now the problem is :

MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section '.code_eeprom.o' can not fit the section. Section '.code_eeprom.o' length=0x000001a4
Errors : 1
  #9   Spotlight this post!  
Unread 24-01-2006, 14:19
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,112
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: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

Congratulations, you just hit the limit of available program space. The "can not fit the section" error means you have too much software to fit in your robot controller.

Are you using a 2006 RC? If so, have you told MPLAB that you're using a 2006 RC (by choosing the proper PIC from the device list)? Have you corrected any older #include statements that refer to the smaller 2004/2005 controller's PIC?
  #10   Spotlight this post!  
Unread 24-01-2006, 16:52
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

I am using 2006 RC but i didn't choose the proper PIC from the device list and didn't
corrected any older #include statements that refer to the smaller 2004/2005 controller's PIC

how I do that?

thank you Alan
  #11   Spotlight this post!  
Unread 24-01-2006, 21:37
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,112
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: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

From the Configure menu, choose Select Device..., make sure that PIC18F8722 is selected in the Device: field, then press OK.

Look at the #include statements to make sure that p18f8520.h isn't still being referenced by any of your files. If you find any, change it to p18f8722.h instead.

If neither of these was a problem, then you indeed have too much in your program to fit the new RC. We were warned in the kickoff presentation to watch out for that.
  #12   Spotlight this post!  
Unread 25-01-2006, 09:08
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Still doesent work...

It compiles without errors but I cant write a thing! It just doesent let me
type in the program. The keyboard is alright because it writes in other
programs like in this site

please help!!!
  #13   Spotlight this post!  
Unread 25-01-2006, 15:46
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Still doesent work...

Quote:
Originally Posted by naor52
It compiles without errors but I cant write a thing! It just doesent let me
type in the program. The keyboard is alright because it writes in other
programs like in this site

please help!!!
Open up the file you can't type in in MPLAB and on the page right click and open properties and the Protect Read Only Files will be checked, uncheck it.
  #14   Spotlight this post!  
Unread 15-02-2007, 21:31
chapmatr's Avatar
chapmatr chapmatr is offline
Zippidy bling-zap whippy-wog snizin
AKA: Travis (Lead Programmer)
FRC #1676 (Pascack Pioneers)
Team Role: Driver
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Hillsdale NJ
Posts: 19
chapmatr is an unknown quantity at this point
Send a message via AIM to chapmatr
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

Yeah, we're getting the same problem trying to convert our camera stuff into easyC, can anyone tell us what to do? we can't do a make clean because we don't know how to directly access the compiler.
__________________
Did you know that 87% of all online statiscs are made up?
  #15   Spotlight this post!  
Unread 24-02-2007, 01:19
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: section 'InterruptVectorLow' type is non-overlay (was: HELP HELP HELP!!!!!)

I got this error after making a bunch of changes, and one change was copying the latest FRC_MASTER_V13.BIN file into the project directory, and leaving the old version, FRC_MASTER_V12.BIN, there too.

When I deleted the version 12 file, the problem went away. However, I was making other changes at the time, and this might not be what fixed it.

Good luck,
Jim
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
Error - section 'UTIL_LIB' can not fit the section. Section 'UTIL_LIB' length=0x00000 BookerT Programming 13 27-01-2005 09:49
Error - section 'UTIL_LIB' can not fit the section. Section 'UTIL_LIB' length=0x00000 BookerT Programming 0 25-01-2005 19:17
Linking Errors: "section '????' can not fit the section. ..." Astronouth7303 Programming 3 16-01-2005 21:36
PSATs Back Yan Wang Chit-Chat 23 20-12-2003 13:16
Game Idea archiver 2000 3 23-06-2002 23:27


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

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