Go to Post you know you're going to meet someone important, so you put on your robotics team shirt. - NorviewsVeteran [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-05-2008, 11:45
chiclops chiclops is offline
Registered User
no team
 
Join Date: May 2008
Location: Brazil
Posts: 1
chiclops is an unknown quantity at this point
Question Programming PIC using CDC?

Hello!

I wanna know how can I write my program to a PIC microcontroller without using MPLAB.

Thanks in advance!
  #2   Spotlight this post!  
Unread 24-05-2008, 13:10
programMORT11
 
Posts: n/a
Re: Programming PIC using CDC?

Do you mean that you want a different IDE or a compiler? Microchip's mcc18 compiler is really the only compiler that works for the PIC. Howeverm if you're looking ata different IDE, there are a lot of options, such as DevC++ and CodeBlocks. Our team uses CodeBlocks, since we find its plugabble architecture nice for any extra functionality we want to add, and its pretty easy to add a new compiler. You just add new compiler and add the linkers and libraries and compile flags, which you can get from a build log in MPLAB.
  #3   Spotlight this post!  
Unread 24-05-2008, 13:21
Jetweb Jetweb is offline
is good at making robots find walls
AKA: Jonathan
FRC #0179 (Children of the Swamp!!!)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Jupiter, FL
Posts: 213
Jetweb is a name known to allJetweb is a name known to allJetweb is a name known to allJetweb is a name known to allJetweb is a name known to allJetweb is a name known to all
Re: Programming PIC using CDC?

I am fairly certain that you have to compile in MPLAB, its all proprietary to microchip. My team codes in eMacs and then builds in MPLAB
  #4   Spotlight this post!  
Unread 24-05-2008, 16:35
pogenwurst pogenwurst is offline
Ubuntu User
AKA: Brian
FRC #2007 (Robots of the Round Table)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Duluth, GA
Posts: 78
pogenwurst is on a distinguished road
Send a message via AIM to pogenwurst
Re: Programming PIC using CDC?

Quote:
Originally Posted by programMORT11
Microchip's mcc18 compiler is really the only compiler that works for the PIC.
Actually, there are several different compilers that support PIC18 targets, aside from just Microchip's (do a quick Google search).

Now, whether or not they support the Microchip C18-specific extensions used in the IFI code is another story.
  #5   Spotlight this post!  
Unread 24-05-2008, 16:37
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,740
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Programming PIC using CDC?

I'm not exactly sure this is a FIRST application here. Outside the FIRST box might work here, too.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #6   Spotlight this post!  
Unread 24-05-2008, 17:05
Smaug's Avatar
Smaug Smaug is offline
Registered User
FRC #0675 (Tech High Phantom Robotics)
Team Role: Electrical
 
Join Date: Jul 2006
Rookie Year: 2006
Location: California
Posts: 82
Smaug is a jewel in the roughSmaug is a jewel in the roughSmaug is a jewel in the roughSmaug is a jewel in the rough
Re: Programming PIC using CDC?

our programmer is always programing pics for various projects and he doesnt use mplab
__________________


If it isn't broken, Fix it till it is ~ Baker
  #7   Spotlight this post!  
Unread 24-05-2008, 18:15
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: Programming PIC using CDC?

Quote:
I am fairly certain that you have to compile in MPLAB, its all proprietary to microchip. My team codes in eMacs and then builds in MPLAB
As long as you have the compiler tools, you can build your own tool chain, and you won't have to use MPLAB.
  #8   Spotlight this post!  
Unread 24-05-2008, 19:43
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Programming PIC using CDC?

for non-FIRST microcontrollers, i use a microchip PICSTART PLUS programmer and CCS-C compiler. it has its own IDE, but i prefer to use it with MPLAB.

www.sparkfun.com has a lot of PIC resources
__________________


  #9   Spotlight this post!  
Unread 25-05-2008, 13:37
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,827
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Programming PIC using CDC?

Well, you could always look up the opcodes for each machine language instruction, and the microchip .hex file format and write your code in a text editor... but I'm guessing that you probably don't want to get quite that "bare bones".

Alternatively, you can presumably write your C code in any text editor and then compile it using PICC Lite (a freeware compiler, available from Microchip) and then compile it using command line options.

These are both kind of silly options since MPLAB makes doing both of these tasks much easier... maybe you want to avoid C or assembly language all together... in which case I would recommend PIC BASIC Pro or PIC BASIC (I much prefer the pro, even though it is more expensive) from www.melabs.com

They also have their own IDE... MicroCode Studio, I believe it is called.

Jason

P.S. If you can possibly run MPLAB, I recommend learning to use it... some of the emulator and debugging functions are quite useful.
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
pic: Programming team IndySam Extra Discussion 2 24-03-2006 12:40
Using a computer to control the pic mikesown Programming 6 13-09-2005 19:13
PIC Programming John Gutmann Electrical 3 30-08-2005 11:51
Programming a 2nd PIC ImmortalAres Programming 8 16-06-2005 12:13
TI programming using Z80 assembly language Jeff Wong Chit-Chat 1 07-06-2001 01:27


All times are GMT -5. The time now is 22:51.

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