Lötmann Posted July 29, 2008 Report Share Posted July 29, 2008 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 aliveand midi out of the core was workingI 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.htmlthe 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 in4at vss-ic2 pin 6 its the same thing at vss-ic2 pin 8 it lights up but doesn't react on midi signaltest in5led stays offI 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 Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 30, 2008 Report Share Posted July 30, 2008 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. Quote Link to comment Share on other sites More sharing options...
Lötmann Posted July 30, 2008 Author Report Share Posted July 30, 2008 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.GIFAm 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 secondsTest core1:crystal is thereTest core3:tested but will be tested over and over again :)test core 4:all 5.287 Vtest core 5all 5.28 Vtest core 6switched plugs but then midi loop doesn't work any moretest core 7looks ok to me: black ring towards pin 1 of ic2test core 8resitor values mesured, oktest core 10like test 6test core 11request message seems correct F0 00 00 7E 40 ... F7I am using the optimized c64 psu. I took out the 7805 from the coreand bypassed outer pins to connect the 2200uf to the 5Vtest out1haven't done it yet, because I am receiving this request, so the out seems to be finetest out2same like out1-----------------test in 1checked but will be checked againtest in 2like test core 6test in 3-5pls. look at first posttest in 6 and 7as far as i can see optocoupler is working (didint make the tests)test inout1workingtest sw1 und sw1i dont have no burner :'(-------------------------blesslötmann Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 30, 2008 Report Share Posted July 30, 2008 test in 6 and 7as far as i can see optocoupler is working (didint make the tests)Try them anyway.... This wouldn't be the first time that way of thinking caused disappointment ;) Quote Link to comment Share on other sites More sharing options...
nILS Posted July 30, 2008 Report Share Posted July 30, 2008 MIDI Troubleshoot Golden Rule #1: It's the optocoupler Quote Link to comment Share on other sites More sharing options...
stryd_one Posted July 30, 2008 Report Share Posted July 30, 2008 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! Quote Link to comment Share on other sites More sharing options...
DenDer Posted August 1, 2008 Report Share Posted August 1, 2008 Opto's, DenDer frowns and strikes his beard........hmmm isn't it the other way around??? Right stryd? ;DCheck the opto... Quote Link to comment Share on other sites More sharing options...
nILS Posted August 1, 2008 Report Share Posted August 1, 2008 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] Quote Link to comment Share on other sites More sharing options...
stryd_one Posted August 1, 2008 Report Share Posted August 1, 2008 Noone's gonna beat that. IOU 1*optocoupler. I'd make it 2* , but I like you. Quote Link to comment Share on other sites More sharing options...
Lötmann Posted August 3, 2008 Author Report Share Posted August 3, 2008 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 wordsdoes the sid software start without the sid module connected?thanx and greetzlötheinz Quote Link to comment Share on other sites More sharing options...
stryd_one Posted August 3, 2008 Report Share Posted August 3, 2008 Yay :)Sounds lke the app's not running, or the PIC has locked up... How did you upload it? MIOS Studio in smart mode? What if you upload another app for testing, does that work? Quote Link to comment Share on other sites More sharing options...
nILS Posted August 3, 2008 Report Share Posted August 3, 2008 [me=nILS Podewski]does the "I was right"-dance[/me] Quote Link to comment Share on other sites More sharing options...
cimo Posted August 3, 2008 Report Share Posted August 3, 2008 [me=nILS Podewski]does the "I was right"-dance[/me]remember you could fall from the chair... Quote Link to comment Share on other sites More sharing options...
nILS Posted August 4, 2008 Report Share Posted August 4, 2008 remember you could fall from the chair...Nah, the "I was right"-dance is one of the few dances that actually require standing up in the first place. I hate dancing. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted August 4, 2008 Report Share Posted August 4, 2008 the "I was right"-danceBah, you made that up! That's not even an official dance. ::) Geeeeez. Quote Link to comment Share on other sites More sharing options...
nILS Posted August 4, 2008 Report Share Posted August 4, 2008 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! Quote Link to comment Share on other sites More sharing options...
DenDer Posted August 4, 2008 Report Share Posted August 4, 2008 Damn what's that smell ??? ??? o it must be your ego ;D Quote Link to comment Share on other sites More sharing options...
Lötmann Posted August 4, 2008 Author Report Share Posted August 4, 2008 @stryd one:used smart mode, checksum messages looked ok.i uploaded the display test proggi and it did what it should.any test you suggest? (to add some poetry here)@rest:you are all crazy ;D Quote Link to comment Share on other sites More sharing options...
stryd_one Posted August 5, 2008 Report Share Posted August 5, 2008 What hex did you upload for the SID? Quote Link to comment Share on other sites More sharing options...
Lötmann Posted August 11, 2008 Author Report Share Posted August 11, 2008 yo back again,tried midibox_sid_v2_0_rc22 / setup_6581 without any changes.Could someone tell me if the sid software can start without sid module connected?I will build a second core & sid (ordered 2 sets) and check out if its the samepeace@alllötfred Quote Link to comment Share on other sites More sharing options...
DenDer Posted August 11, 2008 Report Share Posted August 11, 2008 First of all there is a SID_V2_RC25 available........try to upload that hex file of the 6581. Quote Link to comment Share on other sites More sharing options...
nILS Posted August 11, 2008 Report Share Posted August 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.