Jump to content

Problem with din chaining / lpc core


bibi

Recommended Posts

Hello everybody!

 

I'm facing a problem with my midi box ng:

 

I have 5 din and 6 dout witch are chained in a specific order (please have a look at the pic, red numbers gives the module chaining order),  and at this moment number 2 (din witch will be wired to encoders) is bypassed.  

 

With the default ngc file loaded,  all leds are lit with the "dout all 1" command, but I have a problem with the din: Only a part of the din modules is sending midi.

 

If I test each din directly to the lpc, they are working well, but when I try to chain the whole thing, I can't get it work, even if I bypass the dout modules... 

Of course, all connection cables verified, they all work separatly

 

Is there an order to respect in chaining the din/dout modules? 

 

I'm quite sure I didn't get everything right but I can't figure out what I forgot  to do?

 

Thanks for your help

 

Cheers

 

Bibi

post-11209-0-41630400-1374313627_thumb.j

Link to comment
Share on other sites

 

Edit: I have loaded the last midio128 application, I'm now able to send midi from 4 din modules, thing that I can't get with the ng app. So I guess it is software related. I've tested with different versions of the ng app, same result.

I have formatted my sd card, reloaded the ng app again, it doesn't work either

Any idea of where to look at?

 

Many thanks

 

Bibi

  • Like 1
Link to comment
Share on other sites

not sure software will fix it, serial lines can only be so long before the signal degrades.  The drivers on the LPC core will only go so far.. I had problems with 2 hops so I am sure you will start seeing it with 5 or 6

Edited by Altitude
Link to comment
Share on other sites

Hi guys, thanks for your answers!

 

To Spirit => I meaned the .NGC automaticly created by the ng application, but I believe this is the same (after a quick look at it), and no, I didn't change anything in it.

 

 

To Altitude => It seems wierd to me as the 4 din modules are perfectly working under midio128, no latency, even with long cable chaining.

                      Also, on the design decription at ucapps.de, nothing is specified concerning the lose of signal, it's said that you can get up to 256 buttons directly connected to din modules. So If we can't chain more than 2 modules, why is it not specified? Dout modules are ok (5 chained modules), is there a real difference in treating the signal  between din and dout?

 

TK, if you read this, could you confirm this?

 

 

Thanks to you all.

 

best regards

 

bibi

Link to comment
Share on other sites

hi bibi

 

i then think its a issue with your .NGC file you use..

because on the Default.ngc only the first 64 button are assing with a midi note..

so only the first 2 DINx4 module works OKE..

 

as i also see the DEFAULT.ngc it ist made complete.. i miss all kinds of Event/parameters...

 

the idea with the New MB_NG is you can create your own setup...the way you like to have it...

here you have a Link that explains all the differnt Event and Parameters..

i also recommend to start with the "First steps" page and build on from there..

http://www.ucapps.de/midibox_ng_manual.html

 

/spirit

Link to comment
Share on other sites

@Bibi: enter "set debug on" in the MIOS Terminal (part of MIOS Studio)

Now any DIN changes should display a message, which is useful to find out the hw_id values which correspond with the input pins.

It's also nice to prove, that all inputs are scanned correctly.

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Hello Spirit and TK, thanks for your replies!

To Spirit, I forgot to say the default .ngc us working with some "duet" din, but not with some others ( example: din 1 + din 2 are ok, din 2 + din 3 doesn't work, but din 1 + din 3 work).

I've been reading carefully the "first steps" page, and started to make my own file. After writing the 160 input code lines, only a few din were working, this is the moment I have reloaded the default ngc file, to see if I did something wrong. And after... I asked for your help :)

To Tk, thanks for your help, I'm away till tomorow night, so I will try as soon I'm back home.

Anyway, thanks to you guys for your care, I'll report tomorow night

Kind regards

Bibi

By the way, when I try to format my sd card using the format sd card command in mios studio, I get no response from my lpc, need to restart it and the sd card is not recognized anymore. I need to set the lpc to "sdcard reader" and format it with the windows xp tool (the sdcard is not seen under mac os). Does this bug comes from my setup or is there others similar cases?

Thanks to you

Bibi

Link to comment
Share on other sites

Hi Bibi,

 

By the way, when I try to format my sd card using the format sd card command in mios studio, I get no response from my lpc, need to restart it and the sd card is not recognized anymore. I need to set the lpc to "sdcard reader" and format it with the windows xp tool (the sdcard is not seen under mac os). Does this bug comes from my setup or is there others similar cases?

 

the formatting could take some seconds, how long did you wait?

Unfortunately I would need your SD card with the original content in order to reproduce the issue for the case that the formatting routine doesn't work under certain conditions.

 

Best Regards, Thorsten.

Link to comment
Share on other sites

  • 8 months later...

Hi again, 

 

I've been away from midi for while before coming back a few weeks ago, I have to apologize, but I srickly forgot the existence of this thread, as it was just before holidays  :blush: . Just found it in my "followed threads".... 

 

So for those who might have the same issue, it's working now, it was just a matter of app programming.

 

Anyway, thanks to you guys for your help

 

best

 

Bibi

Edited by bibi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...