-
Posts
15,247 -
Joined
Content Type
Profiles
Forums
Blogs
Gallery
Everything posted by TK.
-
Yes: - open MIOS Terminal - mount the SD Card with the "msd on" command - open the file "MBSEQ_GC.V4" with a text editor - search for "CV_AOUT_Type", set the value to 3 for the AOUT_NG module - save the file - open the file "SESSIONS/DEF_V4L/MBSEQ_C.V4" - search for "MIDI_DefaultPort", set the value to 128 for the AOUT port - save the file - unmount the SD Card - reboot your MBSEQ V4L -> done :) Unfortunately you haven't mentioned where you are living, therefore I fear that I can't give you an individual hint where to buy a single chip. Note that I'm planning to create a new "low cost" interface which will be based on an inexpensive but sufficient DAC from Microchip, which can be purchased at Reichelt. It will only support two channel, but thats sufficient for most purposes. According to the schematic: http://www.ucapps.de/midibox_seq/mbseq_lite_blm.pdf "LED cathodes (short leg) at right side!" This means in other words: LED anodes (long leg) at left side! Best Regards, Thorsten.
-
Data storage with mios32 and the LPC
TK. replied to John_W._Couvillon's topic in MIOS programming (C)
The LPCXPRESSO features a 8k EEPROM. It can be accessed through the $MIOS32_PATH/modules/eeprom routines. Programming example: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_kb_v1%2F&# see especially: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_kb_v1%2FMakefile (search for EEPROM) http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_kb_v1%2Fsrc%2Fmios32_config.h (search for EEPROM http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_kb_v1%2Fsrc%2Fpresets.c Note that this is work in progress, future versions will store much more informations in EEPROM, but will also get more complex (therefore harder to understand). The EEPROM isn't used by the MIOS128 application if this was your question. If you use a different magic number (EEPROM_MAGIC_NUMBER, defined in mios32_config.h), the EEPROM content will be initialized by preset.c to ensure data consistence. Best Regards, Thorsten. -
I only had a quick look... this project isn't really for interest. It doesn't support STM32, but PIC32 And it seems that some code has been copied from the internet without referring to the original authors as required by the GPL. E.g. the original author of p32/include/pinguino/core/printf.c is Georges Menie (http://www.menie.org), the stdarg version was contributed by Christian Ettinger But in the Pinguino source Regis Blanchot states that he is the author. Best Regards, Thorsten.
-
Ist wohl ein Bug in der aktuellen IDE Version - ich hoffe, dass sehr bald eine neue rauskommt. /Update: Ich habe heute die aktuelle IDE Version bei mir installiert - sie funktioniert, nur muss man vor dem Flashen noch ein passendes Projekt erstellen. Dies habe ich nun auf der http://www.ucapps.de/mbhp_core_lpc17.html Seite mit neuen Snapshots dokumentiert. Gruss, Thorsten.
-
Ist wohl ein Bug in der aktuellen IDE Version - ich hoffe, dass sehr bald eine neue rauskommt. Gruss, Thorsten.
-
It means that analog inputs will be available at pin number #56..63 - thats ok But please note: you don't need a 4051 multiplexer if only 8 channels are required. You even don't need a 74HC595 for this minimal solution. Instead you would only need the MCP3208, pots can be directly connected to the 8 ADC inputs! + J2, R1, C4, C5, C6 - done! Normally it's faster to build such a circuit on verboard instead of doing the timeconsuming layout + etching. Best Regards, Thorsten.
-
Interesting! Was the other 595 a 74HCT595 or a 74HC595 ... or just a re-used part with "unknown state"? Best Regards, Thorsten. Btw.: now where more and more people are using the MBHP_CORE_LPC17 module, a port of the LCD interconnection test is on my Agenda... :)
-
Thanks again - the third error: wrong link, wrong enumeration, wrong supply voltage - ok, I created the schematic at new year's eve and was in hurry... ;-) The supply voltage is 3.3V since the output pins of the LPC17 UARTs don't support open drain mode which would allow to pull the voltage to 5V. Note: using 3.3V for the 1k pull-up at the output of the optocoupler shouldn't cause an issue. I changed it this way to avoid one additional cable to a +5V pin. Best Regards, Thorsten.
-
Thank you! Fixed Best Regards, Thorsten.
-
This is the wrong schematic, it fixes a problem with a problematic MIDI device, but it isn't standard! Here the correct link: http://www.ucapps.de/mbhp/mbhp_core_lpc17_midi3_midi4_extension.pdf (I fixed the webpage and added the same link to the MBHP_CORE_LPC17 page now) Best Regards, Thorsten.
-
MIDIO128 V3.006 is available now Finally the "128" also stands for 128 analog inputs! :) MIDIO128 V3.006 ~~~~~~~~~~~~~~~ o support for two MBHP_AINSER64 modules: up to 128 analog pins can be scanned! o improved MIDI OUT throughput [/code] Best Regards, Thorsten.
-
The firmware is located under: http://svnmios.midibox.org/listing.php?repname=svn.mios&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmbhp_mf_v3%2F Best Regards, Thorsten.
-
I got the prototype PCBs and successfully tested the module today! It's officially released now: http://www.ucapps.de/mbhp_ainser64.html Next step is to ask SmashTV for providing the new module in his MIDIbox shop. :) Best Regards, Thorsten.
-
V4L.057 is available now: MIDIboxSEQ V4L.057 ~~~~~~~~~~~~~~~~~~ o improved MIDI OUT throughput [/code] Christian: could you please check if this relaxes the "bottleneck issue" with your setup? Best Regards, Thorsten.
-
Me too - this was the original intention of this page. On the other hand I agree with StuartM that the handling is unusual. An option for the behaviour: only if much more than one user requests this! :) Best Regards, Thorsten. V4.057 is available now - it's only interesting for LPC17 users: MIDIboxSEQ V4.057 ~~~~~~~~~~~~~~~~~ o improved MIDI OUT throughput for LPC17 [/code] Best Regards, Thorsten.
-
Vorsicht! Gleich-riecht-er! ;-) Gruss, Thorsten.
-
Hallo Bernhard, haeng' das .asm File doch bitte mal an diesen Thread an (-> "Use Full Editor", "-> "Attach Files") so koennte ich es editieren, kompilieren, und Dir das .hex File zukommen lassen. Gruss, Thorsten.
-
Hi Stefan, the most detailed description can be found in the source code... ;-) Best Regards, Thorsten.
-
Open and Closed HH can't be played at the same time, because they share the same voice. Btw.: similar to a TR808, "good" sample based drum samplers which allow to group samples, and a real HiHat! ;-) Best Regards, Thorsten.
-
Should work with the appr. code! :) Best Regards, Thorsten.
-
J10 pins are configured as inputs by default. Therefore I'm a bit biased: no, you don't have to initialize the pins (again), on the other hand it's good programming practice to initialize IO pins explicitly for the intended mode. Why do you think that it would be better to skip the initialization? Buttons connected to J10: take tutorial #005 as an example and replace J5 by J10 Btw.: I gave you access to the programmers lounge where you will find more background informations. Best Regards, Thorsten.
-
Here the thread where the MBFM drum behaviour has been discussed: And here the link to a beta version of the upcoming release: http://www.ucapps.de/mios/midibox_fm_v1_4d.zip Best Regards, Thorsten.
-
Yes, you can also connect encoders to J10. The MIOS32 documentation is currently generated for STM32 where this port is not available, but if you look into the source code you will find them: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fmios32%2FLPC17xx%2Fmios32_board.c Encoder related informations are available in Tutorial #015b: http://www.ucapps.de/mios32_c.html Just replace J5 by J10 -> done! :) Best Regards, Thorsten.
-
Ja - beachte aber, dass die DOUT Pins revers beschaltet werden, somit ist D7 der erste Pin, D6 der zweite Pin, usw. Ja, die Masse wird nicht mit dem Keyboard verbunden. Stattdessen schalten die DOUT Pins abwechselnd jede Tasten-Reihe kurzzeitig auf Masse. So funktioniert das Multiplexen. Nicht ganz: ein DOUT Modul kann man nicht *hinter* ein DIN Modul schalten. Stattdessen wird J1 des DINs und J1 des DOUT Moduls mit J8/9 verbunden. Mit SmashTVs PCB Varianten klappt das besonders einfach via Flachbandkabel, mit den alten PCB Layouts ist es etwas aufwaendiger. Siehe bspw. auch diesen Schaltplan: http://www.ucapps.de/midio128/midio128_v3_interconnections.pdf Denke Dir einfach die LEDs und Taster weg, denn dort schliesst Du ja das Keyboard an. Bei den digitalen Modulen (DIN/DOUT) nicht, lediglich bei den AIN Modulen muss man aufpassen. Gruss, Thorsten.
-
Mittlerweile gibt es ein erstes Binary: http://www.ucapps.de/mios32/midibox_kb_v1_000.zip Standardeinstellung ist fuer zwei Keyboards. Die ersten beiden DOUT Shiftregister scannen bis zu 16 Zeilen durch, am ersten DIN werden die "Ausgaenge" des ersten Keyboards angeschlossen, am zweiten DIN die des zweiten Keyboards. Ja, koennte man so sagen. Ich werde Deine Mail spaeter beantworten, aber eigentlich kann man bei der Pinbelegung nicht viel falsch machen. a) es kann nichts kaputt gehen! b) man kann ausprobieren! c) mit "set keyboard_debug on" im MIOS Terminal erhaelt man hilfreiche Debug-Meldungen Normalerweise sollte man so das Pinning sehr schnell ermitteln koennen. Werde aber trotzdem mal auf Deine Fotos schauen falls Du mit dieser Methode nicht weiterkommst. Gruss, Thorsten.