Go to Post Sometimes in discussions regarding rules or differences of opinion, the threads start feeling like a dog chasing its tail, going round and round. - JaneYoung [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-01-2007, 17:46
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
MPLAB 7.20 Help please?

hi there, when i use mplab and go to project > build all, it always creates a ".coff" file not a ".hex" .. any idea how i might go about fixing this? many thanks
  #2   Spotlight this post!  
Unread 20-01-2007, 19:25
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

help
  #3   Spotlight this post!  
Unread 20-01-2007, 20:39
taberski taberski is offline
Registered User
FRC #1619 (Up-a-Creek)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Longmont, CO
Posts: 6
taberski is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

You need to get MPLAB to run MP2HEX.

In MPLAB IDE 7.20 select:

Project->Build Options ... ->Project

and select the MPLink Linker tab,

Finally - check the INHX32 Hex-File Format.

Good Luck!

Kevin Taberski
Software Mentor
Team 1619 - Up-a-Creek Robotics
Longmont, Co
  #4   Spotlight this post!  
Unread 20-01-2007, 20:43
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: MPLAB 7.20 Help please?

I do not know how you are managing to do this. From MPLAB select Project>Build Options>Project and click in the MPLINK Linker tab and then verify that INHX32 is selected. My guess is that this is not your problem...

My guess is that you are getting an error which is halting the build process...

Any error messages?

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #5   Spotlight this post!  
Unread 20-01-2007, 20:46
slloyd slloyd is offline
Registered User
AKA: Sonny
FRC #1221 (Nerbotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: CANADA -eh?
Posts: 20
slloyd is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

i had this problem when the project we were editing was burried very deep in the directory tree. try closing down MPLAB. copy your entire working directory, then paste it somewhere near the root directory such as:

C:\mcc18\projects\{working folder}

then open your workspace again in MPLAB and try build all function.

slloyd
  #6   Spotlight this post!  
Unread 20-01-2007, 20:53
Christian Christian is offline
...
FRC #0408 (RoboTicks)
Team Role: Leadership
 
Join Date: Nov 2006
Rookie Year: 2001
Location: Ft. Lauderdale
Posts: 17
Christian will become famous soon enoughChristian will become famous soon enough
Send a message via AIM to Christian
Re: MPLAB 7.20 Help please?

I also had this same problem and as slloyd said, the project was burried very deep. I just created a directory: C:/camera and put the project in there. Then, changed the output directory to that path since it was still creating the .coff file after the directory change.
__________________
President/Programming/Mechanical/Electrical/Animation/Website

robots and cake are all you need, everything else like oxygen are considered bonuses.
  #7   Spotlight this post!  
Unread 20-01-2007, 22:52
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Re: MPLAB 7.20 Help please?

After you go Project -> Build All -> Project, you go to the MPLINK Linker tab and check "Suppress COD file generation." That worked for me.
  #8   Spotlight this post!  
Unread 21-01-2007, 11:58
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

wow thanks so much for the help everyone .. you're all so much friendlier and willing to help than id expected ... again many thanks!

good luck to you all!
  #9   Spotlight this post!  
Unread 21-01-2007, 12:13
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: MPLAB 7.20 Help please?

Quote:
Originally Posted by groovy69 View Post
...you're all so much friendlier and willing to help than id expected ...
Welcome to the world of Gracious Professionalism. Helping each other out is part of the culture we're trying to spread. Soak it up and pass it along. While FRC teams are certainly rivals, we are not enemies.
  #10   Spotlight this post!  
Unread 21-01-2007, 12:20
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

Quote:
Originally Posted by Alan Anderson View Post
Welcome to the world of Gracious Professionalism. Helping each other out is part of the culture we're trying to spread. Soak it up and pass it along. While FRC teams are certainly rivals, we are not enemies.


Absolutely.



and ya, here's what i get now when i build...

-------------------------------------------------



MPLINK 3.94, Linker
Copyright (c) 2005 Microchip Technology Inc.
Errors : 0

MP2COD 3.94, COFF to COD File Converter
Copyright (c) 2005 Microchip Technology Inc.
Errors : 0

MP2HEX 3.94, COFF to HEX File Converter
Copyright (c) 2005 Microchip Technology Inc.
Errors : 0

Loaded C:\frc_camera_21\camera.cof.
BUILD SUCCEEDED: Sun Jan 21 12:17:30 2007



-------------------------------------------------

and its building a hex. so thanks a lot
-out of curiousity should it still say .cof? here: Loaded C:\frc_camera_21\camera.cof.
BUILD SUCCEEDED: Sun Jan 21 12:17:30 2007
  #11   Spotlight this post!  
Unread 21-01-2007, 14:17
slloyd slloyd is offline
Registered User
AKA: Sonny
FRC #1221 (Nerbotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: CANADA -eh?
Posts: 20
slloyd is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

glad to help

  #12   Spotlight this post!  
Unread 21-01-2007, 15:23
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

another problem now.. in the com1 terminal window.. it doesnt display any of my printfs... which is puzzling...


essentially this is all i want to see:


-------------------------


rot = Get_Analog_Value(rc_ana_in01);
temp = Get_Analog_Value(rc_ana_in02);
pot = Get_Analog_Value(rc_ana_in03);
ac = Get_Analog_Value(rc_ana_in04);


printf("rot: 3%d, temp: 3%d, pot: 3%d, ac: %d/r", rot, temp, pot, ac);
  #13   Spotlight this post!  
Unread 21-01-2007, 15:34
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: MPLAB 7.20 Help please?

Quote:
Originally Posted by groovy69 View Post
printf("rot: 3%d, temp: 3%d, pot: 3%d, ac: %d/r", rot, temp, pot, ac);
The carriage return character is \r.
  #14   Spotlight this post!  
Unread 21-01-2007, 18:31
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

^ omgosh .. bleh what a small and terrible error on my part.. thanks for catching that..
-however, it still does not diplay anything in the com1 terminal window..


maybe this will help:

when i unplug the frc controller from the main power (12V) the com terminal window prints: IFI>
it does this once for every time i unplug, then plug back in, the power to the controller...

hmm??



------ and it seems like everytime i turn around im getting some new error---
any help?





INK 3.94, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - section '_entry_scn' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

BUILD FAILED: Sun Jan 21 18:30:34 2007

Last edited by groovy69 : 21-01-2007 at 18:47.
  #15   Spotlight this post!  
Unread 22-01-2007, 02:00
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: MPLAB 7.20 Help please?

http://www.chiefdelphi.com/forums/sh...ad.php?t=51256 This thread has information on the '_entry_scn' error.
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
Help with MPLAB burningpig Programming 9 17-01-2007 13:10
Please help; HUGE mplab problem brennerator Programming 5 09-01-2007 01:25
MPLAB IDE HELP Idaman323 Programming 2 16-02-2005 18:01
PLEASE HELP US FIND OUR MOMMY (or MPLAB) superlou Programming 3 23-02-2004 16:33
pic: please help us please mortals CD47-Bot Robot Showcase 5 25-01-2004 11:03


All times are GMT -5. The time now is 23:50.

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