When I test my SID (Core stuffed with 16F) with the SID_V2 test program, I get that wonderful chord at startup. ;D After that, I should according to µcApps be able to play notes on Channels 1-3. Whenever I sent notes to the core, all I get’s a clicking sound. One “click” for note on, another one for the note off event. ??? Has anybody ever come across the same problem? Any ideas?
??? Ok, since the SID played that beautiful song with the test program it appears to work. So, I assume that the problem I have is a software problem. I still only get that clicking sound no matter what I do. I tried playing some notes on channel 1 using JSynth (tried Presets, too), MidiOX and my keyboard - all I hear is “click”…
Hmmmm, I just noticed - my Core doesn’t send ANY SysEx at all. Not even with the test_tx program. It used to give me some SysEx with that, and the SID_V2 still works, too! ??? What 's up with that?
MidiOx is configured correctly though (tested with my Roland Synth) and the MidiOut on the Core is hooked up correctly, too… Strange. Any idea, TK?
NOTE: this simple LED circuit helps to indicate the outgoing signal, but it consumes some power - you have to disconnect the LED before connecting the MIDI Out of your MIDIbox with the MIDI In of your PC!
No, with these inputs (sometimes working, sometimes not) it’s impossible to give usefull tips into the right direction.
First try to find the root cause why your hardware is so unstable - check the solderings, cables, etc… and use the verify function of IC-Prog to ensure that the firmware has been burned correctly into the PIC.
I followed your advice and checked everything again - didn’t find anything. But since the last time the problem of something not working occured, everything seems fine - except for the Core not working with the SID firmware. The PIC is burnt right, too.
So, everything seems to be stable now BUT as I said, the firmware doesn’t work. To me it seems the problem could be that the Core is not really getting the MIDI IN right. Is there a test program to check that?
Sorry, that I can’t give you some more information that would sort some sources of the problem out… :(
No, the PIC18F isn’t code compatible to the PIC16F…
however, the bootloader provides all the functions which are necessary to test the MIDI IO: it sends a SysEx string after power-on (MIDI-Out test) and it reacts on incoming upload requests (MIDI-In test)
After a lot more testing and checking I’m down to that:
The hardware is all ok.
The PIC is burnt correctly
The software on my computer is set up correctly
The cables are ok
SID_V2 works
test_tx works
test_rxtx does NOT do anything
the sid firmware does NOT do what it’s supposed to. Clicking sound for every MidiEvent. Sound does NOT come up, when the MidiIn cable is disconnected - MidiIn seems to work. The click is louder when the MidiOut cable is connected.
I hope this helps a little. I really don’t have any clue what the problem might be…
could you please record the clicking sound? I guess that it doesn’t come from the SID, but from your MIDI port, and the reason could be that the optocoupler isn’t connected correctly. But I need an audible impression to realize what is going on there.
I’ll try to record it, BUT: The signal is really low, so when I try to record it, I have to turn the volume up so much that all I get is static. I’ll try to figure something out.
I ordered a new optocoupler just in case. Should be here on Tuesday…
Alright - this is not the SID, this is digital noise from the MIDI In port - possibly the optocoupler is still ok, the error must be between optocoupler and PIC.