mios
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mios [2006/03/25 16:47] – admin | mios [2011/01/10 22:10] (current) – Added links for MIOS32; Additional Info for MIOS32 baeaeaeaeaer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **MIOS FAQ** | + | ====== |
- | ===== I plan to build a tiny foot controller, should I use a reduced ===== | + | **Overview** |
- | [[http:// | + | |
- | 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, | + | MIOS is the Operating System |
+ | This Page covers | ||
- | ===== 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' | ||
+ | There are two versions of MIOS: The (older) **MIOS8**, used for MBHP_Core modules equipped with 8bit PIC uControllers and **MIOS32** used for the Core_STM32 modules with 32bit STM controllers. If you are planning to build a new MidiBox, you should use the newer Core_STM32 that allows much more complex devices. | ||
- | ===== 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? ===== | + | ===== MIOS8 ===== |
- | Go away, this is a non-profit project! | + | |
+ | {{ http:// | ||
+ | MIOS8 is used for MBHP_Core modules equipped with PIC18F452, PIC18F4620 or PIC18F4685. | ||
- | ===== Am I allowed to publish my modifications and improvements, | + | **The Article [[http:// |
- | 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 | + | |
- | The copyright holders are listed in the headers of the source files, sometimes also in a README.txt | + | Developers should consult |
- | ===== 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:// | ||
+ | ==== Documentation ==== | ||
- | ===== Can I burn a MIOS application into the PIC without the bootstrap loader. ===== | + | * [[http:// |
- | 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:// | + | * [[http:// |
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * check out [[pic_programmer_modules]] to know how to get the Bootstrap Loader onto the PIC. | ||
- | ===== Can I use a PIC18C452 instead of a PIC18F452? ===== | + | * [[Application Development]] Section |
- | No, because the C device is only one-time-programmable - keep away from these OTP chips! | + | * [[MIOS PIC18F4620|MIOS running on a PIC18F4620]] (for certain future applications) |
+ | \\ | ||
- | ===== Can I use a PIC18LF452 instead of a PIC18F452? | + | ==== Frequently Asked Questions |
- | yes, the LF type is the low power version which works as well | + | |
+ | :!: [[MIOS FAQ|MIOS FAQ - Questions and Answers]] !\\ | ||
- | ===== What is the difference between a PIC18F452I/ | + | \\ |
- | The package type. The PDIP package is absolutely recommented for DIY projects (only this type fits into the PIC socket of the [[http:// | + | \\ |
+ | ===== MIOS32 ===== | ||
+ | MIOS32 is used on Core_STM32 boards, equipped with the 32bit STM32F103RE processor. MIOS32 is prepared for other 32bit uCs as well and allows platform independent applications. | ||
- | ===== How can I test if my PIC is running? ===== | + | MIOS32 on a CORE_STM32 |
- | 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:// | + | |
+ | * MIOS32 uses the realtime operating system FreeRTOS and allows simple multitasking with different priorities. | ||
+ | * It also supports native USB MIDI for faster code upload and MIDI transfer. | ||
+ | * Interfaces such as SPI and I²C can be used with DMA, allowing fast transfer at low CPU load | ||
+ | * Besides hardware multiplier and division units the STM32F103RE provides more peripherals: | ||
+ | * CAN or USB (can not be used in parallel) | ||
+ | * SPI | ||
+ | * I²C | ||
+ | * Timers | ||
+ | * DAC | ||
+ | * ADC | ||
+ | * I2S for Audio DACs | ||
+ | * The STM32F103RE provides 512kB of Flash and 64kB RAM | ||
+ | * BankSticks are replaced by SD Cards for more and faster memory | ||
- | ===== How can I test if MIOS is running? ===== | + | ==== Documentation |
- | 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:// | + | ====== See Also ====== |
- | + | [[Mios studio]] | |
- | + | ||
- | ===== How do I connect a LCD to the core module? ===== | + | |
- | See [[howto_connect_a_lcd]] and the [[http:// | + | |
- | + | ||
- | + | ||
- | ===== Is a 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://www.ucapps.de/ | + | |
- | + | ||
- | + | ||
- | ===== 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:// | + | |
- | + | ||
- | + | ||
- | ===== 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:// | + |
mios.1143305237.txt.gz · Last modified: 2006/10/15 09:35 (external edit)