
spongebob
Members-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Everything posted by spongebob
-
I changed SR with each other, but the result has not changed
-
I have some strange situation with DIN module. device sends wrong commands. source: void DIN_NotifyToggle(unsigned char pin, unsigned char pin_value) __wparam { // a button has been pressed, send Note at channel 1 MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0x90); // Note at channel 1 MIOS_MIDI_TxBufferPut(pin); // pin number corresponds to note number MIOS_MIDI_TxBufferPut(pin_value ? 0x00 : 0x7f); // buttons are high-active MIOS_MIDI_EndStream(); } reaction on button press: 1st SR pins: 1: [90 00 7F] Channel 1: Note On C-1 velocity: 127 [90 00 00] Channel 1: Note On C-1 velocity: 0 2: [90 01 7F] Channel 1: Note On C#-1 velocity: 127 [90 01 00] Channel 1: Note On C#-1 velocity: 0 3: no reaction 4: no reaction 5: no reaction 6: [b0 4C 3D] Channel 1: CC Sound Controller 7 value: 61 (only on button release) 7: no reaction 8: no reaction 2nd SR - all pins work fine 3rd SR pins 1 and 2 - work fine 3: [b0 3A 3F] Channel 1: CC LSB 26 (Undefined) value: 63 [b0 3A 41] Channel 1: CC LSB 26 (Undefined) value: 65 4: [b0 3A 41] Channel 1: CC LSB 26 (Undefined) value: 65 [b0 3A 3F] Channel 1: CC LSB 26 (Undefined) value: 63 5,6,7,8 - work fine 4th SR pins 5,6,7,8 - work fine pins 1,2,3,4 only react on button release and send random commands.
-
Controlling Virtual DJ - New MIDIBOX - Help & Input Needed
spongebob replied to jbaldwinroberts's topic in Design Concepts
Virtual DJ haven't native MIDI-out support. -
putting encoders to ain64_din128_dout128_v2b application
spongebob replied to axiomriddler's topic in MIDIbox HUIs
add to main.c MIOS_ENC_TABLE { // sr pin mode MIOS_ENC_ENTRY(1, 0, MIOS_ENC_MODE_NON_DETENTED), MIOS_ENC_ENTRY(1, 2, MIOS_ENC_MODE_NON_DETENTED), MIOS_ENC_EOT }; change Makefile.orig # pass parameters to MIOS wrapper MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -DDONT_INCLUDE_MIOS_ENC_TABLE -
I don't know what happen? but it WORK!! :)
-
trouble with PIC pin #22 solved (short circuit with another pin) but DOUT module still not work properly.
-
I have upload "srio_interconnection_test_v1b" and check the interconnections to the DIN and DOUT module with a multimeter. The Pins are mapped to following Modulation Wheel Values: # 0: Pin CORE::J8:DO and DOUT::J1:DO = ca. 5V - OK! # 1: Pin CORE::J8:SC, CORE::J9:SC, DOUT::J1:SC, DIN::J1:SC = ca. 5V - FAIL! (measured only 0.72V (on pin #22 of PIC too)) # 2: Pin CORE::J8:RC, CORE::J9:RC, DOUT::J1:RC, DIN::J1:RC = ca. 5V - OK! Is It a PIC problem? How to solve this problem?
-
Received unexpected Upload Request[Solved]
spongebob replied to AC's topic in Testing/Troubleshooting
disconnect roland midi in and roland midi out -
I upload "midibox64" application to core, and nothing changed. May be 74HC595 are broken. But all 8 pieces? May be truble in PIC? How can I test PIC on working capacity? All MIDI events go from PC to CORE and come back (if I write necessary addition to MPROC_NotifyReceivedEvnt function). I dont know to do...
-
I have this code in Init Function: MIOS_SRIO_UpdateFrqSet(1); // ms MIOS_SRIO_NumberSet(16);
-
On some pins of 74hc595 measured +5V after power-on. But there are must be 0V. I have insert this code to application source void Init(void) __wparam { unsigned char i; // ... for(i=0;i<128;++i) { MIOS_DOUT_PinSet0(i); // Set ALL DOUT pin to 0 } } ... void MPROC_NotifyReceivedEvnt(unsigned char evnt0, unsigned char evnt1, unsigned char evnt2) __wparam { // check if note on or off event at channel 1 has been received if( evnt0 == 0x80 || evnt0 == 0x90 ) { // if note off event: force evnt2 to 0 for easier handling of 'LED off' if( evnt0 == 0x80 ) evnt2 = 0; // number of DOUT pin in evnt1, value in evnt2 MIOS_DOUT_PinSet(evnt1, evnt2 ? 0x01 : 0x00); } if (evnt0 == 0x90 && evnt1 == 0x40 && evnt2 == 0x01) { for(i=0;i<128;++i) { MIOS_MIDI_TxBufferPut(0x90); // Send to PC DOUT pin state MIOS_MIDI_TxBufferPut(i); // MIOS_MIDI_TxBufferPut(MIOS_DOUT_PinGet(i)); // } } and after send "90 40 01" to device i get this 90 00 00 90 01 00 90 02 00 ... 90 40 01 ... 90 7F 00 If I send any 90 xx 01 - on DOUT pins nothing is change. DOUT module tested for bad soldering - all elements soldered good.
-
I don't know what I do, but it's work!!! :)
-
It means that reaction core at sent commands is inadequate. (see post #13) How it can be checked up? :( Yes, commands sent come back in the same kind in which have left.
-
Power supply changed to 9V 0.8A, measured Vdd - 5.14V Nothing changed :(
-
I have changed power supply to 5.7V 800mA Measured voltage on "+5V" - 4.47V. But there are new situation. On power-on Core stay silent. If I try to upload MIOS: MIDI Monitor Out: timestamp [unknown] | SysEx: F0 00 00 7E 40 00 02 00 00 00 00 00 00 F7 MIDI Monitor In: 00000000007602 ms | [F8] Timing clock 00000000007602 ms | [FF] System Reset or MIDI Monitor In: 00000000086926 ms | [F1 00] MTC Quarter Frame: frame count LS: 0 and some times like this MIDI Monitor In: 00000000132799 ms | [FF] System Reset 00000000132799 ms | [80 40 00] Channel 1: Note Off E4 velocity: 0 00000000132799 ms | [80 02 00] Channel 1: Note Off D-1 velocity: 0 00000000132799 ms | [80 00 00] Channel 1: Note Off C-1 velocity: 0 00000000132799 ms | [80 00 00] Channel 1: Note Off C-1 velocity: 0 00000000132799 ms | [FF] System Reset I think i'm stupid :( *many bad russian words*
-
i don't have LCD module only core without MIDI (only R6 stuffed (pin #26 of PIC -[ 1.2k ]- +5V)), and max232 with capacitors.
-
PIC succesfully burned with bootloader. ID 0000 0000 0000 0100 PIC running LTC module works PC RS232 port works (TEST PC) I have 200mA power supply. It is a sufficient current for device work?
-
I have some mistakes in MIDIBox-To-COM scheme and solved them. 8 pin of max232 must be connected to GND. But MIOS does not wish to be loaded. I don't know what to do... No AIN, DIN or DOUT modules are connected. ; ================================================================== ;; Linked Boot and IRQ Vector (will be overwritten by MIOS) ;; ================================================================== org 0x0400 goto 0x0000 dw 0xeeee ; magic number is: 0x4711 - without this code, the bootloader won't branch to 0x0400 What is the "magic number" in source code of bootloader?
-
I have changed the scheme max232 according to the scheme from a site http://www.compuphase.com/electronics/midi_rs232.htm Events pitch bend were gone, but MIOS does not wish to be loaded.
-
Yes, I have classic scheme of CORE module. There are no elements: MIDI sockets, D1, R5, R7, R8, R11, IC2. RX and TX are connected according scheme http://ucapps.de/midibox_to_com.html I tested the RS232 interface with the CBX serial port driver by Yamaha and Roland Driver. With Yamaha driver the situation described above. In other case no data is present on "MIOS Studio MIDI In".
-
help me plz i don't know what to do...
-
?????, ????????. ?????? core ??????, ?????? ??? ????, ?? max232 ??????. ???????? ??????? yamaha, c ??? ? ????? midi-???????? ????? ???? ????? "pitch bend", MIOS ????? ?? ??????. ? ????????? roland - ?????? ??????. ?? ? ??? ?? ???? ???????? JDM ?????????????? ? IC-prog. ID 0000000000000100.
-
sorry my bad english After power-on core sends a lot of information like this: 00000000295838 ms | [E0 00 00] Channel 1: Pitch Bend value: 0 00000000295838 ms | [E0 01 01] Channel 1: Pitch Bend value: 129 00000000295848 ms | [E0 00 00] Channel 1: Pitch Bend value: 0 00000000295848 ms | [E0 03 03] Channel 1: Pitch Bend value: 387 00000000295857 ms | [E0 00 00] Channel 1: Pitch Bend value: 0 00000000295857 ms | [E0 01 01] Channel 1: Pitch Bend value: 129 00000000295868 ms | [E0 00 00] Channel 1: Pitch Bend value: 0 00000000295868 ms | [E0 01 03] Channel 1: Pitch Bend value: 385 00000000295877 ms | [E0 00 00] Channel 1: Pitch Bend value: 0 00000000295877 ms | [E0 01 01] Channel 1: Pitch Bend value: 129 I don't use MIDI I use LTC module PIC burned with ID 0000 0000 0000 0100 (calculated by PIC ID Value Calculator) PIC burned with JDM programmer and ic-prog software. I can't upload MIOS with MOIS Studio.
-
may be this scheme will work? plz, help, i'm newbie :) scheme.JPG scheme.JPG
-
Long searched, but has found nothing on a subject show the connection scheme please I think that the scheme should be about such as on a picture scheme.JPG scheme.JPG