kingnerk Posted October 10, 2009 Report Share Posted October 10, 2009 hi, I have built my core, it all works ok. uploaded the mb64 application and it seems to be working ok.I have just connected my DIN, nothing else is connected.When i look at the midi coming in MIOS studio its flashing lots of numbers: like this00000000024685 ms | [bE 47 00] Channel 15: CC Sound Controller 2 value: 000000000024687 ms | [bF 47 00] Channel 16: CC Sound Controller 2 value: 000000000024691 ms | [b9 47 01] Channel 10: CC Sound Controller 2 value: 100000000024693 ms | [bA 47 02] Channel 11: CC Sound Controller 2 value: 200000000024693 ms | [bB 47 03] Channel 12: CC Sound Controller 2 value: 300000000024695 ms | [bB 47 05] Channel 12: CC Sound Controller 2 value: 500000000024695 ms | [bD 47 06] Channel 14: CC Sound Controller 2 value: 600000000024697 ms | [bE 47 07] Channel 15: CC Sound Controller 2 value: 700000000024699 ms | [bF 47 09] Channel 16: CC Sound Controller 2 value: 900000000024699 ms | [bE 47 02] Channel 15: CC Sound Controller 2 value: 200000000024699 ms | [bE 47 00] Channel 15: CC Sound Controller 2 value: 000000000024701 ms | [bF 47 01] Channel 16: CC Sound Controller 2 value: 100000000024701 ms | [bE 47 01] Channel 15: CC Sound Controller 2 value: 100000000024709 ms | [bE 47 00] Channel 15: CC Sound Controller 2 value: 000000000024709 ms | [bF 47 00] Channel 16: CC Sound Controller 2 value: 000000000024713 ms | [b9 47 00] Channel 10: CC Sound Controller 2 value: 000000000024713 ms | [bB 47 02] Channel 12: CC Sound Controller 2 value: 200000000024713 ms | [bB 47 05] Channel 12: CC Sound Controller 2 value: 500000000024715 ms | [bE 47 08] Channel 15: CC Sound Controller 2 value: 800000000024715 ms | [bF 47 08] Channel 16: CC Sound Controller 2 value: 8I dont have the AIN connected yet, but I have soldered pins 1-8 together and attached that to pin 10 so they should all be earthed.When I click a button I have wired on to #8 on the DIN i get oooooooooooo when I press it, but in MIOS studio it shows that i have pressed it ok00000000024717 ms | [97 30 7F] Channel 8: Note On C3 velocity: 127Sorry for rambling. Basically I want to know:a) if its meant to say ooooooooooo when I click a button, andb) is there anything else that would cause the random midi since I have earthed the J5 block?cheersNeil Quote Link to comment Share on other sites More sharing options...
ssp Posted October 10, 2009 Report Share Posted October 10, 2009 i havent attached my ain to my mb64e yet but to get around the ain not being connected i went into the setup.asm file and changed the ain line in there to the following#define DEFAULT_NUMBER_AIN 0#define DEFAULT_ENABLE_AIN_MUX 1i then remade the file using the tools and uploaded it to my core with the rest of the mb64e stuff and all my ain issues were gone, that way i could test my din boards without having to link the ain pins etc.download the mb64e file, make sure you have the lates version of mios installed its 1.9g now so up that to the core first then upload the mb64e files but in the mb64e folder replace the setup hex file with the one i upped, before you upload, if when you turn the core on you dont get any of the messages scrolling away then you need to sort your ain pins out. my core shows nothing in mios or midi-ox with that change to the ain in the setup file because the ain function is now zero for the number. works fine for me still and im through testing all my din boards without having to link the ain pins.here is a picture of my core running the mb64e software with a dinx board connected and no ain board attatched, all i did was the above, i turned the ain default to zero then remade the hex file using the tools from the wiki and uploaded it to the core.setup_midibox64e.hexpic.JPGsetup_midibox64e.hexpic.JPG Quote Link to comment Share on other sites More sharing options...
ssp Posted October 10, 2009 Report Share Posted October 10, 2009 forgot to add, here is my core running the mb64e software with a single button connected to D0 and vs on J5 , any pin will do i just used that by chance.here is the button pressed and unpressed, unpressed the value is zero and when pressed its 127 this is what you should get from a button press on the din board.do as i suggested above, upload latest mios, then download the mb64e software, install 1.9g mios, then drop my hex file into mb64e folder replacing original then goto mios and upload the mb64e hex file to the core and if its the ain giving you all that then it will stop. connect a button to one of the connection d0-7 and one to vs and press see if you get the same as i get. you could also just download the midio128 software and then just shortD7 to vs on the din or the pins as suggested in the din trouble shooter which reccomends using the midio128 software as this wont call on the ain board either.1.JPG2.JPG1.JPG2.JPG Quote Link to comment Share on other sites More sharing options...
nILS Posted October 10, 2009 Report Share Posted October 10, 2009 a) IIRC no, but I may be off on that one.b) Yes. Noise. Switchmode PSU by any chance? PSU close to the data lines? Quote Link to comment Share on other sites More sharing options...
kingnerk Posted October 11, 2009 Author Report Share Posted October 11, 2009 Hi, thanks for the replies, I will try disabling the AIN board. Not edited any of the files before so I will see how I get on!also, what is a Switchmode PSU? Quote Link to comment Share on other sites More sharing options...
nILS Posted October 11, 2009 Report Share Posted October 11, 2009 http://en.wikipedia.org/wiki/Power_supply#Linear_power_supply Quote Link to comment Share on other sites More sharing options...
kingnerk Posted October 11, 2009 Author Report Share Posted October 11, 2009 Hi, thanks for getting back to me.Right, I have edited the ASM file, set DIN to 0 instead of 64. Recompiled (wow!) - uploaded it again and now it doesnt appear to be sending lots of data (its not showing lots in MIOS studio and see init.jpg attached to see what it looks like when you boot it up)WHen I press a button on my DIN i now see the following screen (see btnPress.jpg)So, does this look like it was the last of AIN causing all the data to be sent?does this look like my DIN is working ok then?This is the power supply I have btw http://maplin.co.uk/Module.aspx?ModuleNo=46107Thanks for all your helpNeil Quote Link to comment Share on other sites More sharing options...
kingnerk Posted October 11, 2009 Author Report Share Posted October 11, 2009 actually i forgot to mention, when its on the display with the button output the far right 'o' flashes on and off.also, on the init pic the left hand side square block flashes on and off. Is it meant to do this? Quote Link to comment Share on other sites More sharing options...
ssp Posted October 11, 2009 Report Share Posted October 11, 2009 well i would say your din is working fine, attatching buttons to pins will varify this also using the midio128 app and shorting pins as per the trouble shooting info.so taking all things into concideration the data was from the ain side so things were not configured right. how were things set up, muxed or un-muxed? correct pins linked to ground? etc.check, check and re check connections and soldering and if your still not sure check again Quote Link to comment Share on other sites More sharing options...
kingnerk Posted October 12, 2009 Author Report Share Posted October 12, 2009 so taking all things into concideration the data was from the ain side so things were not configured right. how were things set up, muxed or un-muxed? correct pins linked to ground? etcHi, I have attached a pic of how I have grounded the AIN pins on the core. Im not connecting any pots to the core at the moment so I have grounded all the pins but the +5 ( i think thats right?)When i test this its streaming lots of data (until i disabled the AIN in the setup.asm)Setup wise I havent edited anything in the ASM file apart from disabling the AIN board.Thanks for your help Quote Link to comment Share on other sites More sharing options...
kingnerk Posted October 12, 2009 Author Report Share Posted October 12, 2009 have I grounded this ok then? (assuming Im not connecting an AIN yet)I will try attaching a different power supply to see if that makes any difference too. 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.