dcreatorx Posted June 9, 2006 Report Posted June 9, 2006 Hi ! By now the exams are gone finally and I have some time for this project.( I left it on chrystmas more or less ). Yesterday I took everything out of the box and I connected it to my PC MIDI port. I've been learning and reading a lot about Sysex and MID while I was studying, so right now I can talk better about the thing that phushed me out to leave the project till now.The main problem was : I can send Sysex messages to the PCIF ( It used to be the MIOS v1.8 and the sid testtone ) I mean, the communication exist between the two parts, but I can hear no sound coming out from the 8580 and the 6581 once I test them. I even tryed to play some notes from my master keyboard and nothing comes out. The last time I tryed to get sound from them back on last xmas, I remember that I revised the voltages coming in and out from the PSU and in all the circuits. It was ok. What could happen ? Can somebody help me getting inside the project again ? Will you suggest me to start over again ? Thanks. Very cool new style for the forum, greets !I'll add some pics to show you how my crap look like : Quote
TK. Posted June 9, 2006 Report Posted June 9, 2006 Hi,the most common error which are made are wrong interconnections between SID and CORE module - note that on the old PCB versions, the two 8pin ports are not connected 1:1. At the MBHP_SID module webpage you will find some diagrams which show the wiring (e.g. mbhp_sid_c64_psu.pdf), and at the MIOS download page you will find an mbsid_interconnection_test which allows you to test all cables to the SID moduleIs this test passing? (Test procedure is described in the header of main.asm)Best Regards, Thorsten. Quote
dcreatorx Posted June 9, 2006 Author Report Posted June 9, 2006 Ok, no I did not try that. I will do it and I will post it here then, thank you for your help, T. Quote
TK. Posted June 9, 2006 Report Posted June 9, 2006 Ooof, your J2 connections at the SID module are looking very error prone!Best Regards, Thorsten. Quote
dcreatorx Posted June 9, 2006 Author Report Posted June 9, 2006 I'm following the Optimized PSU. I revised the interconnection and there's something I did not connected before. Can you explain how do you connect the J7 SO to the CLK pin of the SID ? I don't know what pin is it. I did not make the bridge at J4, is it right to do it ? Thanks a lot.I'm debugging here. 1- The 8580 gets very very hot, unlike the 6XXX.2- In MIOS STUDIO, I get message errors now while uploading applications: Less bytes than expected where returned.A picture of my crap with the revised connections : Quote
stryd_one Posted June 10, 2006 Report Posted June 10, 2006 just a heads-up, dcx.... Edited posts do not show up as unread, even though they are, so it's best to make a new post if you want to draw attention to it :) Quote
nebula Posted June 10, 2006 Report Posted June 10, 2006 Don't swap out the 6581 for an 8580 unless you also change the regulator, otherwise you're putting too much voltage to the 8580. The 8580 takes 9V, 6581 takes 12V. I see from one of the shots in your first post you've got a 7812 regulator but you should use a 7809. Quote
nebula Posted June 10, 2006 Report Posted June 10, 2006 As for the clock pin, the details are on http://ucapps.de/mbhp_sid.html - take a look at the second last picture on the page. To follow this revision (which may not have been there when you first started) you need to remove the oscillator from the SID board.Welcome to the joyous world of desoldering. For home use I personally use a "sold-a-pullt" although vacuum bulbs or solder remover wick both work well. (On boards with plated through-holes, however, the wick is less effective). Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 Hi nebula ! Thank you for your help here. The removing of the oscilator is done now. When I try to upload any aplication, the MIOS studio give a message back : error, less bytes than expected. And then the system makes a reset. What happens there ? Thanks. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Could you please copy&paste all messages which are print by MIOS Studio within the upload window?Best Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 Of course T. This is the total output when trying to upload something (always happens the same )SYSEX UPLOAD MONITOR WHEN TRYING TO UPLOAD :Starting upload of setup_6581_without_cs.HEXSending block 00003000-000030FFReceived error code 01: Less bytes than expected have been receivedSending block 00003000-000030FFReceived error code 01: Less bytes than expected have been receivedSending block 00003000-000030FFReceived error code 01: Less bytes than expected have been receivedSending block 00003000-000030FFReceived unexpected MIOS SysEx message = 000040000E016AF7 expected = 00007E4000MIDI IN WINDOW AFTER TRYING TO UPLOAD SOMETHING : timestamp 24950000 us: Sysex message: F0 00 00 7E 40 00 0E 01 30 F7timestamp 62074000 us: Sysex message: F0 00 00 7E 40 00 0E 01 7C F7timestamp 62166000 us: Sysex message: F0 00 00 7E 40 00 0E 01 46 F7timestamp 62292000 us: Sysex message: F0 00 00 7E 40 00 0E 01 43 F7timestamp 62396000 us: [FF] System Resettimestamp 62395000 us: Sysex message: F0 00 00 40 00 0E 01 6A F7Before doing some changes on the board, I remember that I was able to upload apps without any problem. Best regards, Xavi. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 So, if it has worked before, there is a high chance to detect the problem by going through the MIDI troubleshooting list:http://www.ucapps.de/howto_debug_midi.htmlWhich tests are working, which not?Best Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 I've noticed that I don't have any jumpers on the programming port. I remember to troubleshoot the MIDI before I left the project, and then I was able to upload MIOS and so. Do I need the jumpers on the programming port ? When I try to upload using : Don't use feedback from core, first I get the error messages, but after 3 errors It continue uploading and then it finish right. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Of course, the jumpers at the programming port should always be closed. They are only for programming via JDM or MBHP_BURNERWithout these jumpers, your core will be powered from the MIDI connection, and this cannot work reliableSo, is the upload working again with the jumpers?Best Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 I measured voltages at the core with mbhp_core_extract and everything is ok too. MIDI jack polarity, port connections are done too. Ground measurement is done. Everything seems to be fine, I even tryed to do the LED test on the midi out jack and it works fine. My core module does not have any programming port ! Maybe I have a newer version ? Thanks T. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Could you please try the complete test? (e.g. io loopbacks...)Best Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 New error message, different from the common :Starting upload of mios_v1_8.hexSending block 00000000-000000FFReceived error code 01: Less bytes than expected have been receivedSending block 00000000-000000FFReceived error code 01: Less bytes than expected have been receivedSending block 00000000-000000FFReceived error code 01: Less bytes than expected have been receivedSending block 00000000-000000FFReceived error code 04: Write failed (verify error or invalid address)Aborting after 3 errors Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Is your core running with bootloader v1.1b or v1.2?Did you already update to Bootloader V1.2, MIOS V1.9, MBSID V1.7303?(Please don't do it immediately, I only want to know, if you did this before, and that you are now trying to upload an incompatible version)Best Regards, Thorsten. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 And again: please try the io loopback tests! They are important, no additional answer before you've checked the MIDI connections in this way - it's just too time consumingBest Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 Let's see : I can't test the loopback because I just can't upload any app to the pic. I tested to play notes but nothing comes out of the midiboxsid. Otherways I have a single response from MIOS when I plug it. Versions : Bootloader from Smash TV on summer last year, MIOS V.1.8 and MIDIboxSID V1.7a.Thanks and sorry for being a little ansious. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Please search for "mbhp_core_extract_io_loopback.gif" and read the description around this link at http://www.ucapps.de/howto_debug_midi.htmlYou don't need to upload any application in order to make this testThere are a lot of additional tests as well, where you don't need the PIC - they are very important to check if your core module is still working, and they give us important hints what could be wrong.Best Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 I did make the bridge between Rx and Tx and I get no response in monitor input. Quote
TK. Posted June 10, 2006 Report Posted June 10, 2006 Ok, so now you know that it is not the PIC, and now you can just try the other tests at this page like suggested five mails agoBest Regards, Thorsten. Quote
dcreatorx Posted June 10, 2006 Author Report Posted June 10, 2006 Hi again . . . just to remember . . I see here on the core board that I removed the IC3, I don't remember exactly why. Is it right ? Best regards. Quote
stryd_one Posted June 10, 2006 Report Posted June 10, 2006 IC3 7805 A voltage regulator which regulates the incoming voltage to clean 5V independent from the current load and temperature. It allows over 1.0A load current if adequate heat sinking is provided, without heater up to 500mA are ok. That'd be your problem... Quote
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.