dondo Posted September 10, 2008 Report Share Posted September 10, 2008 I just built the core module.I checked all the voltages I can.I mounted the pic18f4685 (programmed with the bootstrap loader with picpgm) and the 6n138 in their sockets.I have connected an LCD 16x2 to the core.I can see the first row light and the second row dark.If I check with the midi in monitor in mios studio i have no midi messages. (the problem is not my pc because i can read any other midi instrument.)If I test the voltage of the tx pin of the pic I can read 3.66V if I reset the core module sometimes I get 4.98V. while my rx pin it's always at 4.98V.If i connect a led to my midi out it never turn on!I have tried to follow the midi troubleshooting but without successWhat's wrong? ???please help me! Quote Link to comment Share on other sites More sharing options...
DenDer Posted September 10, 2008 Report Share Posted September 10, 2008 Did you try another optocoupler? Most of the times its the opto. Quote Link to comment Share on other sites More sharing options...
dondo Posted September 10, 2008 Author Report Share Posted September 10, 2008 no. I haven't another one I have to buy it.Do you think I have cooked my optocoupler?Is it so easy to burn? Quote Link to comment Share on other sites More sharing options...
nILS Posted September 10, 2008 Report Share Posted September 10, 2008 DenDer: You do realize the opto is hooked up to the MIDI In, right? So, your answer is, um, kinda pointless ::)Dondo: Try running all the MIDI Troubleshooting tests as described on ucapps.de. Then post the results here :-) Quote Link to comment Share on other sites More sharing options...
DenDer Posted September 10, 2008 Report Share Posted September 10, 2008 Damn.......didn't realize that stupid stupid :-X@ Dondo, did you burn the pic yourself with the bootstraploader? Quote Link to comment Share on other sites More sharing options...
cimo Posted September 10, 2008 Report Share Posted September 10, 2008 dondo and dender .... eheh ::) Quote Link to comment Share on other sites More sharing options...
dondo Posted September 10, 2008 Author Report Share Posted September 10, 2008 Yes! I burn it myself!I burned it in gentoo linux system with the last wine because on xp I always have problems to use my programmer!It worked i think! the verify was successful.I did it with picpgm. Quote Link to comment Share on other sites More sharing options...
dondo Posted September 10, 2008 Author Report Share Posted September 10, 2008 This is my experience with the midi troubleshooting page * TEST PROG1: my pic is burned sucessfully * TEST CORE1: I have the A10.000 FD3u4 crystal on my board * TEST CORE3: there aren't missed junctions or bad solderings * TEST CORE4: I have 4.98V in all the Vdds (except fot TX pin of the pic that oscillate from 3.66V to 4.98V) * TEST CORE5: I have 4.98V in all the grounds * TEST CORE6: The polarity of my MIDI plugs is OK * TEST CORE7: The polarity of the protection diode D1 is correct * TEST CORE8: My R8 and R7 are 220 Ohm 5% tollerance * TEST CORE9: The midi out of my core is connected to the midi in of my Edirol UM-2 midi device * TEST CORE10: I would like to have a lot of request messages connecting TX pin to RX pin, but I have nothing * TEST CORE11: I would like to have at least wrong sysex messages, but I have nothing * TEST OUT1: If I connect a LED to my MIDI Out port sometimes it turn on for 2 seconds (strange just sometimes) * TEST OUT2: I have tried to disconnect the middle pin of J12 (ground line of MIDI Out port) but without resultsWhat's wrong guys? :-\ Quote Link to comment Share on other sites More sharing options...
cimo Posted September 10, 2008 Report Share Posted September 10, 2008 What's wrong guys? Undecided * TEST CORE5: I have 4.98V in all the groundsdoes it really need explanation..assuming is the mother of all evil * TEST CORE3: there aren't missed junctions or bad solderings Quote Link to comment Share on other sites More sharing options...
dondo Posted September 10, 2008 Author Report Share Posted September 10, 2008 does it really need explanation..assuming is the mother of all evilI mean making this test ( http://www.ucapps.de/howtodebug/mbhp_core_extract_measuring_gnd.gif ) I got 4.98V in every ground point Quote Link to comment Share on other sites More sharing options...
cimo Posted September 10, 2008 Report Share Posted September 10, 2008 I mean making this test ( http://www.ucapps.de/howtodebug/mbhp_core_extract_measuring_gnd.gif ) I got 4.98V in every ground pointok sorry, as i ve stated before assuming is evil....reading back you don t mention trying to upload MIOS or applications , what about that..EDIT you may drop by the chat right now for faster troubleshooting Quote Link to comment Share on other sites More sharing options...
dondo Posted September 10, 2008 Author Report Share Posted September 10, 2008 Nothing can be uploaded into my core module....there is no way....I have tried with mios in 3 ways1) waiting for an upload request (that never arrive)2) smart mode without results3) manual mode (with this one i get upload succeded but i don't see changes neither to the display) Quote Link to comment Share on other sites More sharing options...
cimo Posted September 10, 2008 Report Share Posted September 10, 2008 hiif no hardware problem can be found i suspect that the bsl hasn t been correctly burned.i can t think of anything elsesimone Quote Link to comment Share on other sites More sharing options...
lylehaze Posted September 11, 2008 Report Share Posted September 11, 2008 >Nothing can be uploaded into my core module....>there is no way....>I have tried with mios in 3 ways>1) waiting for an upload request (that never arrive)>2) smart mode without results>3) manual mode (with this one i get upload succeded but i don't see changes neither to the display)Manual mode will always succeed, because it's not checking to see if it got there.>I can see the first row light and the second row dark.That means nothing is talking to the display.You probably need to burn the bootloader into the PIC again. It does not appear to be runningYour power readings look good, I assume your 7805 is not burning hot. If your crystal is OK, then you are down to a blank PIC or a bad PIC. PIC's are usually pretty tough.But I'm just guessing.Good Luck,LyleHaze Quote Link to comment Share on other sites More sharing options...
nILS Posted September 11, 2008 Report Share Posted September 11, 2008 [ x ] Don't assume[ x ] Never rule out bad soldering/joints[ x ] Reburn the PIC (make sure to have your programmer read/compare it after burning)Cimo: Awwww, she is soooo cute. When can I marry her? Quote Link to comment Share on other sites More sharing options...
cimo Posted September 11, 2008 Report Share Posted September 11, 2008 Cimo: Awwww, she is soooo cute. When can I marry her?25 camels Quote Link to comment Share on other sites More sharing options...
nILS Posted September 11, 2008 Report Share Posted September 11, 2008 Deal. That means I'll have to sell my mom, but hey. Although they actually offered 30 camels and 20 goats for her in Tunis. What will I do with all those goats... Quote Link to comment Share on other sites More sharing options...
dondo Posted September 11, 2008 Author Report Share Posted September 11, 2008 UPDATE: on another board I fixed a bad solder, and now the optocoupler test is OK. I was able to load MIOS (the upload request was being sent prior to loading it), but when I restarted the core nothing happened, and the display still shown the 2nd row dark.what's wrong now? Quote Link to comment Share on other sites More sharing options...
bugfight Posted September 11, 2008 Report Share Posted September 11, 2008 something loose in cockpit 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.