Search found 7 matches

Return

by medelec35
Wed Sep 11, 2013 11:47 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

Just to confirm no leds light up? Have you checked that 5V is being supplied to your board? Is the 10MHz crystal fitted to the demo board like it shows on the schematic? The only other thing I can think of is to use the internal oscillator. Is have done that in the attached flowchart. Edit I know wh...
by medelec35
Wed Sep 11, 2013 10:45 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

Hi this should be your configuration settings:
Config settings1.png



Sorry if I confused you a bit I was only showing what the c code shown your setting was set to.
by medelec35
Wed Sep 11, 2013 9:51 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

Hi whayden1, I have corrected flowchart for you. Your flowchart looked like it was not set the same as in the 1st C code you posted. For example watchdog timer and low voltage programming was set to enabled but they both should be disabled. Since clock is greater than 4MHz osc should be set to HS. E...
by medelec35
Wed Sep 11, 2013 8:28 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

Hi whayden1, It looks like the issue is with your configuration settings. You will need to select 'Build','Project Options. Click on Configure chip... Select option for Master Clear Enable and change MCLR is external to RE3 is a digital input. with a lot of microcontrollers (16F887 included) if set ...
by medelec35
Thu Sep 12, 2013 7:38 am
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

Hi whayden1, Since you have no external crystal then you can't use HS (High Speed clock) It has to be internal oscillator or External RC of you have a correct external components (Resistor and capacitor) connected. I would not recommend the latter. I believe you can keep the power supplied to target...
by medelec35
Thu Sep 12, 2013 11:43 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

I truly appreciate you taking the time to help this noob out. Your welcome. We have all been there. When your ready to learn some more the Learning centre is a great place to visit: http://www.matrixmultimedia.com/lc_index.php?p=24 There is a free online course for learning about Flowocde. Most imp...
by medelec35
Sun Sep 15, 2013 1:08 pm
Jump to forum
Jump to topic

Re: PICkit 2 w/ Flowcode V5 - Prog does not execute on chip

LED's 0-3 on PortD flashing at one rate and style and LED's 4-5 on PortD flashing at a different rate/style? I I have done that in the attached Flowochart. I have used the timer interrupt to do the timing of the flashing. Since all the routine is within timer0 interrupt macro. As a rough guide on h...