Shaeded Posted February 27, 2009 Report Share Posted February 27, 2009 HiIm using the MB64E application, my setup consits of 1xAINX3, 1xDINX4, 1xCORE V3 (No LCD!). Pots, Enc's, Buttons.AINX3 no problem.DINX4 J3, J5-J10(Buttons, Enc's) no problem.DINX4 J4 not reacting to pressed buttons. Now i know that J4 in the standard MB64E firmware is maped to the F1,F2,F3,F4. I need a little help on Editing the setup_midibox16e.asm. I want the Buttons on J4 to output notesThanx Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted February 28, 2009 Report Share Posted February 28, 2009 Hi Shaded,I am a newbie myself, but this I figured out already.You should use the tool made by serge (vmidibox64e_18f_v1_0c) on the download tools page.With a right mouse click you can edit every button.It runs under Linux too with the use of Wine.Gio. Quote Link to comment Share on other sites More sharing options...
Shaeded Posted February 28, 2009 Author Report Share Posted February 28, 2009 HiThanks for the advice, i already knew that. I used it a 1000 times. But now im looking forward, to stepping up my game.Take a look at my status, im a Newbie. Im not planning on staying a newbie. I have a little to none programming skills :P. But! Im probably the best Electronics Technician out there :o(OMG)(LOL) ;). NO! Im just very GOOD. ;). So my status is an issue here.Why cant my Status be: Midibox Electronics Guru with no programming skills :P (that would be a long tile)No! OK, i know you have to earn your stripes. :DI want to edit the *.asm/*.inc manualy, so i dont have to use the MB64E editor (No offence the Tool is great). I've already edited the setup_midibox16e.asm to suit my needs. I just cant figure out what part of the *.asm/*.inc i need to edit to get J4 on the DINX4 up an running.A little code/pointing out where to look, whould be of help. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 28, 2009 Report Share Posted February 28, 2009 Don't worry bout forum status it doesn't mean squat. It's just matched to postcount, which is only a representation of how long you have been here and how much you talk. There are lots of gurus around here with "Newbie" under their name. There are a couple of newbies with guru under their name too (points at self) Don't pay any attention to it!As for the issue at hand: Figure out which button numbers you are trying to change, and move on from there, working backwards in he code to get to the part you want to change.... Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted February 28, 2009 Report Share Posted February 28, 2009 I indeed thought that considering your number of postings a newbie help with the link to serge's tool would benefit you. :-[I am probably one of the best software troubleshooter on this planet, but my electronics is dusty so say at least. :PEven so, apparantly you earn your stars here with number of useless postings you make, so I better stay the newbie. ;)You can write your text in the personal profile under the personal picture, even if you do not have a picture. That's where I put my programmers status. Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted February 28, 2009 Report Share Posted February 28, 2009 Ok, I had a look at the code. I need a little more info.In short: Do you have buttons on J3 as well?In long: Can you tell me what exactly you have connected to which Jumper pins at J3 - J10As you are an electronics guru I assume you have eliminated the possibility of a fried chip, broken power line, malfunctioning button, misplaced solder etc ???You can send me your current .asm file as well as a private message and I will see what I can do for you.All the best, and don't forget to have fun! ;) Quote Link to comment Share on other sites More sharing options...
Shaeded Posted February 28, 2009 Author Report Share Posted February 28, 2009 OK in short: Buttons are connected to J4OK in long: J3 4xButtons, J5 1xEncoder 2xButtons, J6 4xButtons, J7 1xEncoder 2xButtons, J8 1xEncoder, J9 2xButtons, J10 4xButtons (all working)I swapped the SR (74HC165) 1 and 3. Everything on the 3rd SR still worked. Everything on the 1st SR J3 4xbuttons, still worked. J4 4xButtons no function. That Ellimnates the possabilitie of a fried Chip. ???I'll take a look at the DINX4 board, but i doubt thats the problem. Then again you never know.Im not at home right now, so i cant send you my .asm now. Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted March 1, 2009 Report Share Posted March 1, 2009 Ok, I had a look. (This is just dry code reading, I do not have the possibility yet to test these things in hardware).From the 64e.ini file # Navigation buttons, only available as MIDI triggers when they # have been disabled in main.asm 21 = 90 7C 7F @OnOff 22 = 90 7D 7F @OnOff 23 = 90 7E 7F @OnOff 24 = 90 7F 7F @OnOffThis is your J4. As in the .asm you send me it says:#define DEFAULT_DIN_SR_PIN_01_08 2#define DEFAULT_DIN_SR_PIN_09_16 3#define DEFAULT_DIN_SR_PIN_17_24 1#define DEFAULT_DIN_SR_PIN_25_32 4#define DEFAULT_DIN_SR_PIN_33_40 9Saying that your first chip (shift register) is allocated to pin numbers 17 to 24.There are two things to do now.1. Change the main.asm to enable the pins and buttons (it's actually a buttons.inc file)2. Change the pin numbering for the first shift register.I would go for number two. Remember that your buttons on J3 will get new numbers too!#define DEFAULT_DIN_SR_PIN_01_08 2#define DEFAULT_DIN_SR_PIN_09_16 3#define DEFAULT_DIN_SR_PIN_33_40 1#define DEFAULT_DIN_SR_PIN_25_32 4#define DEFAULT_DIN_SR_PIN_17_24 9J3 is now 33-36, and J4 37-40.I hope this works. Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted March 1, 2009 Report Share Posted March 1, 2009 I meant two possiblities, not two things to do. Quote Link to comment Share on other sites More sharing options...
Shaeded Posted March 6, 2009 Author Report Share Posted March 6, 2009 YeeeeaaaaahhhhhYour a good man Gioxannes, things are working fine now. Now with your code, it seems that my SR9 on J? wont be sending out any midi messages/notes (its ok, im not using it). Im just trying to figure out, what the changes to the code meant (i think i understood :))Once again GOOD MAN!Thanx Quote Link to comment Share on other sites More sharing options...
Gioxannes Posted March 6, 2009 Report Share Posted March 6, 2009 Yep. You understood. :DSR9 is chip 9, and you only have 4. Only if you extend with two more DINx4 boards you have to call me again :) 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.