Highly Liquid Forum
  #1  
Old 04-12-2012, 07:20 PM
megafisc megafisc is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Default Programming troubles

Hello Board,

I seem to be unable to program my MIDI CPU. Here is what I've done so far:

1. On my computer I've created a text file very much like the one found at the end of the firmware guide.
2. I used the online utility to create a .syx file
3. I added the file to SysEx Librarian
4. I confirmed my MIDI loopback with Sqwerl (I'm using a Focusrite Saffire Pro24 firewire interface)
4a. Every time I try this test, the first attempt produces a sysex time-out. Subsequent tests are successful.
5. I disconnected the power from the MIDI CPU.
6. I placed a jumper wire from the "L" pin of the CPU to a "G" pin
7. I re-powered the MIDI CPU. At this time, the activity LED was illuminated.
8. I connected the MIDI out of my Saffire to the IN connections of the CPU (pin 4 to pin 4 and pin 5 to pin 5.)
9. I click "Play" in SysEx Librarian.
10. SysEx Librarian reports that the file was successfully sent (or something of that nature)
11. Nothing happens to the LED on the CPU. It just stays lit.

In librarian, I have "MIDI" selected as my output. There is no option for my Saffire.

I also tried the same procedure with a Yamaha USB interface but could not test it with sqwerl. I had the same results.

Someone please help!! What am I missing??

Thanks in advance,

Mark
Reply With Quote
  #2  
Old 04-13-2012, 12:55 AM
Jim McDougall Jim McDougall is offline
Moderator
 
Join Date: Aug 2009
Posts: 377
Default

Please post the text file you were trying to send. I would also recommend using Bome's SendSx -- it free and works very well. You would not have to try and convert with this software - you can paste the text directly into its send window
Reply With Quote
  #3  
Old 04-13-2012, 12:57 AM
Jim McDougall Jim McDougall is offline
Moderator
 
Join Date: Aug 2009
Posts: 377
Default

With send sysex you can also loop your midi cable output to input and verify that the file is being sent through the card properly
Reply With Quote
  #4  
Old 04-13-2012, 12:17 PM
megafisc megafisc is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Default

I have attached the .syx file.

I will also try Bome's SendSysEx as well as looping the board's out port back to my Saffire's in port. Thanks for the tips!

Mark
Attached Files
File Type: syx sysex-3.syx (194 Bytes, 22 views)
Reply With Quote
  #5  
Old 04-13-2012, 03:21 PM
megafisc megafisc is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Default

Next step!!

I've now gone to the next step in my adventure. Using Bome's Send SX, I now have a flashing activity LED! Does that mean there is a problem with my file?
Reply With Quote
  #6  
Old 04-13-2012, 06:04 PM
megafisc megafisc is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Default

Progress!!!

I've suddenly realized that the procedure I am attempting is NOT a firmware upgrade and therefore do NOT need to place a jumper from CAL L to G!!

I've successfully programmed my MIDI CPU!!

NOW - I need help with my file. I am using a 12 X 6 matrix configuration. It is wired the same as found in figure 9.3 of the MIDI CPU user manual EXCEPT I am using lines 0 - 11 as my data lines and 12 - 17 as my select lines.

It would appear that I need to use the MIDI note remapping somehow but I'm having trouble figuring out how.

Hopefully this will give me my solution so I can get this project finished.

Thanks!
Reply With Quote
  #7  
Old 04-13-2012, 11:46 PM
Jim McDougall Jim McDougall is offline
Moderator
 
Join Date: Aug 2009
Posts: 377
Default

No you should not need midi note remapping -- just some config changes to account for the matrix change -- I will post later tonight after looking at the sysex file
Reply With Quote
  #8  
Old 04-16-2012, 01:48 PM
megafisc megafisc is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Default

Jim - Thanks for your help so far. I have taken the weekend off of this project and am back at it today. Have you come up with a suggestion for a configuration file for me? I'm thinking I might need to reverse my diodes.
Reply With Quote
  #9  
Old 04-18-2012, 02:37 AM
Jim McDougall Jim McDougall is offline
Moderator
 
Join Date: Aug 2009
Posts: 377
Default

Sorry for some reason the forum has been on and offline the past few nights, will look at shortly
Reply With Quote
  #10  
Old 04-18-2012, 03:22 AM
Jim McDougall Jim McDougall is offline
Moderator
 
Join Date: Aug 2009
Posts: 377
Default

I a, presuming the code is based on the example in the manual -- if you have wired as a straight 12 x 6 matrix then some changes are required
OC 00 2C 00 24 0E says that there is only a single note (note hex 24 decimal 36) on this select so we need to change to

OC 00 2C 00 24 00 so that it supports all the data lines, then we need to increment by an octave(12 notes) for each succeeding select

0D 00 2C 00 30 00
0E 00 2C 00 36 00
0F 00 2C 00 3C 00
10 00 2C 00 48 00
11 00 2C 00 54 00

This will cover note numbers 36 through 108

However, in the docs I believe there is a limitation of 8 data lines so you may have to reverse the switch matrix as 6 data and 12 control lines -- You would the use the D1 value of 09H to indicate only 6 notes per select as per Table 3.5.6-a: Matrix Data Bitmasks in manual. So as per the above example instead of incrementing by twelve you would incremetn by 6 for each control line
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:55 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.