Author Options:

I want to load a ready made program into a PIC. how do I do it?. I don't need to write a program, just load it?. Answered

I am OK with electronics construction but lousy with programming and at 80 can't really spare the time to learn

Many thanks 


4 Replies

robot1398 (author)2012-01-06

it goes like this first a compiler converts the code into a bianary format and creates a file with HEX extention. You would need a programmer to burn the code into the pic
here is how u can make 1 ur self
1] http://extremeelectronics.co.in/microchip-pic-tutorials/making-a-simple-pic-programmer/

or buy 1 from ebay or sparkfun etc...

Select as Best AnswerUndo Best Answer

frollard (author)2010-11-12

Long story short, the program goes from:
Writing code >> Compiler converts code to executable format in binary or hex >> you upload that code to the pic using various methods:

You need to do the last step. To do this you need software to talk to the chip, and hardware wise, In this case you either need an In-Circuit-Serial-Programmer (ICSP) which writes to the chip after it's installed, or a chip programmer that you insert the chip and it writes the code.

http://hackaday.com/2010/10/23/avr-programming-introduction/ explains how to get started (including the writing programs step) for AVR chips - pic is very similar just uses different specifics.

Select as Best AnswerUndo Best Answer

lemonie (author)2010-11-12

What program, what PIC?


Select as Best AnswerUndo Best Answer

steveastrouk (author)2010-11-12

Depends on the PIC type


Select as Best AnswerUndo Best Answer