mios_pic18f4620
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mios_pic18f4620 [2006/11/20 13:16] – Wilba | mios_pic18f4620 [2011/09/17 17:09] (current) – dougster | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====PIC18F4620 | + | ====== PIC18F4620 |
+ | **one of the Future | ||
- | A special variant of MIOS is available for the PIC18F4620. The usage of this processor is (currently) only required for the next major steps of MIDIbox SEQ (V3) and MIDIbox SID (V2), all other projects are running fine on a PIC18F452. | + | A special variant of MIOS is available for the PIC18F4620. The usage of this processor is (currently) only required for the next major step of MIDIbox SEQ (V3), most other projects are running fine on a PIC18F452 |
Biggest advantages of this microcontroller: | Biggest advantages of this microcontroller: | ||
- | But Rev A3, A4 and B4 of the chip contains a silicon bug within | + | Please note, that Rev A3 and A4 of the chip are affected by the [[EUSART_bug|EUSART Bug]]. It has been fixed in revision |
- | + | ||
- | As a workaround for this issue, a [[iic_modules|MBHP_IIC_MIDI]] module can be used with minimal configuration (MIDI Out only). This adds acceptable costs of 5 EUR to the project. | + | |
- | + | ||
- | There is a small application available at the [[http:// | + | |
The PIC18F4620 is almost software compatible to existing MIOS applications. There is a special MIOS version which needs to be uploaded, the major differences are different memory limit checks (e.g. code upload to addresses >= 0x8000 are possible). | The PIC18F4620 is almost software compatible to existing MIOS applications. There is a special MIOS version which needs to be uploaded, the major differences are different memory limit checks (e.g. code upload to addresses >= 0x8000 are possible). | ||
Line 15: | Line 12: | ||
For information on developing or converting applications to use the PIC18F4620, please see [[application_development# | For information on developing or converting applications to use the PIC18F4620, please see [[application_development# | ||
- | ====FAQ==== | + | ====== FAQ ====== |
- | ===Do I need a special Core Module for the PIC18F4620? | + | ===== Do I need a special Core Module for the PIC18F4620? |
No, the PIC18F4620 is pin-, hard- and softwarecompatible to the PIC18F452 | No, the PIC18F4620 is pin-, hard- and softwarecompatible to the PIC18F452 | ||
- | ===Can I run an old PIC18F452 Application on a PIC18F4620? | + | ===== Can I run an old PIC18F452 Application on a PIC18F4620?===== |
- | Yes, all applications are binary compatible, which means, that you even don't need to build a new .hex file, just upload the precompiled code. | + | Yes, all applications are binary compatible, which means, that you don' |
- | Only the Bootloader and MIOS itself got some small adaptions in order to allow to program | + | The Bootloader and MIOS have been changed slightly |
- | ===Do I really need to build a MBHP_IIC_MIDI module as workaround for the EUSART bug?=== | ||
- | It depends on the application. The EUSART based MIDI Out port of the core module will mostly work, you are even able to upload code without failures. The error (inserted 0x00 bytes which violate | + | =====Can I use my old JDM burner |
- | Accordingly, | + | Yes. Try [[JDM with Winpic800]] |
- | Here some examples which should help to understand the situation: | + | =====Can I use my old JDM burner to burn the IIC MIDI firmware |
- | + | ||
- | MIDIbox SID used as master only, no slaves connected: no MBHP_IIC_MIDI module required, as the MBSID mostly only receives MIDI data. The MIDI Out is only used to transfer SysEx dumps, but in this case it normaly doesn' | + | |
- | + | ||
- | If you've built the Control Surface, and want to use the CC Sending function for recording parameter sweeps, a MBHP_IIC_MIDI module is recommented, | + | |
- | + | ||
- | MIDIbox SID with slaves: since MIDI Notes, CCs, SysEx, etc... are directly forwarded to the slaves while MIDI data is received, a MBHP_IIC_MIDI module is required for this configuration. In MBSID V2, even two MBHP_IIC_MIDI modules make sense - one which can be connected to the PC (for CC/NRPN parameter recording), and another for a link to the slaves. Further details will be documented with the MBSID V2 release (sometimes in 2007) | + | |
- | + | ||
- | MIDIbox SEQ: when used as standalone sequencer, no external MIDI keyboard or MIDI clock source connected to the MIDI In, a MBHP_IIC_MIDI module is not required. | + | |
- | In all other configurations one or up to 4 MBHP_IIC_MIDI modules are recommented. Note that MIDIbox SEQ allows to output MIDI events on different MBHP_IIC_MIDI ports, this is nice for reducing the MIDI latency | + | |
- | + | ||
- | + | ||
- | ===Do I need to built a complete MBHP_IIC_MIDI module with MIDI In and Out port?=== | + | |
- | + | ||
- | No, you only need the reduced version with MIDI Out port only. | + | |
- | The MIDI In port is *not* natively supported by most applications, | + | |
- | + | ||
- | Info for Newbies: if you are unsure, how a "MIDI Out only" version looks like when you are using the MBHP_IIC_MIDI PCB, just stuff all components, and left out the optocoupler and the MIDI In LED. | + | |
- | + | ||
- | ===How do I upload MIOS and application code via the MBHP_IIC_MIDI interface? | + | |
- | + | ||
- | Proposal for Beginners/ | + | |
- | * buy a preprogrammed PIC18F4620 from SmashTV or Mike with PIC ID 0000000000000000 | + | |
- | * build the core module and test the MIDI In/Out of the board | + | |
- | * upload the PIC18F4620 version of MIOS via the MIDI Out port of the Core module | + | |
- | * build a MBHP_IIC_MIDI module and test it like explained at the MBHP_IIC_MIDI page | + | |
- | * select the ID 10 (both jumpers stuffed) | + | |
- | * upload the iic_midi_10.hex binary of the change_id package, this will change the PIC ID to 0000000000001000 | + | |
- | * now the MIDI out stream is redirected to the MIDI Out port of the MBHP_IIC_MIDI module, you don't need to use the MIDI Out port of the core module anymore (even for code uploads it's not required anymore) | + | |
- | + | ||
- | Proposal for Experts: | + | |
- | * buy a preprogrammed PIC18F4620 from SmashTV or Mike with PIC ID 0000000000001000, | + | |
- | * build the Core + MBHP_IIC_MIDI module | + | |
- | * the MBHP_IIC_MIDI module should send the upload request each 2 seconds so long MIOS is not installed | + | |
- | * upload the PIC18F4620 version of MIOS via the MIDI Out of the MBHP_IIC_MIDI module | + | |
- | + | ||
- | + | ||
- | Note that it is possible to change the PIC ID, or to upload MIOS without the MIDI Out Port, when the "no feedback from core" option is selected in MIOS Studio. This method is not recommented, | + | |
- | + | ||
- | + | ||
- | ===Can I use one or more BankSticks together with the MBHP_IIC_MIDI module(s)? | + | |
- | + | ||
- | Yes, on an IIC bus all SCL/SDA (clock/ | + | |
- | As you can see, there is no address conflict between MBHP_IIC_MIDI modules and BankSticks | + | |
- | + | ||
- | ===Can I use my old JDM burner to burn the bootloader | + | |
Yes. Try [[JDM with Winpic800]] | Yes. Try [[JDM with Winpic800]] | ||
- | ===Can I use my old JDM burner to burn the IIC MIDI firmware onto a PIC16F88? | ||
- | Yes. Try [[JDM with Winpic800]] | + | \\ |
+ | ====== Also See ====== | ||
+ | * [[using_pic18f4685|Using the PIC18F4685]] | ||
+ | * [[using_pic18f4620|Using the PIC18F4620 or PIC18F4520]] |
mios_pic18f4620.1164028570.txt.gz · Last modified: 2007/01/15 00:52 (external edit)