workspace Posted July 4, 2016 Report Posted July 4, 2016 (edited) Yes, the PICs are programmed with: ./pk2cmd -P -F project.hex -J0 -M But I use 33pF caps instead of 15pF ( I ordered the wrong ones because the part list reads: Ceramic capacitor "33"). I think this should be OK since the Load Capacitance of my quartz is 18pF. Am I wrong? Anything else I could have missed? Any debugging steps? Thanks a lot Michael Edited July 6, 2016 by workspace Quote
TK. Posted July 4, 2016 Report Posted July 4, 2016 Hi Michael, caps should be ok, but I can't say if the pk2cmd will program the PIC correctly. Very important hint: don't forget to add the 10 uF cap between 5V and ground, otherwise the PIC won't boot. Only additional debugging help: the green power LED should turn on, otherwise the firmware isn't running... Best Regards, Thorsten. Quote
workspace Posted July 4, 2016 Author Report Posted July 4, 2016 I use SmashTVs quad_iic board, the 10uF cap are there, but not green LED. For now I think the problem is the pk2cmd software. I'll have to install a virtualbox for the gui / windows version. Quote
latigid on Posted July 4, 2016 Report Posted July 4, 2016 How did you diagnose that it was "not working?" I.e. really no good MIDI transfer? (Are the tracks assigned properly?) Are the interconnections verified? Do the status LEDs light up? Clock data should be set on starting a sequence, so this is visible as continuously lit. Quote
workspace Posted July 4, 2016 Author Report Posted July 4, 2016 I used the IIC_MIDI Test V1.002 application. the scan command lists for IIC1-4"not available". I haven't soldered the red (status?) LEDs yet. Quote
TK. Posted July 4, 2016 Report Posted July 4, 2016 You could temporary connect a LED via 220 Ohm resistor between 5V and pin #6 as shown in the schematic: http://www.ucapps.de/mbhp/mbhp_iic_midi.pdf If it lights up, you know that the firmware is basically running. Best Regards, Thorsten. Quote
latigid on Posted July 4, 2016 Report Posted July 4, 2016 Stupid question: you're using the 4 pin SIL header to send the data right? Not the 2*5 DIL used for BLM 16*16+X? Quote
workspace Posted July 5, 2016 Author Report Posted July 5, 2016 i checked pin 6. the firmware is not running. when i read the memory of the pic i get just get FF00s. i also tried programming with different voltages. same result. so i guess programming is not that straight forward with the pk2cmd software. i have the diamex programmer. i think i have to install windows for the gui version... Quote
workspace Posted July 6, 2016 Author Report Posted July 6, 2016 (edited) programming under windows with the gui version worked perfectly. now everything is running. if i find the time i will investigate into the command line options for pk2cmd. i think programming should also possible with this software. thanks everybody for the support. Edited July 6, 2016 by workspace Quote
flyweight Posted August 22, 2016 Report Posted August 22, 2016 Did you ever manage to flash with pk2cmd ? I bought an picket 2 clone and also tried flashing in debian but no good results. Anyhow many usefull hints here which might help.. Cheers Tim Quote
workspace Posted August 22, 2016 Author Report Posted August 22, 2016 no. but it's still on my todo list. i'll post the command line if i work out. michael 1 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.