Yes, everithing is OK before midi IO loopback. I couldent get signals going trough midibox. I have done midi loopback on my korg mikrokontrol, and it is OK. I used sysex loader for that. What can I do to past this IO loopback test?
I was so histerically happy when I found out about this great project, but I stil did not make it work (over a jear). I started with midibox plus. I dont know anibody in my cantry who can I ask for help. Or they know only about PICs or only about MIDI protokol, so it is very hard to find any help. First I thougt my biggest problem is PIC programming. I bought new programmer and get PIC with bootstrap in it, but I am not sure did I burned in it any sysex. As I said I am getting pitch MIDI messages every few secs. but I am expecting sysex, right? Confused! I am electronic hobbist, and I am surly know what is the right side of soldering iron, but cant get it work. When I saw the simplicity of proyect I was amazed and sure about my skills to build it, but I was wrong. Am I so stupid or am I missing something important?
Once again… how can I know what I burned in PIC instead of bootstrap loader, and what should I do first to test if it is working. I build one dout modul, but it can have some foulty too.Thx. Sasa
> How can I know do I burned MIOS and application in a PIC
you could merge the .hex files with a text editor, but it wouldn’t really help - because it won’t fix the root cause, the MIDI Out still wouldn’t send proper MIDI messages.
However, from my experience the standard question “which tests are working” mostly leads to the inputs for which I’m searching - so, here a possible reason: you wrote that you’ve used a new programmer. Could it be that the programming software doesn’t allow you to modify the device ID? Could it be that the device ID is ffffffff, so that the to-COM option is enabled (-> wrong baudrate). This would make sense, because you’ve noticed that some, but not the correct, MIDI data is sent.
Lastn night I had nightmares about midibox and endles reprograming and testing. ???
I am confused about few things:
Before uploading bootstrap loader It needs to set ID. Default is ID = 0000000000000000. As I understand I can leave it like that because I want to use only one core, and no LCD. I also try with ID = 0000000000000012
What is diference between ID 0x00 and 0x12.For both it sais common MIDI interface/character LCD??? Which one to use for midibox 64?
When I “successfuly” burned bootstrap (with IC prog) I read out the data from PIC. Content was OK but ID was always ID = 0000000000000000 instead of ID = 0000000000000012 what I set before burning.
Should it always be like that or should I see ID = 0000000000000012?
I finish successfuly all tests: +/- curencies, optocoupler midi in out, loopback both midibox and PC. Everything seams OK but I still dont
What is diference between ID 0x00 and 0x12.For both it sais common MIDI interface/character LCD??? Which one to use for midibox 64?
ID 0x00 is ok in your case. I guess that you’ve found the different number (0x12) in the bootloader docs - this is only an example to point out where the device ID is located, just to give an orientation, and not a hint that this is a requirement to get anything working.
When I “successfuly” burned bootstrap (with IC prog) I read out the data from PIC. Content was OK but ID was always ID = 0000000000000000 instead of ID = 0000000000000012 what I set before burning.
Should it always be like that or should I see ID = 0000000000000012?
as mentioned above the ID is not relevant, it’s even better when you set it to 0x00 again so that you don’t need to change the device ID of MIOS and the application.
But it’s strange that you read back ID 00 - I just tried this with IC-Prog and the JDM, I can read back the correct ID.
I finish successfuly all tests: +/- curencies, optocoupler midi in out, loopback both midibox and PC. Everything seams OK but I still dont
get eny sysex.
Could you please clarify if you are still using a different programmer (not the JDM) and that you are still receiving different MIDI events (like Pitch Wheel) instead of the upload request message? In this case I would say that IC Prog has a bug and can neither write nor read back the ID field properly with your programmer.
In this case I could also create a .hex which solves the problem
If this is not the case anymore, if you are not receiving any MIDI event anymore, then I could tell you more debugging hints. But you have to hurry up with your answers, because I will have some holidays soon
I’ve added a new .hex file to the http://www.ucapps.de/howto_debug_midi.html page which provides a simple software implemented loopback test. Could you please try this out?
I will try this as soon as I can. I cant hury up wery much because I dont have internet at home. Shocked... dont be. As I told you Im trying to build this over a year, so I can wait more for you to come from hollidays. I never come here on forum so I didnt expected that you are actually ansvering our questiont. You crazy freak! If I catch you before hollydays cool, if not have a fun, you dafinitly deserved it. And don`t go to Malasia or around because WORLD NEEDS YOU! ;)Thx. again. Hear you.
I forget to tell you… I am using IC Prog with All Pic Programmer. Here is pretty popular but is it good for midibox I don`t know?
I am using it because It is tested and it dont use PCs power suply. We mostly have chinese PCs here with bad and unstable power suply and Ive been told that All Pic Programmer is better because of that separate power suply. All Pic Programmer is build to work with IC Prog, and in its setting you should sellect JDM like you are working with JDM.
I didn`t try yet your last hex but I am sending you link to page with screenshots of my last midi imput monitor www.recycleordie.co.yu/problembox.htm
Which MIDI interface are you using? Port number 10 is displayed, this implies that you either have a lot of MIDI interfaces, or a big one with many ports - can you please post a snapshot of the MIDI Devices Window?
How did you route the ports? A second snapshot of the “Port Routings” window could also be useful, because it seems that KEY events will never be forwarded to port 10. It seems also that incoming events from port 10 will be forwarded to the output of port 10 (classical MIDI loopback) - this will cause a problem during MIOS upload
So - the two additional snapshots should bring some light into this strange behaviour
>>Whats about the loopback test, is it working now?
It is not working, but midiox receaving something.
Here`s the snapshot: www.recycleordie.co.yu/midibox/last_shit.gif
>>>Did you also try to upload MIOS with the SysEx tool of MIDI-Ox?
Not this time, because loopback seems not working.
Should I buy 16F877 and try with old design again?
Why nobody make complete and tested midibox, I woud rather empty my pockets and forget about building joy than lose any nervs. It seems so simple but it turns to be to complicate.
with these results it is very obvious that you are using a wrong crystal, so that the PIC is clocked with the wrong frequency. This leads to the wrong baudrate.
From where did you by the crystal, whats the part number?
Normaly it’s not hard to get the right one, but it can happen that a shop sells you a crystal for radio devices (which are working on serial, and not on parallel resonance)