Jump to content


Photo
- - - - -

The Pedal Box and Pedal Board Thread


  • Please log in to reply
144 replies to this topic

#21 stryd_one

stryd_one

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 8,850 posts
  • LocationMelbourne, Victoria, Australia

Posted 16 July 2008 - 20:45

I don't suppose you tried searching the source code to find out what error 231 means?

#22 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 17 July 2008 - 00:23

I don't suppose you tried searching the source code to find out what error 231 means?

You're right... I'm a really newbie in this case, but I'll try to learn. ;)

#23 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 17 July 2008 - 06:58

oops, don't think i published the error codes yet...  ;D

23# means the master bankstick has been uploaded to bankstick #. not 0

There is no format checking on the banksticks yet. So it seems it gives this error with new banksticks as well.

The PC Editor is still very beta, and by no means complete.

The problem is very strange though...
Note: you shouldn't startup your midibox while your pc is half way through an upload - I've had to reload MIOS a few times because I did that.

the 'Upload OK' could be a translation problem. I think it's actually saying "I'm ready for the next block". Which is also sent at startup i believe.

Why it's not being recieved during upload I am unsure.

....hmmm...
The only thing I changed after I fried my core was the LCD showing 'Bankstick (the number was supposed to here) UPDT'.
This might be hindering the upload process.

Try this:
edit: link removed as it was not the problem
I've removed the LCD update before upload.

If it still plays up un-check 'use feedback from core'.

And if it still doesn't work... I've got work to do  ;D


edit: added error codes to the manual in the wiki

#24 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 17 July 2008 - 07:29

Thanks.... I will try it during today and report in the later evening  ;D

#25 stryd_one

stryd_one

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 8,850 posts
  • LocationMelbourne, Victoria, Australia

Posted 17 July 2008 - 10:09

Note: you shouldn't startup your midibox while your pc is half way through an upload - I've had to reload MIOS a few times because I did that.


Ahh no, you should start the upload by starting the midibox.

MIDIbox OFF
MIOS Studio
Hex upload
Smart mode
Wait for upload request
Select file
Start upload (click the button, nothing should upload yet)
MIDIbox ON
Upload begins
Upload completes without errors

If that doesn't work, it's time for the midi troubleshooting guide. Fonebone, I'm talking to you. Read my signature ;)


#26 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 17 July 2008 - 19:45

Here are the first pics of my Pedal Board. The "case" is just a prototype (box of my mainboard) and will be replaced with an aluminuim-case when all is done.

Next thing to do is installing the LEDs.

Some bugs:
- bank changing displays wrong infos (bug as known in the wiki)
- my 5 buttons (COMP, MOD, DELAY, REVERB, FX LOOP) are fixed ones and should switch between "on" and "off", but they always stay "off".

Little info: All buttons are momentary switches.

EDIT:
The indicator LEDs don't work and I have no idea why... ???
Here is my pbx_config.h
/*
 * MIOS Pedal Box / Pedal Board - pbx_config.h
 * v2beta1b - February 2008
 * ==========================================================================
 *
 *  Copyright © 2008  Mick Crozier mcrozier@iinet.net.au
 *  Licensed for personal non-commercial use only.
 *  All other rights reserved.
 *
 * ==========================================================================
 */

///////////////////////////////////////////////////////////////////////////
// Configuration Parameters
//
///////////////////////////////////////////////////////////////////////////

/* General Settings */
#define   PEDALBOARD             1  // 1 = Pedal Board mode    0 = Pedal Box mode
#define   MIDI_MERGER            0  // 0 = off   1 = on
#define   NUMBER_OF_SRIO         2 // 1-16  number of shift registers connected (count DIN or DOUT, whichever has more)

/* Pedal Settings */
#define   AIN_DEADBAND           7 // 7 for 7-bit midi is best
#define   AIN_NUMBER_INPUTS      1 // 1 - 8 - number of pots connected


/* Pedal Board Buttons */
#define   DIN_DEBOUNCE_VALUE     20 // debounce value

// FIXED BUTTONS MUST CONNECT FIRST
#define   DIN_FIXED_BUTTONS      6 // 0-16 buttons that always stay the same, regardless of bank

// BANKED BUTTONS MUST BE CONNECTED AFTER FIXED BUTTONS
#define   DIN_BANKED_BUTTONS     4 // 0-16 buttons that change with bank. 1 banked button will cause display errors when bank is over 99

 //THESE SPECIAL FUNCTION BUTTONS MUST BE CONNECTED AFTER THE BANKED BUTTONS!!!!!!!
#define   DIN_BANK_UP            10   // 4 - 33, pin number of button used to bank up
#define   DIN_BANK_DOWN          11   // 4 - 33, pin number of button used to bank down

 // THESE SPECIAL BUTTONS CAN BE ANY BUTTON CONNECTED, THEY ARE DUAL USE.
