Jump to content

Programming problem, I think?


Recommended Posts

Guest roboy
Posted

Building a MIDI trigger  box based on the MIDIbox 64 using only the Core Module and the DIN Module which the 32 buttons are connected to.

Burnt the Bootstrap Loader using my JDM Module which seemed to work OK.

Loaded MIOS v 1.6 using MIDI-OX which seemed to work OK

Loaded Midibox v 2.2 using MIDI-OX and now I just get a contant flow of MIDI messages output from my box (Reverb Depth,Chorus Depth,Brightness,Volume) scrolling through all the MIDI channels.

I have tried sending button assignments using VMidibox 1.01c but i still get this constant flow of MIDI messages

Is this because I don't have any other modules connected, but i have loaded the Midibox v 2.2 program?

Any help would be great.

Thanks

Rohan

Posted

Hi

The Captain is right.

If pins 2 -> 5 and 7 -> 10 of the PIC  ( J 5 of the core module) do not have a input voltage which is referenced to ground ( i.e. AIN module, direct connection to ground, or other device) the PIC will sample the random voltage (read noise) caused by atmospheric conditions. This voltage is translated by the ADC's of the PIC and MIOS into random MIDI data.

It's a good sign to see this data when you start because it shows you that the PIC has been programed and the MIDI ports are working.

Untill you add AIN modules to your core (due to the MB64 MIOS application) you must short pins 2 -> 5 and 7 -> 10 of the PIC to ground.

Rowan

 

Guest roboy
Posted

Thanks heaps Captain and Rowan with a 'w', I'll try that, hopefully it works. i'll let you know.

Rohan

Guest psytron
Posted

i had a similar thing happen to my mb64

mu setup was 1xain instead of 2xain early versions of the mb64(or mios) it was ok to have more pots in the asm file than you had multiplexers times 8(chips on the ain board).

in your main.asm find this

;; use 64 Pots

movlw 64

change the 64 to the number of pots you have

(both to be correct in documentation as well)

this worked for me.

Guest roboy
Posted

Thanks heaps Guys

I ground pins 2 -> 5 and 7 -> 10 of the PIC  ( J 5 of the core module) to ground and this solved the constant flow of MIDI messages I was recieving. I now only have a slight programming issue which could be solved by doing a similar thing to what psytron has suggested. I'll post that in the programming forum anyway.

Rohan  :)

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...