Go to Post Perhaps we should just have signs put up that say "Please remove your head and tail before entering". - Molten [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 04-12-2006, 22:35
ThienAn's Avatar
ThienAn ThienAn is offline
Programmer Boy
AKA: Mark
FRC #2104
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Worcester, MA
Posts: 3
ThienAn is an unknown quantity at this point
Send a message via AIM to ThienAn
MPLAB

what exactly is MPLAB? I know that it's a language that you can use for programming...and that there a different versions of it. Aside from that, I don't have a clue about anything else about it. =S (sorry, im just looking for language possibilities for programming right now, a language's pros and cons and such)
__________________


Team 2104! ^_^
Programmer
  #2   Spotlight this post!  
Unread 04-12-2006, 22:39
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,420
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: MPLAB

MPLAB is an IDE, Integrated Development Enviroment. Of course theres different versions of it, as you will find that with all things (look at java, what are they on right now, like release 9?). MPLAB is made to program innovation first controllers (correct me if i'm wrong). It uses the c programming language, so it isn't its own seperate language. I think your only other option is EasyC... which is a graphically interfaced version.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #3   Spotlight this post!  
Unread 04-12-2006, 22:50
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: MPLAB

http://www.ifirobotics.com/docs/lega...2-apr-2004.pdf

You might want to read through that if your just getting started

www.ifirobotics.com

Hope that helps
  #4   Spotlight this post!  
Unread 06-12-2006, 15:12
shawger shawger is offline
Programming Subteam Leader
FRC #1732 (Hilltopper Robotics)
Team Role: Alumni
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Wisconsin
Posts: 60
shawger will become famous soon enough
Re: MPLAB

Quote:
Originally Posted by ThienAn
what exactly is MPLAB? I know that it's a language that you can use for programming...and that there a different versions of it. Aside from that, I don't have a clue about anything else about it. =S (sorry, im just looking for language possibilities for programming right now, a language's pros and cons and such)
MPLAB is not a programming language. It is the development environment that comes with the FIRST kit of parts. Basically, it is a text editor with project management and syntax highlighting that integrates nicely with the MCC18 compiler. We use the C programming language to program the robot.

I suggest you go over to wikipedia and look up the definitions for IDE, C Programming Language, and Compiler.
  #5   Spotlight this post!  
Unread 06-12-2006, 15:42
RKElectricalman's Avatar
RKElectricalman RKElectricalman is offline
Meezy the Mentor
AKA: Rameez
FRC #0384 (Sparky 384)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Richmond, Va
Posts: 88
RKElectricalman is just really niceRKElectricalman is just really niceRKElectricalman is just really niceRKElectricalman is just really nice
Send a message via AIM to RKElectricalman
Re: MPLAB

MPLAB, as stated above, is an IDE, and It includes the compiler for the code too. It uses C programming, so unless if you're going to use Easy C you're going to have to learn how to program in C. I'd suggest learning C before the season starts, and getting a nice basis of it before trying Easy C as well. That way you'll have a nice understanding of everything before the season starts, ya know? Plus there's always more to learn, and getting a heads up on it will really help.

Extra info: MPLAB is made my Microchip technologies, and can be used in most C-based Interfaces, (i think )
__________________
ahhh Division Finalists!!
  #6   Spotlight this post!  
Unread 06-12-2006, 20:29
Steve S.'s Avatar
Steve S. Steve S. is offline
2008 FIRST Volunteer =D
FRC #1591 (Greece Gladiators)
Team Role: Webmaster
 
Join Date: Aug 2005
Rookie Year: 2004
Location: Rochester,NY
Posts: 311
Steve S. is a jewel in the roughSteve S. is a jewel in the roughSteve S. is a jewel in the roughSteve S. is a jewel in the rough
Send a message via AIM to Steve S. Send a message via MSN to Steve S. Send a message via Yahoo to Steve S.
Re: MPLAB

Here is a link to the MPLAB Page on Microchip's Site

http://www.microchip.com/stellent/id...&part=SW007002
  #7   Spotlight this post!  
Unread 07-12-2006, 18:07
Jimmy Cao Jimmy Cao is offline
Registered User
AKA: Jimmy Cao
no team
 
Join Date: Sep 2006
Rookie Year: 2004
Location: San Francisco, CA
Posts: 295
Jimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant future
Re: MPLAB

MPLAB is, as has already been stated above many times, an IDE. It's used my most teams who are not using Easy-C to program their robot.

MPLAB serves 2 main purposes. First, it is used to write the code itself. It is, effectively, just a text editor for this purpose.

It's second, and more useful purpose, is as a compiles. If the compiler is installed, it can build your code. It takes your text, which means nothing to the RC, and makes it into a HEX file (and various outer file types along the way)
  #8   Spotlight this post!  
Unread 07-12-2006, 19:05
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: MPLAB

Quote:
Originally Posted by efoote868
I think your only other option is EasyC... which is a graphically interfaced version.
I do believe that there is a way to get Eclipse working, as well. I know that right now they're working on improving it. So that is just another option.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #9   Spotlight this post!  
Unread 08-12-2006, 10:35
shawger shawger is offline
Programming Subteam Leader
FRC #1732 (Hilltopper Robotics)
Team Role: Alumni
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Wisconsin
Posts: 60
shawger will become famous soon enough
Re: MPLAB

Quote:
Originally Posted by AtalanteStar25
I do believe that there is a way to get Eclipse working, as well. I know that right now they're working on improving it. So that is just another option.
Or VIM or another text editor providing you have the right makefiles. There is a thread somewhere around here for that.
  #10   Spotlight this post!  
Unread 08-12-2006, 16:56
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: MPLAB

Quote:
Originally Posted by Lostmage333
It's second, and more useful purpose, is as a compiles. If the compiler is installed, it can build your code. It takes your text, which means nothing to the RC, and makes it into a HEX file (and various outer file types along the way)
Well... technically... not exactly. MPLAB itself is just an IDE, no more. The compiler, specifically C18 for our purposes, is what actually makes the code.

If you had some kind of issue with using MPLAB, you could write your code or word or edit or whatever text editor you want, and just call the compiler from the command line.

If you don't like C18, HiTech (not to be confused with HiTec who makes airplane servos/receivers) also makes a compiler for embedded processors.

On the Eclipse subject... theoretically using that IDE should work since most of what an IDE is is a text editor as said before. And since you aren't using an ICD or ICE there shouldn't be any issues with interfacing with the debugger. Personally I like MPLAB but have used Eclipse as well... if you really want to try it I'll bet it can be done.

Quote:
Originally Posted by RKElectricalman
Extra info: MPLAB is made my Microchip technologies, and can be used in most C-based Interfaces, (i think )
If by MPLAB you mean C18 then yes you are correct as far as I know.

I use Microchip stuff around work and also for those fun weekend projects soooo... if anybody needs any help/questions answered just post or hit me up.

-Q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #11   Spotlight this post!  
Unread 08-12-2006, 18:06
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: MPLAB

Quote:
Originally Posted by Qbranch
If you had some kind of issue with using MPLAB, you could write your code or word or edit or whatever text editor you want, and just call the compiler from the command line.
There's enough freeware editors that you should download one instead of trying to make Word work.

Also, I can almost guarantee that if you compile/link by hand, you will become discouraged and screw it up.

Quote:
Originally Posted by Qbranch
If you don't like C18, HiTech (not to be confused with HiTec who makes airplane servos/receivers) also makes a compiler for embedded processors.
Just a word of warning: any alternative compiler you use will likely NOT be supported by us or IFI. (I know of no teams that don't use MCC18.) If you do use it, it MUST be able to read libraries created by MCC18.

Quote:
Originally Posted by Qbranch
On the Eclipse subject... theoretically using that IDE should work since most of what an IDE is is a text editor as said before. And since you aren't using an ICD or ICE there shouldn't be any issues with interfacing with the debugger. Personally I like MPLAB but have used Eclipse as well... if you really want to try it I'll bet it can be done.
It's not as hard as he makes it out to be:
  1. Get Eclipse
  2. Get the CDT (C/C++ Development Toolkit)
  3. an MCC18 toolchain plugin (prograid's original)

Also, I'm one of the people working on improving Eclipse's support of the MCC18.
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
MPLab to Easy C sbwprotoss9 Programming 1 12-01-2006 22:00
Mplab WesleyBalmer Programming 6 14-01-2005 15:23
mplab iso CmptrGk Programming 14 28-09-2004 20:11
MPlab error ryan_f Programming 9 24-05-2004 07:30
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


All times are GMT -5. The time now is 20:48.

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