#define   EVENT_SETUP_DIN_PIN    4   // 0 - 33, pin number of button used to enter event setup
#define   GLOBAL_SETUP_DIN_PIN   5   // 0 - 33, pin number of button used to enter AIN setup


 /* Relay setup */
#define   RELAY_SHIFT_REGISTER     0 // 0 - 7 Relay's Shift Register
#define   RELAY_LED_SHIFT_REGISTER 0 // 0 - 7 Relay's LD indicator Shift Register


/* LED setup */
#define   USE_LED_INDICATORS     1  // Enable LED indicators connected 1 = Enabled 0 = Disabled

/* LED Digit Setup */
#define   DIGITS_CONNECTED       0  // 0-2 How many LED digits are connected
#define   DOUT_DIGITS_SR         0  // What SR do the digits start from.
                                    // 2nd digit will be on the next SR

                                    ////////////////////////////////////
                                    // IF NO LED DIGITS ARE CONNECTED //
                                    // A 2x20 LCD DISPLAY CAN BE USED //
                                    // WITH THE BANK DISPLAYED ON THE //
                                    // LAST 4 CHARACTERS              //
                                    ////////////////////////////////////

Attached Files



#27 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 18 July 2008 - 01:49

FoneBone

Sweet - coming along nicely
Now that you've got this far i'll get my arse into gear and order a new core today so I can fix up any issues you find.

Indicators:
Things to try
Set the number_of_srio to 4
Set relay SR's to 2 and 3
Seems you found an oversight on my behalf. There is no way to disable relays.

Also try testing the LED's with dout_buttons - available in the ucapps download section under troubleshooting. This will make sure the LEDs are actually hooked up right.

Buttons -
So they never turn on?? Do they send midi? what about banked buttons?
Can you pm me your pbx file
Also a map of which button is connected to which pin

Ahh no, you should start the upload by starting the midibox.......

My problems came from losing power half way through an upload (dogey power connection on my testing core).
In my lazyness I would just repower without stopping MIOS studio, it had some interesting effects.

The pedal board pc editor doesn't have a 'wait for upload request' option. As it only works with banksticks I didn't feel it necessary... I should add it in just to be safe.

#28 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 18 July 2008 - 07:58

I've now tested your setting for the SR's... LEDs don't work.  ???
Then I've tested the dout_buttons as you told... LEDs work.  ;D

All buttons send MIDI, banked and fixed ones.
Buttons are mapped as follows:
Button                 DIN          DOUT
Fixed1                 J4 D0        J3 D7
Fixed2                 J4 D1        J3 D6
Fixed3                 J4 D2        J3 D5
Fixed4                 J4 D3        J3 D4
Fixed5                 J3 D4        J3 D3
Fixed6                 J3 D5        J3 D2
Bank1                  J3 D6        J3 D1
Bank2                  J3 D7        J3 D0
Bank3                  J6 D0        J4 D7
Bank4                  J6 D1        J4 D6
UP                     J6 D2        
DOWN                   J6 D3

Btw: Is it possible to set LEDs for BANK UP and BANK DOWN?

Which pbx file do you want? master bs or device bs?

#29 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 18 July 2008 - 11:22

I pulled a core from one of my other projects and loaded it up with PB.
Everything is working, including the pc editor upload.

My guess with pc editor is a pc output midi port problem. Just make sure you select the right one, and that no other programs are using it.
I realised today that a big error occurs when another program has hold of a midi port your trying to use, but the editor won't tell you, it just won't work.

All buttons send MIDI, banked and fixed ones.

ok - need to check your pbx file

Buttons are mapped as follows:

Hardware Setup looks fine...

Btw: Is it possible to set LEDs for BANK UP and BANK DOWN?

I'm not sure what your asking..?

Which pbx file do you want? master bs or device bs?

The file thats created with the big 'save' button. It saves everything in one file (a .pbx file).



#30 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 18 July 2008 - 11:46

Hi,

The file thats created with the big 'save' button. It saves everything in one file (a .pbx file).

I've attached it, just delete the .zip-suffix.

I'm not sure what your asking..?

I meant indicator LEDs for the Up- and Down-Buttons, just for the pressed-status they light up.

Back to the other LED-problem:Do I have to but unused SR's to Ground, like I did for DIN-modul?

Attached Files



#31 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 18 July 2008 - 11:59

ok... first I thing I see is that both are set to channel 1. This could be an issue.

..hmmm... ahhh....
Maybe the fixed button issue is remnat of an old bug. Try wiggling your pot a few a times first, then press the buttons.

As a work around you could try setting the relevant cc's to Meter with on/off instead of on/off only. It will have the same effect your after.

-------------WAIT

