User Tools

Site Tools


howto_program_a_pic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto_program_a_pic [2006/03/25 01:10]
admin removed expired informations
howto_program_a_pic [2006/10/15 09:35] (current)
Line 1: Line 1:
 ====== How to program a PIC16F87x or PIC18F452 ====== ====== How to program a PIC16F87x or PIC18F452 ======
  
 +:!:\\
 +the term **programming** is used in this context for burning a hex file onto the chip. \\
 +See [[what_is_a_midibox]] if you don't know the difference between MIOS, the bootstrap loader and a MIOS Application.
 +
 +
 +\\
 +\\
 For the MIDIbox project it is **not** required to purchase an expensive, "​ready-made"​ programmer in order to get the firmware into the PIC.  For the MIDIbox project it is **not** required to purchase an expensive, "​ready-made"​ programmer in order to get the firmware into the PIC. 
  
 Instead you could buy a pre-programmed PIC from SmashTV or Mike, you could ask in the [[http://​forum.midibox.org|MIDIbox Forum]] for help, or you could build a PIC programmer by yourself. There are many schematics available on the web. The [[http://​www.ucapps.de/​mbhp_burner.html|MBHP_BURNER]] module is one of such DIY programmers,​ and it works reliable. Instead you could buy a pre-programmed PIC from SmashTV or Mike, you could ask in the [[http://​forum.midibox.org|MIDIbox Forum]] for help, or you could build a PIC programmer by yourself. There are many schematics available on the web. The [[http://​www.ucapps.de/​mbhp_burner.html|MBHP_BURNER]] module is one of such DIY programmers,​ and it works reliable.
  
-FIXME explain the term **programming**, because it could be confusing ​for non-technicans+**For PIC18F based projects, a PIC programmer is only required to program the MIOS bootloader firmware into the internal flash memory. Once this has been made, you can upload MIOS and applications via MIDI.** Details about this process are explained [[http://​www.ucapps.de/​mios_bootstrap.html|here]]. 
 + 
 +\\ 
 +If you want to burn yourselfyou need to build the PIC Burner: 
 +  * [[http://​www.ucapps.de/​mbhp_burner.html|PIC Burner]] <​sup>​uCApps</​sup>​ 
 +If you have to burn PIC16 Chips, see [[http://​www.ucapps.de/​mbhp_iic_midi.html]] ​for a description of a PIC18->PIC16 Adapter for PIC Burner. 
 + 
 +You need __PBrenner for the PIC16__ and __P18 for PIC18'​s__. Both chips can be burned using the PIC Burner Module. 
 + 
 + 
 + 
 +\\ 
 +\\ 
 +:!:\\ 
 +I experienced massive problems by using 2 9V Batteries (steady loss of Voltage, though I used fresh Batteries). 15V Power Adaptors are hard to find, and if you find some, they'​re quite expensive. 
 +So I checked all my 12V-Power Modules and finally found one that produces > 18 V. //It is worth trying and measuring all Power Adaptors you have, because some of them produce actually more Volts than said on the packaging// :)
howto_program_a_pic.1143249030.txt.gz · Last modified: 2006/10/15 09:35 (external edit)