[sdiy] FW: PIC Programming

Colin f colin at colinfraser.com
Wed Apr 28 13:53:59 CEST 2010


> -----Original Message-----
> From: synth-diy-bounces at dropmix.xs4all.nl 
> [mailto:synth-diy-bounces at dropmix.xs4all.nl] On Behalf Of 
> m.bareille at free.fr
> Sent: 28 April 2010 08:16
> To: Ian Smith
> Cc: synth diy
> Subject: Re: [sdiy] FW: PIC Programming

> With small PIC ( 10F,12F, 16F, and even 18F series)  and to 
> code a firmware where the speed is very important, like  a 
> MIDI application ,  the assembler is the only realistic 
> solution ,imho.

I use Microchip's C18 compiler exclusively for the code I write on the 18F
series.
It produces object code that it would take a lot of time and experience of
PIC assembler to do better than.

Using C makes your code more readable and portable.
I recently took MIDI to CV conversion code I'd written for the PIC 18F,
copied and pasted it into a GCC-based ARM IDE, and after making a few basic
changes to the code to suit the new hardware environment, had MIDI to CV
conversion work on the ARM CPU *at the first build*.

Cheers,
Colin f





More information about the Synth-diy mailing list