I think you've mis-interpreted the momentary/toggle option.

It doesn't mean what the hardware switch is (they must be momentary)
When set momentary - when your foot is down it will be on, when you remove your foot it will go off.

When set Toggle - when you foot goes down, the switch will change from it's previous state to the other. When you remove your foot there will be no change.

Try setting your buttons to toggle (it makes no difference with program changes)

-----------------
No grounding required for unused pins on DOUT's

LED's on bank buttons - I could make that happen, I guess so when the button is down the led lights up?

#32 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 18 July 2008 - 12:30

SUCCESS.... I have to change all options to "Toggle".... then LEDs are working and on/off of the fixed buttons is working, too.

Thanks a lot.

More to come, when housing is finished  ;D

EDIT:
2 pics with LEDs.....
btw: display bug of up and down button is gone!!!

Attached Files



#33 stryd_one

stryd_one

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 8,850 posts
  • LocationMelbourne, Victoria, Australia

Posted 18 July 2008 - 14:16

grounding .... for unused pins on DOUT's


That will almost certainly kill things, as another forum member has recently accidentally discovered ;)
(name with held to protect the soldering errors) hehheheh

#34 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 19 July 2008 - 14:24

Would it be possible to edit bank-names directly on pedal-board, without pre-naming them before installing? Maybe in future versions of pedalbox/-board?


#35 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 21 July 2008 - 05:27

Pedal Board Updated
- added bankstick magic numbers

There has been a slight change in the way data is stored on the bankstick.

The updated PC Editor will update old files to the new format


Would it be possible to edit bank-names directly on pedal-board, without pre-naming them before installing? Maybe in future versions of pedalbox/-board?


When I get a pic18f4620 and have more code space, yes.

#36 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 21 July 2008 - 09:01

Hi, I've updated to PedalBoard v2b2. And I've tried to update my banksticks, but I got a "Version ID Mismatch" for bankstick 1.
..."Have 101 Need 21"...

Result is: "Error 241"

Regards
FoneBone


#37 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 21 July 2008 - 10:42

.... wha ...

sorry, I think I've uploaded the wrong version of the pc editor. That bug was the last thing I fixed...
Will fix it in the morning


Error 24# is Bankstick Magic Number mismatch on bankstick# - So that would be expected if you can't open your device file in the new editor to upload it

#38 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 21 July 2008 - 11:01

no problem... just downgraded to v2b1b for the moment  ;D

EDIT:
Today I was in my rehearsal room to test the pedal board. Works great, but is it possible, that pedal board will recieve the status of the effects (modulation and delay) used in every preset (bank)?
Example: When I use a preset, which contains a digital delay and a phaser (both are build-in effects of the amp) and I wanted to switch them off, I have to step two times (first on, then off). Would be great, if pedal board could recognize this status by switching between the presets.

#39 Durisian

Durisian

    MIDIbox Addict

  • Programmer
  • PipPip
  • 160 posts
  • LocationMelbourne, Australia

Posted 22 July 2008 - 01:51

pc editor fixed

yeah!
Some devices have a request controls command, which will ask it to spit out all its current settings (the pic18f4620 version of pb will support midi in for pedal board).
This is something I intend to implement, This command would be sent straight after a program change.

But in the line 6 midi chart I can't see a command that would do this.

So I think your stuck with the hard way :(
Which is to use Rig Control to do the program change and to turn anything on or off

- I found another cool bug in the editor that was stopping patch steps being enabled, so you'll need the new version  ;D


#40 FoneBone

FoneBone

    MIDIbox Newbie

  • Members
  • Pip
  • 45 posts
  • LocationBerlin - Germany

Posted 22 July 2008 - 08:38

Successfully updated to version 2 beta 2.... but for an unknown reason I'm still not able to upload bankstick files via the editor (when use feedback from core is selected). When I deselect it, the blocks were send, but in the end the core don't reset. When I reconnect pedal board after this update the new bankstick file was'nt updated... My only solution is the use of sysexbox for the upload... don't know why.

To the other problem:
I've found in my manual

The HD147 always sends and recieves at MIDI channel 1.


and... but this is MIDI SysEX....

To transfer the present settings of your amp, you have to push TAP TEMPO and one of the Bank Buttons (A, B, C, D).


I really don't know, if this will be helpful, but I know that the original FBV (Floorboard of Line6) recieves this settings.

Btw. Yesterday I've connected my POD2.0 via MIDI to my PC. By pushing the bank buttons, the MIDI IN window of MIDIOx recieved some (more than one) messages. I guess my HD147 will do the same ;D

And one last thing:
Cool updated connection schematics on the wiki. The only thing I don't understand is, how to connect stompboxes. Wouldn't it be easier (without hard wiring) to implement some kind of true bypass circuit?

At this point I only have to say thank you....  ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users