mios_faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mios_faq [2006/06/30 15:47] – nebula | mios_faq [2012/10/02 06:43] (current) – Reverting spam from lauraholden cheater | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **MIOS8 FAQ** | ||
+ | ===== I plan to build a tiny foot controller, should I use a reduced PIC16F based MIDIbox, or should I use the new PIC18F452 controller? ===== | ||
+ | |||
+ | You definitely want to use the PIC18F452, as it is available for the same price. Although MIOS offers mighty functions for much more complex applications, | ||
+ | |||
+ | |||
+ | ===== But for such a minimal project isn't this big chip wasted money? ===== | ||
+ | Smaller chips like the PIC16F84 are cheaper to obtain, but the price difference of $3 US doesn' | ||
+ | |||
+ | |||
+ | ===== But I want to produce my project in large quantities and sell it to other people for as much profit as possible - so could you send me a smaller MIOS version - ASAP? ===== | ||
+ | Go away, this is a non-profit project! | ||
+ | |||
+ | |||
+ | ===== Am I allowed to publish my modifications and improvements, | ||
+ | You are allowed to share your applications with others, it's even allowed to publish them on the web or somewhere else, but please ask the copyright holder(s) of the program parts you are re-using in your application before doing this. | ||
+ | |||
+ | The copyright holders are listed in the headers of the source files, sometimes also in a README.txt or COPYRIGHT.txt file. | ||
+ | |||
+ | ===== How do I burn the bootstrap loader into the PIC18F452? ===== | ||
+ | Fortunately this can be made with a common PIC programmer, see also [[howto_program_a_pic]]. Once the bootstrap loader has been written into the flash memory, OS and application updates can be made via MIDI. Therefore it isn't necessary anymore to build such a programmer by yourself for frequently firmware updates; you could ask a friend or somebody of the [[http:// | ||
+ | |||
+ | Also you can send your chip to SmashTV for free programming or you can buy them pre-programmed from the [[http:// | ||
+ | |||
+ | |||
+ | ===== Can I burn a MIOS application into the PIC without the bootstrap loader. ===== | ||
+ | No, the bootstrap loader is a *must*. It's also required that MIOS is already running before uploading an application. | ||
+ | The upload procedure is described under [[http:// | ||
+ | |||
+ | |||
+ | ===== Can I use a PIC18C452 instead of a PIC18F452? ===== | ||
+ | No, because the C device is only one-time-programmable - keep away from these OTP chips! | ||
+ | |||
+ | ===== Can I use a PIC18LF452 instead of a PIC18F452? ===== | ||
+ | Yes. The LF type is the low-power version which works equally well in a MIDIbox. | ||
+ | |||
+ | ===== What is the difference between a PIC18F452I/ | ||
+ | The package type. (With integrated circuits, " | ||
+ | |||
+ | |||
+ | ===== How can I test if my PIC is running? ===== | ||
+ | During the startup phase, the bootstrap loader will send following SysEx message over MIDI Out "F0 00 00 7E 40 00 01 F7". This identifies that your PIC is running. | ||
+ | The whole test procedure is described under [[http:// | ||
+ | |||
+ | |||
+ | ===== How can I test if MIOS is running? ===== | ||
+ | After the startup phase, you can send this message "F0 00 00 7E 40 00 0F F7" to the core, MIOS should reply with the same message immediately. You could also try to upload an application, | ||
+ | |||
+ | |||
+ | ===== How do I connect MIDI In/Out LEDs, a MIDI Thru port and/or a COM interface to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | ===== How do I connect an LCD to the core module? ===== | ||
+ | See [[howto_connect_a_lcd]]. | ||
+ | |||
+ | ===== Is an LCD required for MIOS? ===== | ||
+ | No! | ||
+ | |||
+ | But using an LCD will be a BIG help in getting your project working. Connect an LCD to your core module unless you have enough experience to know that you can do without it. It doesn' | ||
+ | |||
+ | |||
+ | ===== How do I connect buttons to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I connect LEDs to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I connect pots or faders to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I connect motorfaders to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I connect a BankStick to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | ===== How do I connect rotary encoders to the core module? ===== | ||
+ | See the [[http:// | ||
+ | (Note that MIOS needs to know which shift registers the encoders have been connected to. This change has to be made in mios_tables.inc) | ||
+ | |||
+ | |||
+ | ===== How do I connect LED rings to the core module? ===== | ||
+ | See the [[http:// | ||
+ | Note that LED rings are handled by the user application, | ||
+ | |||
+ | |||
+ | ===== How do I connect a SID to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I connect CV outputs to the core module? ===== | ||
+ | See the [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I test my modules? ===== | ||
+ | With the AIN DIN DOUT test application for pots/ | ||
+ | Motorfaders can be tested with the MF Calibration program, the SID and the BankStick with the SID application. LCDs with every application. | ||
+ | |||
+ | ===== I want to build a controller with 128 pots, how can I achieve this? ===== | ||
+ | You could build two core modules and [[http:// | ||
+ | |||
+ | |||
+ | ===== How do I modify the application code and build a new .syx file? ===== | ||
+ | Follow the instructions which are given in the " | ||
+ | |||
+ | |||
+ | ===== Where can I learn more about the PIC18F instructions? | ||
+ | See also [[book_reviews|Book Reviews]] | ||
+ | |||
+ | But before buying a book about PIC assembly programming, | ||
+ | |||
+ | The most important informations (for instance a complete instruction list) can be found at the [[http:// | ||
+ | |||
+ | |||
+ | ===== Where can I find more informations about MIOS specifics? ===== | ||
+ | Currently only in the source codes and in the [[http:// |