FJMSoft Posted December 5, 2008 Report Share Posted December 5, 2008 Hello, I'm building a midibox64... I'm having some trouble it DINx4 module, looks like it is receiving all buttons in the first port (I think it is snapshot), so when I close this port it makes many things in the interface like opening menus, left, right... I already verified all the board, removed and changed all CI's, removed all and leaved just the first one... nothing solves... also mounted just one CI in a breadboard, made the connections and it works normal... I think is something about the clock, but cant find any problem in the board... please someone help me.Thanks. Quote Link to comment Share on other sites More sharing options...
tongenerator Posted December 6, 2008 Report Share Posted December 6, 2008 as far as i understand your explaination... any digital inputs exept of thoes ones connectet to the first modulare not getting recognised ???hmmmm, have you tried to messure volatage on the other din modules? mybe you could try to connect every modul singlewise and check to work out which of your din moduls might be faulty. Quote Link to comment Share on other sites More sharing options...
nILS Posted December 6, 2008 Report Share Posted December 6, 2008 What do you mean by "port"? The first shift register or the first DINx4 module? Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 12, 2008 Author Report Share Posted December 12, 2008 no no... port I mean ONE button input... same as 1 input pin of the shift register... when I put a button in the first button input of the first shiftregister it takes as ALL buttons were pressed... and all other buttons dont work Quote Link to comment Share on other sites More sharing options...
stryd_one Posted December 13, 2008 Report Share Posted December 13, 2008 You've made (a) short(s). Could be in a few places... Get our your multimeter and make sure it matches the schematic :)You might like to try some test apps after that like SRIO test and ain64_din128_dout128... Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 17, 2008 Author Report Share Posted December 17, 2008 I cant find any short, and looks to be exact to schematics...I forgot the bottom jumper, then soldered it, worked for some time then stoped to work again... also made a new board and problem persists, I dont know what more to do, I'm near to give up :(PS: DINX4 without the bottom capacitor can make this problem? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted December 18, 2008 Report Share Posted December 18, 2008 DINX4 without the bottom capacitor can make this problem?Possibly. Try the test apps when you put that cap on. Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 18, 2008 Author Report Share Posted December 18, 2008 Cap dont solves... also CI in protoboard dont works anymore, can my PIC be bad?How to install SRIO and ain64_din128... ?ThanksPS: When I touch the latch and clock lines with my finger it send some commands, a bit crazy, but sends... some idea? Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 18, 2008 Author Report Share Posted December 18, 2008 hey Stryd_one... I think I found something... I installed SRIO and sent modulation from 0 to 3, SC and SO changes its states, but RC is always 0v... I give a look for short circuit in RC, but none, also, RC is a very free track, hard to make a short in there... please help me Quote Link to comment Share on other sites More sharing options...
stryd_one Posted December 19, 2008 Report Share Posted December 19, 2008 Good work man... Try removing the DIN boards, so it's just the core, nothing else, and testing the pin on the PIC (Pin 21), and then moving out from there... It's not really a short track at all, it goes all the way around J10, not to mention the cable and the DIN modules... And it's pretty common to short it on the socket, or even to have overheated the socket and caused the pin to be loose so there's no connection.Good luck! Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 19, 2008 Author Report Share Posted December 19, 2008 Yes... is that what I made... removed everything, just core, supply and midi, and tested directly to PIC pin 21, not even the socket... probe directly on its pin, and other on ground... then cycled the modulation 0,1,2,3:RD0, pin19, SO = Changes 0v-5vRD3, pin22, SC = Changes 0v-5VRD2, pin21, RC = always 0vAnd pin21 track is very free track, it just goes from pin 21 to J8/J9, like 1 centimeter of track (on core board)What do you think?Thanks again. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted December 19, 2008 Report Share Posted December 19, 2008 Sorry, I assumed it was a SmashTV core for some reason :-[Are you using midi-ox for the modwheel messages? There's a bug in mios studio...It's possible that you've somehow fried that pin. It's also possible that the line is shorted somewhere and pulling it low. Actually maybe even both. There's a quick and annoying way to find out. Grab your meter, and put it on a continuity test. A beeper is good if you've got one, but not a must. Stick a thin wire in the pic socket and alligator clip the meter to it, so you can filp the board over. Then just touch each pin on the board. Because nothing else should be connected to it, you shouldn't measure continuity with any other traces. If it beeps, you've got a short. If not, you might like to try burning the PIC again, re-upping MIOS and your app, and perhaps trying another PIc if you have one. Sounds tedious, but it'll only take like 20 minutes :) Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted December 19, 2008 Author Report Share Posted December 19, 2008 My board is same as in picture of core module page.Yes, midi-ox... I tried mios studio but I noticed it dont sends modwheel=2I didnt understood the meter method you said, but I got a beeper, and tested the pin21 with all neighbors pins and tracks, there arent so much, so was easy, no short circuit foundI will try reburn the pic, is the only thing I not did yet... already re-uped mios and midibox64 but didnt solve.Try another PIC is what I want very much, but isnt possible, I cant find in my city, I bought this one from another state over internet, I will try to change it if dont works after reburning, but will take some weeks.Thanks for all help, if you think some more things to help me please post.PS: Sorry for my english, I'm not very good with it yet. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted December 19, 2008 Report Share Posted December 19, 2008 Seems to me that your english and your troubleshooting are quite effective ;)Good luck! Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted January 6, 2009 Author Report Share Posted January 6, 2009 Hi again Stryd... I burned and burned again the pic and nothing, I will be trying to change it soon as possible, I think it need to be the PIC! Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted April 7, 2009 Author Report Share Posted April 7, 2009 Hey Stryd!I tried to change the defective PIC, but the seller said it could not change, so I had to buy another one.It worked! Was the PIC.Now, I was wondering, the defective PIC has just one bad pin, is possible / how hard could be to use another pin for the DIN?Thanks for all help! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 8, 2009 Report Share Posted April 8, 2009 Great news :) You could probably compile a special version of MIOS just for that chip, and change the define to use a different pin which is otherwise unused... Would be a bit of a hack though. Quote Link to comment Share on other sites More sharing options...
FJMSoft Posted April 19, 2009 Author Report Share Posted April 19, 2009 Stryd, can you give me some instructions, like what I need, what to do, so I can make this?Thanks. Quote Link to comment Share on other sites More sharing options...
philetaylor Posted April 19, 2009 Report Share Posted April 19, 2009 Hi. Firstly you need to download the MIOS source and the toolchain (look in the wiki for instructions for this).Then you need to change the faulty pin in mios_srio.inc and reassemble it. Personally I would recommend against this, as s1 said, it is a bit of a hack ;; pins of SRIO shift registers MIOS_SRIO_LAT_SCLK EQU LATD ; Pin D.3 MIOS_SRIO_PIN_SCLK EQU 3 MIOS_SRIO_LAT_RCLK EQU LATD ; Pin D.2 MIOS_SRIO_PIN_RCLK EQU 2 MIOS_SRIO_PORT_DIN EQU PORTD ; Pin D.1 MIOS_SRIO_PIN_DIN EQU 1 MIOS_SRIO_LAT_DOUT EQU LATD ; Pin D.0 MIOS_SRIO_PIN_DOUT EQU 0 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.