Page 2 of 2

Re: Pickit 2 and Flowcode 5

Posted: Mon Feb 11, 2019 5:49 pm
by medelec35
Hi John,
There is nothing within your flowchart I can look at that will help.
Reason being we need to deal with programmer settings.
As you have started form fresh, I'm assuming the programmer settings are pointing to

Code: Select all

 C:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe
.
So it's looking for EB006 which you don't have.

What programmer have you got connected?
My advice is to make sure you can manually import hex file and program target device before setting up Flowcode to send directly to hex

What are your programmer settings?

Re: Pickit 2 and Flowcode 5

Posted: Mon Feb 11, 2019 11:07 pm
by JDR04
Hi Martin, I think Ill wait for the mikroprog to arrive (now tuesday) and then start again .What do you think?

Re: Pickit 2 and Flowcode 5

Posted: Mon Feb 11, 2019 11:10 pm
by medelec35
Nothing wrong with have both, so you have a backup.
It's your call.

Re: Pickit 2 and Flowcode 5

Posted: Wed Feb 13, 2019 9:27 pm
by JDR04
Ok, got mikroprog connected.Would you be kind enough to have a look at the settings for me and point out where i went wrong please.I have not made any changes to the program itself.

Thanks for your help again. John

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 14, 2019 7:53 am
by medelec35
Hi John,
You do not have to change the configuration settings withing mikroProg Suite.
They will automatically transfer from Flowcode.
The only thing your fcf file will show me is the osc speed and configuration settings.
It will not show your compiler setting as that is personal to your setup and is stored within the registry.
To get you going for now, looking at PIC12F683 datasheet the default internal osc speed is 4MHz.
So change the 20000000 to 4000000.
Since the new programmer supports command line options, then you can load the attached file within Flowcode.
To do that goto Build, Compiler options.
Select Programmer tab
Select Import then load attached file.
Enter a name e.g mikroProg where you see <current>, then save.
If Flowcode reports can't find your programmer then on the Location part of programmer tab, Select Browse and manually select mikroProg Suite For PIC.exe file.

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 14, 2019 12:43 pm
by JDR04
Hi Martin, I'm up and running. Thanks so very much for your patience and help on this. Take care....John

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 14, 2019 1:00 pm
by medelec35
Hi John,
You're welcome.
Glad you are up and running.
Thanks for letting me know.