bibi Posted July 20, 2013 Report Share Posted July 20, 2013 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 Quote Link to comment Share on other sites More sharing options...
bibi Posted July 20, 2013 Author Report Share Posted July 20, 2013 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 1 Quote Link to comment Share on other sites More sharing options...
Altitude Posted July 20, 2013 Report Share Posted July 20, 2013 I had a similar problem on my SEQ and a buffer fixed it. I just added a small daughter board in the chain with a 541 CMOS part Quote Link to comment Share on other sites More sharing options...
bibi Posted July 20, 2013 Author Report Share Posted July 20, 2013 Hi Altitude, thanks for the reply, I will wait a little bit before trying your solution, see if there is a "software solution", as it works under mio128 Quote Link to comment Share on other sites More sharing options...
Altitude Posted July 20, 2013 Report Share Posted July 20, 2013 (edited) 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 July 20, 2013 by Altitude Quote Link to comment Share on other sites More sharing options...
Spirit Posted July 21, 2013 Report Share Posted July 21, 2013 hi you say you loaded the Default.NGC do you mean this one? http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Fdefault%2Fdefault.ngc and if you use this .NGC did you also change anything on it? /spirit Quote Link to comment Share on other sites More sharing options...
Altitude Posted July 21, 2013 Report Share Posted July 21, 2013 No, not that app specifically but it's not really a software thing but a persistent issue with running long serial lines across any app.. Look at the LPC17 Schematic and see how the J8/9 lines are buffered Quote Link to comment Share on other sites More sharing options...
bibi Posted July 22, 2013 Author Report Share Posted July 22, 2013 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 Quote Link to comment Share on other sites More sharing options...
Spirit Posted July 22, 2013 Report Share Posted July 22, 2013 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted July 22, 2013 Report Share Posted July 22, 2013 @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. Quote Link to comment Share on other sites More sharing options...
bibi Posted July 23, 2013 Author Report Share Posted July 23, 2013 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 BibiBy 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted July 23, 2013 Report Share Posted July 23, 2013 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. Quote Link to comment Share on other sites More sharing options...
bibi Posted April 10, 2014 Author Report Share Posted April 10, 2014 (edited) 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 April 10, 2014 by bibi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.