Rave Posted December 10, 2014 Report Share Posted December 10, 2014 (edited) Hello all, I have recently completed a Sammich that has been sitting on a friends shelf for the last 4 years! I will explain what has happened so far to try and give a clear picture. The build went really well apart from a lifted pad which was repaired (this only affected the low power LCD backlight) and is now working. Everything electrical checks out, all test points are clear and there are no shorts, the correct jumpers are set for the 8508 SID's, the voltage jumpers are correct also. Basically the Sammich turns on and the LCD shows some black squares, then tells me: MIOS v1.9g ©2009 T Klose, and then goes on to say READY. I have an M-Audio 2x2 midisport usb interface, I have downloaded the latest MIOS Studio software (PC and Mac), and the latest setup_sammich_sid.hex, and the mios_v1_9g_pic18f4685.hex My problem is that no matter what i do, it doesn't seem to want to let me upload the hex file to the PIC/Sammich. when I first power on the sammich, if i press query in the mios studio immediately, i get the screen telling me its connected to the core and ready, and then i browse for the setup_sammich_sid.hex and hit start, and then it tells me it can't contact the core and to reboot the sammich, which i do, it tries to do it then it says it can't it and gives me an error saying: Upload aborted due to error #12: MIDI IN Frame ErrorNo response from core after 16 retries! It only ever seems to give me the connected to core message immediately after I power it on, and press query, and then only very briefly, from what i understand, it is supposed to keep polling every few seconds for an upload if it doesn't have mios/hex burnt in. I have tried doing this under windows 7 64bit, and OS X 10.10, using the same M-Audio 2x2 ( isee from the white/blacklist that this particular device may not work under OS X, hence why I'm trying under windows 7. I have looked at the troubleshooting guide, and done the midi loopback tests from the PC and the sammich, and the check out fine. I think i either have a duff midi interface, or something else is wrong. I will post some screenshots incase anyone else can help by looking at them, any help is greatly appreciated. [EDIT] I have now tried to upload the file from another 2 different types of midi interface on the Mac, but still have the same error in mios studio. [EDIT] I have just purchased a Neusonik uMIDI/O22 to test with, once it arrives i will give it a go and see if it makes any difference. Edited December 10, 2014 by Rave Quote Link to comment Share on other sites More sharing options...
TK. Posted December 10, 2014 Report Share Posted December 10, 2014 Hi, this behaviour indicates a bad MIDI interface (as you've already noticed). SysEx strings sent by the PIC are correctly received, but the PIC doesn't receive well shaped MIDI messages. This could also be related to a problem with the MIDI cable. Is TEST MIDI2 passing at your side? However, the Neusonik interface is really worth the money. Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Rave Posted December 10, 2014 Author Report Share Posted December 10, 2014 Hello Thorsten, Many thanks for your swift reply. I am currently away from home and the sammich, but I do believe I performed the suggested test and it came back OK. I am sure it probably is the midisport controller at fault, as one of the others I tried was a variation of the same model. Once I receive the new cable I will try again and report back here with the result. (which I hope is positive) :) Many thanks, Kai. Quote Link to comment Share on other sites More sharing options...
Rave Posted January 5, 2015 Author Report Share Posted January 5, 2015 Small update: Hello, I have been unable to Source a nuesonic midi cable as suggested, all suppliers are out of stock in all places I have checked. I bought a cheap no brand cable off ebay but unfortunately this didn't seem to work with the firmware flashing either under Windows 7 or 8. Is there another recommended cheapish cable I should get to try, or would someone be able to lend me one to test with? Alternatively is there anyone in the UK that I could send the sammich too to get it up and running? Thanks, Kai. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 5, 2015 Report Share Posted January 5, 2015 Hi Kai, this is the white list: http://www.midibox.org/dokuwiki/doku.php?id=midi_interface_whitelist There are many MIDIbox users in the UK who could help, but I fear that they won't read this posting. I would recommend to create a new posting with a meaningful topic Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Rave Posted January 7, 2015 Author Report Share Posted January 7, 2015 Hi Thorsten, Thanks for the info, I have opened a new thread. Quote Link to comment Share on other sites More sharing options...
Rowan Posted January 8, 2015 Report Share Posted January 8, 2015 I've offered my services to help Rave fix this issue. I received the sammichSID today and have experienced the exact same issue as Rave with two different MIDI interfaces that I know work. I went through the trouble shooting guide which made me think is was a problem with the soldering/components rather than the interface. I opened the unit up and check all the components in the MIDI I/O and found that R5 was 82k rather than 5.6k as per the MBHP Core 8 schematic. R5 connects pin 7 of the 6N138 to ground. I guess this would effect the MIDI in working correctly, thereby causing the upload problem. Could this be the cause of the problem? Quote Link to comment Share on other sites More sharing options...
kpete Posted January 9, 2015 Report Share Posted January 9, 2015 It could be your problem. The specification indicates that putting a resistor to pin 7 decreases delay time and gain. This essentially makes the part faster. Change it. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 9, 2015 Report Share Posted January 9, 2015 Yes, this could be the problem. You could solder a 5.6k (or 4.7k) resistor in parallel to the 82k - the resulting resistance is still in an acceptable range. Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Rowan Posted January 10, 2015 Report Share Posted January 10, 2015 I've replaced R5 with a 5.6k resistor but still no luck. When I query the Core with MIOS studio I am getting the following response f0 00 00 7e 40 00 0e 0c 00 f7 What does this sysex string indicate? Quote Link to comment Share on other sites More sharing options...
TK. Posted January 10, 2015 Report Share Posted January 10, 2015 From the documentation: The Error Codes (0E) ~~~~~~~~~~~~~~~~~~~~ Structure: F0 00 00 7E 40 <device-id> 0E <error code> <additional information> F7 <device-id>: the MIOS device ID from 00 to 7F <error code>: see below <additional information>: for internal use, ignore it Error Code | Description -----------+--------------------------------------------------------------- 0x01 | Less bytes than expected have been received 0x02 | More bytes than expected have been received 0x03 | Checksum mismatch 0x04 | Write failed (verify error or invalid address) 0x05 | Write access failed (invalid address range) - | used by 1st level bsl 0x06 | MIDI Time Out 0x07 | Wrong Debug Command 0x08 | 2nd level bsl: Read/Write command tried to access an invalid | address range 0x09 | 2nd level bsl: Read/Write address not correctly aligned 0x0a | BankStick not available 0x0b | MIDI IN Overrun (CPU load too high) 0x0c | MIDI IN Frame Error (Bad signal/Optocoupler) You got 0xc -> bad signal or optocoupler. If the resistor values are ok now, try another 6N138 Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Rave Posted January 11, 2015 Author Report Share Posted January 11, 2015 Hi Thorsten, Would this be a suitable replacement part: http://uk.mouser.com/Search/m_ProductDetail.aspx?Vishay%2f6N138%2f&qs=IOh0O5QtZ922Jk5VFSbX4w%3d%3d&gclid=Cj0KEQiAuMOlBRDf6_izz93n-pEBEiQAsJCJWnYtGhMq7JjDjV3XbSyIL7N3N1_cB8Cr8HXZQ3bbktQaAoRI8P8HAQ Thanks, Kai. Quote Link to comment Share on other sites More sharing options...
Rowan Posted January 11, 2015 Report Share Posted January 11, 2015 Hi Thorsten, Would this be a suitable replacement part: http://uk.mouser.com/Search/m_ProductDetail.aspx?Vishay/6N138/&qs=IOh0O5QtZ922Jk5VFSbX4w==&gclid=Cj0KEQiAuMOlBRDf6_izz93n-pEBEiQAsJCJWnYtGhMq7JjDjV3XbSyIL7N3N1_cB8Cr8HXZQ3bbktQaAoRI8P8HAQ'>http://uk.mouser.com/Search/m_ProductDetail.aspx?Vishay/6N138/&qs=IOh0O5QtZ922Jk5VFSbX4w==&gclid=Cj0KEQiAuMOlBRDf6_izz93n-pEBEiQAsJCJWnYtGhMq7JjDjV3XbSyIL7N3N1_cB8Cr8HXZQ3bbktQaAoRI8P8HAQ Thanks, Kai. Unless you will be spending £50 with mouser you will have to pay £12 shipping! This might be a better/cheaper option. http://www.ebay.co.uk/itm/400687652123 Quote Link to comment Share on other sites More sharing options...
Rave Posted January 11, 2015 Author Report Share Posted January 11, 2015 Wow! I guess they only want bulk orders. Thanks for the link, I'll grab a couple now. ☺ Quote Link to comment Share on other sites More sharing options...
Rowan Posted January 11, 2015 Report Share Posted January 11, 2015 (edited) Problem Soleved! I have replaced the 6N138 and it's working. Happy Days! Edited January 11, 2015 by Rowan Quote Link to comment Share on other sites More sharing options...
Rave Posted January 11, 2015 Author Report Share Posted January 11, 2015 You sir are a legend! And I've just managed to source a nuesonik midi cable, happy days indeed :-D Quote Link to comment Share on other sites More sharing options...
Rowan Posted January 11, 2015 Report Share Posted January 11, 2015 (edited) I've updated MIOS to V1.9h, Intalled the sammichSID app and loaded all the patches. I'll send it back without the optocoupler as I had to "borrow" one from my MB SEQ to check it was the problem. You'll still need to source and install an 6N138 optocoupler. The backlight circuit isn't working properly either but I haven't/won't look into why it's not working as I don't have the time right now. Enjoy! Edited January 11, 2015 by Rowan Quote Link to comment Share on other sites More sharing options...
Rave Posted January 11, 2015 Author Report Share Posted January 11, 2015 (edited) Thank you so much Rowan :smile: I look forward to getting it back and finally being able to try it after about 4/5 years of being parts! And thanks to Thorsten and KPete for the help with diagnosis, what a fantastic community :D Edited January 11, 2015 by Rave Quote Link to comment Share on other sites More sharing options...
TK. Posted January 11, 2015 Report Share Posted January 11, 2015 :thumbsup: 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.