|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hello!
I wanna know how can I write my program to a PIC microcontroller without using MPLAB. Thanks in advance! |
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Re: Programming PIC using CDC?
Quote:
Now, whether or not they support the Microchip C18-specific extensions used in the IFI code is another story. |
|
#5
|
|||||
|
|||||
|
Re: Programming PIC using CDC?
I'm not exactly sure this is a FIRST application here. Outside the FIRST box might work here, too.
|
|
#6
|
||||
|
||||
|
Re: Programming PIC using CDC?
our programmer is always programing pics for various projects and he doesnt use mplab
|
|
#7
|
|||
|
|||
|
Re: Programming PIC using CDC?
Quote:
|
|
#8
|
||||
|
||||
|
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
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |