Skip to topic
|
Skip to bottom
"Wealth without money..."
Jump:
RepRap Home
What can it make?
One page description
Future Plans
Main Blog
Documentation
Make your own RepRap
Using your RepRap
Videos / Movies
RepStrap machines
Community
Get a RepRap Kit
User Forums
Builder's Wiki
Builder's Blog
RepRap auf Deutsch
RepRap en espaņol
RepRap in italiano
RepRap IRC Channel
RepRap Twitter
Object Library
Thingiverse
The People
World RepRap map
Related Sites
Background
Press
Philosophy
Acknowledgments
T-shirts, mugs etc.
GPL Licence
Privacy Policy
Main Web
Changes
Changes detailed
Topic list
Search
login
Edit
Attach
Printable
Main.ProgrammingAPIC
r1.6 - 06 Feb 2008 - 13:36 -
AdrianBowyer
topic end
Start of topic |
Skip to actions
---+ Programming a PIC %TOC% The RepRap project uses PIC microcontrollers as the processors for each control board. These need to be loaded up with the appropriate firmware before they will operate properly. *You will need:* * a [[PIC16F648]] chip * a [[PICProgrammer][PIC programmer]] * PIC programming software * the firmware .hex file * a computer with a serial port (or parallel, depending on your programmer.) ---++ Insert the chip If you use a PG2 or PG3 PIC programmers, with the spring type socket, it is not necessary to fully insert the chip. In fact, this will make it *very* hard to get out. Instead, what you want to do is insert the legs of one side of the chip into the socket, push gently until the legs bend far enough to allow the second set to be inserted. Then in one smooth motion, insert the second set of legs and release the pressure. The springiness of the legs will keep them in contact while you program the chip. Keep in mind that gently is the keyword here. You only need to use two hands to keep yourself stable. Use the minimum force required. If you push it in all the way, it will be very hard to get out and you will most likely end up severely bending some legs. Its not the end of the world, as they can be bent back, but its not something you want to happen. ---++ Program the firmware *You'll need the firmware files. The easiest way is to [[http://sourceforge.net/project/showfiles.php?group_id=159590&package_id=188575][download them from SourceForge]].* If you would like to compile them from source, we have instructions on [[FirmwareBuildProcess][how to compile them]]. ---+++ Linux * [[http://piklab.sourceforge.net][Piklab]] has been used successfully by at least one builder. * I need to test the Olimex PG3B with gpicp. Not sure how that works. * [[http://pikdev.free.fr/][PikDev]] has a programmer that works fine and is part of Ubuntu. ---+++ Windows Use [[http://www.sparkfun.com/commerce/present.php?p=PG3B][ICProg]], a free PIC programmer, and follow the [[http://www.sparkfun.com/commerce/present.php?p=PG3B][instructions on SparkFun.com]]. ---++ Remove the chip Be very careful removing the chip. Make sure the force you apply is only vertical, and not side-to-side. If you happen to bend any legs removing the chip, gently bend them back. Your chip is now programmed and ready for use. ---++ In-circuit programming Fed up with bending all the PIC pins every time you take them in and out to program them? The RepRap boards are designed for in-circuit programming; [[InCircuitProgramming][for details see here]].
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.6 |
>
|
r1.5
|
>
|
r1.4
|
Total page history
|
Backlinks
|
Refresh
You are here:
Main
>
ProgrammingAPIC
to top
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding
RepRap
?
Send feedback