Jump to content

(core) no midi in


Recommended Posts

Hello,

first I'd like to thank everybody who helped to create and improve this beautiful project.

I had a lot of fun already, although I got stucked now:

I soldered the core module and tested voltages like shown in the manual.

Everything was fine so I plugged in my pic 18f4620 and started MIOS Studio.

The Midi in Monitor showed the periodical request messages, so I knew pic was alive

and midi out of the core was working

I tried to upload MIOS but had to read this message: "Error: Received unexpected Upload Request"

The Midi in monitor kept on displaying request messages instead of uploading confirmations.

I checked my midi cables / midi interface by looping the cables with a female adapter, was ok.

Then I took out the pic and bridged the rx and tx pin of the pic socket. that loop also worked fine.

then I did the led tests as described here : http://www.ucapps.de/howto_debug_midi.html

the results:

test in3

led flashes for a tiny moment when powering up but then stays off

when switching off the power, led lights up and fades out with a curve that rminds me at capacitors.

test in4

at vss-ic2 pin 6 its the same thing

at vss-ic2 pin 8 it lights up but doesn't react on midi signal

test in5

led stays off

I checked voltages at pic an ic2 a million times, same thing with resistor values and

diode/midi connector direction (they should be ok anyway because of the succesfull loop test)

i checked soldering with magnifiying glasses and a multimeter but could not find any bug.

this seems paradox to me.

through I can make a midi loop at the pic socket, there must be a signal.

but the led shows no midi signal at no time and even behaves strange (test in 3).

after two day of thinking reading and overchecking I am running out of ideas now.

thanks in advance for any help...

Lötmann

Link to comment
Share on other sites

1st: Sorry I edited your post - I just cut out the 10 empty lines at the end, no other changes :)

I checked my midi cables / midi interface by looping the cables with a female adapter, was ok.

Then I took out the pic and bridged the rx and tx pin of the pic socket. that loop also worked fine.

Please paste the logs. When you transmit sysex it should be rec'd exactly as it was sent. I'd like to see that with my own eyes - this would not be the first time that sysex was corrupted in such a loop and it went unnoticed. I don't think that's it though.

It seems like you might have a short or something. Did you triple-check the polarity of D1? If you got that backwards that would explain this fault.

If you could post the results of the rest of the test that will be helpful.

Link to comment
Share on other sites

thanks for reply stryd,

yes  I do more reading than posting.  ;)

For example I coudln`t manage to insert a gif into this post.

instead please follow this hyperlink (screenshot of midiox midi monitors, sending a preset bank. 

looped rx-tx at pic socket)

http://www.benjie.de/public/mididata.GIF

Am I wrong or does this mean diode, optocoupler and resitors are ok?

the rest of the test:

TestProg1:

Bootloader seems to be ok, because i am getting request messages every 2 seconds

Test core1:

crystal is there

Test core3:

tested but will be tested over and over again  :)

test core 4:

all 5.287 V

test core 5

all 5.28 V

test core 6

switched plugs but then midi loop doesn't work any more

test core 7

looks ok to me: black ring towards pin 1 of ic2

test core 8

resitor values mesured, ok

test core 10

like test 6

test core 11

request message seems correct F0 00 00 7E 40 ... F7

I am using the optimized c64 psu. I took out the 7805 from the core

and bypassed outer pins to connect the 2200uf to the 5V

test out1

haven't done it yet, because I am receiving this request, so the out seems to be fine

test out2

same like out1

-----------------

test in 1

checked but will be checked again

test in 2

like test core 6

test in 3-5

pls. look at first post

test in 6 and 7

as far as i can see optocoupler is working (didint make the tests)

test inout1

working

test sw1 und sw1

i dont have no burner  :'(

-------------------------

bless

lötmann

Link to comment
Share on other sites

hahaha thread has been appropriately tagged.

while (!sure) {
      PlaceBlame(optocoupler,damnedthings.suck);
      if (IsWorking(core) && !changedopto) sure = 1;
}

Now it's someone else's turn to play "Blame the opto". Most original joke wins an opto!

Link to comment
Share on other sites

MIDI Troubleshooting, Act 3

[enter stranger]

Stranger: This sure is weird, it should be right

              with all the Troubleshooting I've tried

              and still I get no Midi in

              this cursed core!

[stryd_one interrupts]

stryd_one:                      Oh boy! Don't sin!

              Don't blame the core! The problem is

              you haven't tested all of this!

[nILS + stryd_one sing a duet]

              The optocoupler is the cause

              It always is, it always was

              REPLACE THE OPTO swift and quick!

              Beat the old one with a stick!

              It's always the opto, we tell thee!

              REPLACE THE OPTO

[stryd_one sings in bass voice]

stryd_one:                           and you'll see!

[nILS and stryd_one dance off the stage, stranger

looks around surprised]

Stranger: Why thank you merry fellas!           

[off Stranger, curtain falls]

Link to comment
Share on other sites

Good to see, everybody is enjoying the good vibe around here.

Problem solved itself, check out how (no lie):

1. i didin't look at the constuction yard for a couple days (ignoring it straight away)

2. When I felt the time was right I hold the core close to my face and told him this will be

his last chance before getting smashed.

3. I took out the opto, told him about what you people in this forum said (exchange the opto)...

after all that it worked very well. still working :)

now ihave a next question which is fortunately more simple:

i connected the sid module and uploaded the sid software,

but the display is still just showing "ready"

does this mean the sid software is not running or that the module is not connected the right way?

in other words

does the sid software start without the sid module connected?

thanx and greetz

lötheinz

Link to comment
Share on other sites

Bah, you made that up! That's not even an official dance.  ::) Geeeeez.

Pfft, you just don't know it cause you're never right! All the smart guys like TK, Wilba, bugfight, [add random names here] and me know it!

Link to comment
Share on other sites

Yes, the software does start w/o the SID module connected. So *if* the sid application was installed on top of MIOS it should display so at startup.

Are you _sure_ that:

- you are using the correct PIC (18F4685)

- the latest version of MIOS is correctly installed

- the core modifications for the CAN bus are correct

- the latest version of the SID software is correctly installed

Link to comment
Share on other sites

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