Flowcode5 & PICkit2 issue?
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Flowcode5 & PICkit2 issue?
Hi Folks, 2 weeks ago I didnt know what a Microcontroller was. Thanks to Flowcode5 I having some fun and learning slowly.
When trying to program my chip I get the "No cable connected" and also "Device not recognised". I'm using a PICkit 2 programmer connected to the Low Pin Count board. I have the software for PICkit 2 device installed but no Mplab etc.
When I check "communication" with the PICkit2 software everything seems OK as the pic is detected etc. Im using the 16F690.
Please remember I am a complete newbie at this so simple instructions will be greatly appreciated.
Thanks a lot - JDR06
When trying to program my chip I get the "No cable connected" and also "Device not recognised". I'm using a PICkit 2 programmer connected to the Low Pin Count board. I have the software for PICkit 2 device installed but no Mplab etc.
When I check "communication" with the PICkit2 software everything seems OK as the pic is detected etc. Im using the 16F690.
Please remember I am a complete newbie at this so simple instructions will be greatly appreciated.
Thanks a lot - JDR06
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi
Welcome to microcontroller world!
You can go through a free course (Introduction to Microcontrollers) in Matrix Multimedia website to be more familiar and have more fun
http://www.matrixmultimedia.com/lc_index.php?p=24
BTW, if you are using Flowcode v5 License version you can upgrade your status in the following link..
http://www.matrixmultimedia.com/forum_upgrades.php
For PICKIT2 issue, please have a look at the following link first and let us know whether that sorted your issue or not..
http://www.matrixmultimedia.com/support ... kit2#p1433
Welcome to microcontroller world!
You can go through a free course (Introduction to Microcontrollers) in Matrix Multimedia website to be more familiar and have more fun
http://www.matrixmultimedia.com/lc_index.php?p=24
BTW, if you are using Flowcode v5 License version you can upgrade your status in the following link..
http://www.matrixmultimedia.com/forum_upgrades.php
For PICKIT2 issue, please have a look at the following link first and let us know whether that sorted your issue or not..
http://www.matrixmultimedia.com/support ... kit2#p1433
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
HI JDR04
Can you please sign up to the V5 forums follow the link in my sig, that way people can see what version of flowcode you use and you will get help a bit quicker
Regards
Dazz
Can you please sign up to the V5 forums follow the link in my sig, that way people can see what version of flowcode you use and you will get help a bit quicker
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Thanks Enamul, it appears to have worked.
However, when I simulate the circuit it does not simulate it on the low pin count board.ie the leds do not flash as per the program.
Its just a simple program to flash two LEDs on and off. Thanks again -JDR04
However, when I simulate the circuit it does not simulate it on the low pin count board.ie the leds do not flash as per the program.
Its just a simple program to flash two LEDs on and off. Thanks again -JDR04
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi
Can you please post the program so that I can have a look whether the config is OK or not?
Can you please post the program so that I can have a look whether the config is OK or not?
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi, can you tell me which file I must attach. Ive got files ending in the following extensions; .asm .c .casm .cof .fcf .hex .Ist .map .msg .obj .stat .tree
I have not a clue what they mean or the one you need. Thanks again for your time. JDR04
I have not a clue what they mean or the one you need. Thanks again for your time. JDR04
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
You have to post file ending with .fcf as this is the main flowcode file. Rest are generated in compile process
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Thanks Enamul, here goes..................
Seems to be a problem, I get a message saying "The extension 001 is not allowed"? The 001 is after the file extension and for some reason I cannot edit it out.
It wont let me manually type in the file name either??
Seems to be a problem, I get a message saying "The extension 001 is not allowed"? The 001 is after the file extension and for some reason I cannot edit it out.
It wont let me manually type in the file name either??
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
The default settings on you PC you would have got 'hide extensions of known type.'
Which means the file Enamul is asking you to post would be the name with no extension (since it will be hidden)
So you could try uploading that file.
The file ending in 001 is just a backup of your main flowchart file.
You can unhide known extension.
With my windows 7, I click on windows icon, then select Computer.
Select Organise drop-down and select Folder and search options.
In folder options select View tab, then only untick Hide extesions of known type
Reason it won't let you rename file with out 001 extension is becauuse you already have a file that is .fcf but as stated earlier the .fcf is hidden.
Martin
Which means the file Enamul is asking you to post would be the name with no extension (since it will be hidden)
So you could try uploading that file.
The file ending in 001 is just a backup of your main flowchart file.
You can unhide known extension.
With my windows 7, I click on windows icon, then select Computer.
Select Organise drop-down and select Folder and search options.
In folder options select View tab, then only untick Hide extesions of known type
Reason it won't let you rename file with out 001 extension is becauuse you already have a file that is .fcf but as stated earlier the .fcf is hidden.
Martin
Martin
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Thanks Martin, I think I have found the file you talk about so I'll try and upload it now for Enamul to look out. Maybe you can as well and see where I have gone wrong, its gotta be me being new at this etc.
Anyway, thnaks for your time guys I'll try and upload the file now....
Anyway, thnaks for your time guys I'll try and upload the file now....
- Attachments
-
- 2LED TEST.fcf
- (7 KiB) Downloaded 234 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Configuration wasn't right. I have corrected for 4MHz external clock
- Attachments
-
- 2LED TEST.fcf
- (7 KiB) Downloaded 187 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi JDR04,
Your welcome.
Since using low count demo board, I,m assuming internal osc is required.
What you need to do is make sure link JP5 is in place.
Attached is flowchart which will hopefully work for the demo board?
Internal osc is running at the default 4MHz.
It can run at 8MHz with one line of C code at the start.
Let me know if you want me to double internal osc speed or not.
Links Enamul gave are a great place to start.
I have also posted this:
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
It may also help?
Martin
Your welcome.
Since using low count demo board, I,m assuming internal osc is required.
What you need to do is make sure link JP5 is in place.
Attached is flowchart which will hopefully work for the demo board?
Internal osc is running at the default 4MHz.
It can run at 8MHz with one line of C code at the start.
Let me know if you want me to double internal osc speed or not.
Links Enamul gave are a great place to start.
I have also posted this:
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
It may also help?
Martin
- Attachments
-
- 2LED TEST int osc.fcf
- (7 KiB) Downloaded 183 times
Martin
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi Martin, thanks for the help. I tried opening the file but Adobe says its not a supported file or the file is damaged?? Also, what do I do with the file, do I copy and paste it into where I got it from and then delete the original file???
Am I correct in saying that I must bridge the link JP5 for it to work? - Thanks again for your time - JDR04
Am I correct in saying that I must bridge the link JP5 for it to work? - Thanks again for your time - JDR04
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
I am not quite clear. Why you have tried to open it in Adobe? It should be opened by Flowcodev5I tried opening the file but Adobe says its not a supported file or the file is damaged??
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Your welcome
So JP5 connects MCLR to a 10K pull-up resistor. If MCLR is left not connected or at logic 0, then microcontroller will be in a permanent reset state so will not run.
Also JP5 enables your variable resistor to be use, since it applies 5V power to it
As for adobe tying to open .fcf file:
I'm as puzzled as Enamul why its trying to open adobe.
Best thing to do is right click on your .fcf file. select open with.
Select Choose Default program.
Select 'Always use the selected program to open this file'
Then select Flowcode V5
Finally select OK.
Yes, because MCLR (MasterCLeaR) is enabled in configuration settings which means tis pin has to be pull high.JDR04 wrote: Am I correct in saying that I must bridge the link JP5 for it to work?
So JP5 connects MCLR to a 10K pull-up resistor. If MCLR is left not connected or at logic 0, then microcontroller will be in a permanent reset state so will not run.
Also JP5 enables your variable resistor to be use, since it applies 5V power to it
As for adobe tying to open .fcf file:
I'm as puzzled as Enamul why its trying to open adobe.
Best thing to do is right click on your .fcf file. select open with.
Select Choose Default program.
Select 'Always use the selected program to open this file'
Then select Flowcode V5
Finally select OK.
Martin
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Thanks guys, I appreciate your time and patience. I'll have ti try all this tomorrow and will keep you updated.
Thanks again - John
Thanks again - John
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Your welcome John,
Hope things go well for you tomorrow.
Martin
Hope things go well for you tomorrow.
Martin
Martin
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Sorry guys, tried opening the attachment by right clicking and then looking for "open file with" and there is no such option. What do I do now??
Thanks guys - John
Thanks guys - John
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
I meant to say I'm using WINDOWS VISTA 32 bit if that is of any help.
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
OK, I found a way through the ADOBE message to select a program to open the file. I've gone as far as using FLOWCODE and then another windows opens with a V5 file in it.
When I click on it, I'm given a further 7 files to click on?? Whick one????
Autodoc
CAL
Components
FCD
GFX
Help
Tools
Can I use one of these?? Hope it helps a bit - John
When I click on it, I'm given a further 7 files to click on?? Whick one????
Autodoc
CAL
Components
FCD
GFX
Help
Tools
Can I use one of these?? Hope it helps a bit - John
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi John,
Perhaps your best bet is click windows key then Computer.
Click near the top Uninstall or change a program.
Select Flowcode V5.
Repair will appear. Select Repair.
That should reinstall Flowcode V5, so program associations for Flowcode should then be fixed.
Then when you click on Flowcode application or a flowchart file, then Flowcode should load as normal.
You should not need to re-enter your key.
Martin
Perhaps your best bet is click windows key then Computer.
Click near the top Uninstall or change a program.
Select Flowcode V5.
Repair will appear. Select Repair.
That should reinstall Flowcode V5, so program associations for Flowcode should then be fixed.
Then when you click on Flowcode application or a flowchart file, then Flowcode should load as normal.
You should not need to re-enter your key.
Martin
Martin
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi Martin, I did the repair thing on flowcode file but its made no difference. When I double click your attachment it still automatically reverts to Adobe.
Could I ask you this, is this the sort of problem I will encounter everytime I use Flowcode with PICkit2 or is it a case of setting up?
Could I ask you this, is this the sort of problem I will encounter everytime I use Flowcode with PICkit2 or is it a case of setting up?
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
Hi
Windows 8 did the same thing.
try this link for vista http://www.mydigitallife.info/how-to-ed ... ows-vista/
there's several ways to do it on that page. Just make sure when you change to flowcode you make sure its set to default
If you still have trouble, uninstal adobe reader , click on the fcf file to open it and choose flowcode, then reinstall adobe
Regards
Dazz
Windows 8 did the same thing.
try this link for vista http://www.mydigitallife.info/how-to-ed ... ows-vista/
there's several ways to do it on that page. Just make sure when you change to flowcode you make sure its set to default
If you still have trouble, uninstal adobe reader , click on the fcf file to open it and choose flowcode, then reinstall adobe
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Flowcode5 & PICkit2 issue?
You are the only person I have heard of that has this issue.
I just thought of one other thing.
Can you right click on the file I sent and select properties at the bottom.
Your see this: Click on Change.
Browse to Flowcode in:
C:\Program Files\Flowcode\v5
Click on to
Flowcode5_PIC.exe
or if you just see
Flowcode5_PIC
Click on that.
make sure the correct Flowcode icon is shown (as ringed)
Now you have two methods all could be sorted?
Martin
I just thought of one other thing.
Can you right click on the file I sent and select properties at the bottom.
Your see this: Click on Change.
Browse to Flowcode in:
C:\Program Files\Flowcode\v5
Click on to
Flowcode5_PIC.exe
or if you just see
Flowcode5_PIC
Click on that.
make sure the correct Flowcode icon is shown (as ringed)
Now you have two methods all could be sorted?
Martin
Martin