Subversion Repositories svn.mios

Rev

Rev 1134 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1134 Rev 1136
Line 4... Line 4...
4
4
5
<P CLASS=INFO>The MIOS bootstrap loader allows you to install applications, but also the operating system itself in the flash memory of a PIC over the MIDI interface without the use of a special programming device. It is possible to exchange application code on-the-fly, which makes the development of applications very efficient.<P>
5
<P CLASS=INFO>The MIOS bootstrap loader allows you to install applications, but also the operating system itself in the flash memory of a PIC over the MIDI interface without the use of a special programming device. It is possible to exchange application code on-the-fly, which makes the development of applications very efficient.<P>
6
6
7
<H2>Installation of the Primary Bootstrap Loader</H2>
7
<H2>Installation of the Primary Bootstrap Loader</H2>
8
8
9
<P CLASS=DESC>The MIDIbox project started around 1998. In these years it was quite common that PCs were equipped with a RS232 and SSP interface port, so that PICs could be programmed with cheap DIY programmers such as <A HREF="mbhp_jdm_expired.html">MBHP_JDM</A> or <A HREF="mbhp_burner.html">MBHP_BURNER</A>.</P>
9
<P CLASS=DESC>The MIDIbox project started around 1998. In these years it was quite common that PCs were equipped with a RS232 and SSP ("printer") port, so that PICs could be programmed with cheap DIY programmers such as <A HREF="mbhp_jdm_expired.html">MBHP_JDM</A> or <A HREF="mbhp_burner.html">MBHP_BURNER</A>.</P>
10
10
11
<P CLASS=DESC>Today (more than 10 years later), these interfaces have been completely replaced by USB. If you don't own an old PC, this will be the only choice. Some DIY USB programmers exist, such as <A HREF="http://www.sprut.de/electronic/pic/projekte/brenner8/index.htm" TARGET="_blank">Brenner8</A>, but fortunately <A HREF="http://www.microchip.com" TARGET="_blank">Microchip</A> noticed the need for a hobbyist solution as well, and published the <A HREF="http://www.microchip.com/pickit2" TARGET="_blank">PICkit2</A> (and later also the <A HREF="http://www.microchip.com/pickit3" TARGET="_blank">PICkit3</A>), which are available for around 50 EUR.</P>
11
<P CLASS=DESC>Today (more than 10 years later), these interfaces have been completely replaced by USB. If you don't own an old PC, USB will be the only choice. Some DIY USB programmers exist, such as <A HREF="http://www.sprut.de/electronic/pic/projekte/brenner8/index.htm" TARGET="_blank">Brenner8</A>, but fortunately <A HREF="http://www.microchip.com" TARGET="_blank">Microchip</A> noticed the need for a hobbyist solution as well, and published the <A HREF="http://www.microchip.com/pickit2" TARGET="_blank">PICkit2</A> (and later also the <A HREF="http://www.microchip.com/pickit3" TARGET="_blank">PICkit3</A>), which are available for around 50 EUR.</P>
12
12
13
<P CLASS=DESC>Since Microchip published the schematics as open source, some clones exist which are even cheaper. And these clones are actually my proposed solution for people who want to program PICs for the MBHP platform. PICkit2 (and not PICkit3) compatible clones are recommended, because they will also work under Linux and MacOS with command line tools which are provided by Microchip at the <A HREF="http://www.microchip.com/pickit2" TARGET="_blank">PICkit2</A> page!</P>
13
<P CLASS=DESC>Since Microchip published the schematics as open source, some clones exist which are even cheaper. And these clones are actually my proposed solution for people who want to program PICs for the MBHP platform, because they are sufficient for our purposes. Clones are only available for PICkit2. They will also work under Linux and MacOS with command line tools which are provided by Microchip at the <A HREF="http://www.microchip.com/pickit2" TARGET="_blank">PICkit2</A> page!</P>
14
14
15
<P CLASS=DESC>I tried a PICkit2 clone from <A HREF="http://www.diamex.de" TARGET="_blank">Diamex</A>, which is available in their shop, but also at <A HREF="http://www.reichelt.de/Programmer-Entwicklungstools/DIAMEX-PIC-PROG/3/index.html?&ACTION=3&LA=446&ARTICLE=137174&GROUPID=2969&artnr=DIAMEX+PIC+PROG" TARGET="_blank">Reichelt</A> for 30 EUR. Similar clones can be found at <A HREF="http://www.ebay.com" TARGET="_blank">ebay</A>.</P>
15
<P CLASS=DESC>I tried a PICkit2 clone from <A HREF="http://www.diamex.de" TARGET="_blank">Diamex</A>, which is available in their shop, but also at <A HREF="http://www.reichelt.de/Programmer-Entwicklungstools/DIAMEX-PIC-PROG/3/index.html?&ACTION=3&LA=446&ARTICLE=137174&GROUPID=2969&artnr=DIAMEX+PIC+PROG" TARGET="_blank">Reichelt</A> for 30 EUR. Similar clones can be found at <A HREF="http://www.ebay.com" TARGET="_blank">ebay</A>.</P>
16
16
17
<P CLASS=DESC><A HREF="mbhp_core.html">MBHP_CORE</A> isn't designed for "In Circuit Serial Programming" (ICSB), therefore you have to build a special programming board which consists of a DIP socket and a 6-pin header, which connects to the PICkit2 (clone):<BR>
17
<P CLASS=DESC><A HREF="mbhp_core.html">MBHP_CORE</A> isn't designed for "In Circuit Serial Programming" (ICSB), therefore you have to build a special programming board which consists of a DIP socket and a 6-pin header, which connects to the PICkit2 (clone):<BR>
18
<center><img src="mbhp/pickit_dip40_adapter_board.jpg" width="575"></center></P>
18
<center><img src="mbhp/pickit_dip40_adapter_board.jpg" width="575"></center></P>
Line 41... Line 41...
41
41
42
<H2>You don't want to buy a PIC programmer to save money?</H2>
42
<H2>You don't want to buy a PIC programmer to save money?</H2>
43
43
44
<P CLASS=DESC>You could buy preprogrammed PICs from <A HREF="http://mbhp.avishowtech.com/buy.html" TARGET="_blank">SmashTV</A> or <A HREF="http://www.mikes-elektronikseite.com" TARGET="_blank">Mike</A>, or you can ask a friend or a member of the <A HREF="http://forum.midibox.org" TARGET="_blank">MIDIbox Forum</A> who already owns a PIC programmer for burning the bootstrap loader into the chip</P>
44
<P CLASS=DESC>You could buy preprogrammed PICs from <A HREF="http://mbhp.avishowtech.com/buy.html" TARGET="_blank">SmashTV</A> or <A HREF="http://www.mikes-elektronikseite.com" TARGET="_blank">Mike</A>, or you can ask a friend or a member of the <A HREF="http://forum.midibox.org" TARGET="_blank">MIDIbox Forum</A> who already owns a PIC programmer for burning the bootstrap loader into the chip</P>
45
45
46
<H2>MIOS and Application Download</H2>
46
<H2>MIOS and Application Upload via MIDI</H2>
47
47
48
<P CLASS=INFO>After the primary bootloader has been flashed, it's strongly recommended to use <A HREF="mios_studio.html">MIOS Studio</A> to download MIOS and the applicatio via MIDI. Don't flash the appr. .hex files with your programmer, because this will overwrite previous installations of the primary bootloader (and MIOS if application .hex is flashed).</P>
48
<P CLASS=INFO>After the primary bootloader has been flashed, it's strongly recommended to use <A HREF="mios_studio.html">MIOS Studio</A> to download MIOS and the applicatio via MIDI. Don't flash the appr. .hex files with your programmer, because this will overwrite previous installations of the primary bootloader (and MIOS if application .hex is flashed).</P>
49
49
50
<P CLASS=INFO>See also the <A HREF="mios_bootstrap_newbies.html">Newbies page</A>, and in case of troubles, the <A HREF="howto_debug_midi.html">MIOS Studio Troubleshooting Page</A>.</P>
50
<P CLASS=INFO>See also the <A HREF="mios_bootstrap_newbies.html">Newbies page</A>, and in case of troubles, the <A HREF="howto_debug_midi.html">MIOS Studio Troubleshooting Page</A>.</P>
51
51