External Int Input 12F615
Moderator: Benj
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
External Int Input 12F615
Hi all.
In the small test program I want to use the external Int Input (pin5) to turn on/off a Led(Start/Stop function).
But the simulation (FCV5) does not function.
Whats wrong ?
Thanks for Help.
Steff
In the small test program I want to use the external Int Input (pin5) to turn on/off a Led(Start/Stop function).
But the simulation (FCV5) does not function.
Whats wrong ?
Thanks for Help.
Steff
- Attachments
-
- TEST.fcf
- (16 KiB) Downloaded 596 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: External Int Input 12F615
FC simulator can't simulate C code..it seems your whole code is made of c code. That's why it's not simulating
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Hi Enamul
It's a normal FlowCode V5 Programm. I write not one line C-Code .
In the meantime I noticed that the simulation with a
12F683 is possible .
Possible a FlowCode Bug ?
It's a normal FlowCode V5 Programm. I write not one line C-Code .
In the meantime I noticed that the simulation with a
12F683 is possible .
Possible a FlowCode Bug ?
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: External Int Input 12F615
I know you didn't write any c code but you have checked each icon of the flowchart and they are in the edit mode and which means these are now all as c code. You can make whole code again or simple LED flashing code. But please don't edit components if you do so you can't simulate that.
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Thanks for this hint, but I cannot remember that I checked some icons.
How i can see which Icon that i have checked ? Can i undo this ?
Possibly a wrong adjustment ?
How i can see which Icon that i have checked ? Can i undo this ?
Possibly a wrong adjustment ?
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: External Int Input 12F615
I have tried to do that..but that can be done before shutting down FC when you edited.
-
- 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: External Int Input 12F615
All you need to do is right click on each icon, select Annotations, then select as Flowcode.
Odd as cant stop it showing C code because I changed views to Flowcode in View, Global options, Annotations Tab.
It did not change back.
Bug perhaps?
Do you want to make sure your setting are correct?
You can go into View, Global options then select restore defaults.
So next flowchart will be ok.
I believe simulation for 12F615 interrupt is probably bugged.
Martin
Odd as cant stop it showing C code because I changed views to Flowcode in View, Global options, Annotations Tab.
It did not change back.
Bug perhaps?
Do you want to make sure your setting are correct?
You can go into View, Global options then select restore defaults.
So next flowchart will be ok.
I believe simulation for 12F615 interrupt is probably bugged.
Martin
Martin
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Thanks for your help. Unfortunately I had no success until now.
I think the problem is "only" from the 12F615! When I select the 12F683 with the same settings, including "C-code" not "Flowcode" works simulating.
I have tried to burn the program to the 12F615 but unfortunately the program does not work there.
One more question: What red star above the icons mean? Unfortunately I have not found anything about it in the help file.
I think the problem is "only" from the 12F615! When I select the 12F683 with the same settings, including "C-code" not "Flowcode" works simulating.
I have tried to burn the program to the 12F615 but unfortunately the program does not work there.
One more question: What red star above the icons mean? Unfortunately I have not found anything about it in the help file.
-
- 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: External Int Input 12F615
Stars within Flowchart are indicating Icons have been edited and Flowchart has not been saved.
So every icon that been edited will show a star.
You will then see a star after .fcf at the top of flowchart, which indicates Flowchart requires saving.
As soon as flowchart is saved all the stars will disappear.
So every icon that been edited will show a star.
You will then see a star after .fcf at the top of flowchart, which indicates Flowchart requires saving.
As soon as flowchart is saved all the stars will disappear.
Martin
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Thanks for the help.
I was able to program the 12F615 as it is necessary.
But the simulation of Int input does not work on Flowcode v5. I think the view as C code, it has no impact. That will be a Flowcode bug.
I hope this bug will be fixed in the future.
I was able to program the 12F615 as it is necessary.
But the simulation of Int input does not work on Flowcode v5. I think the view as C code, it has no impact. That will be a Flowcode bug.
I hope this bug will be fixed in the future.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: External Int Input 12F615
Hi Steff,
Please can you confirm if your running the latest release of Flowcode v5 (5.5)
Please can you confirm if your running the latest release of Flowcode v5 (5.5)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
The same for the Port interrupt. Can not be simulated, but it works on the chip.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: External Int Input 12F615
Hello,
Please can you give this updated FCD a go and see if it fixes the problems?
Simply copy the file into your "C:\Program Files (x86)\Flowcode\v5\FCD" directory.
Please can you also sign up for the correct Flowcode forum using the links in my signature.
Please can you give this updated FCD a go and see if it fixes the problems?
Simply copy the file into your "C:\Program Files (x86)\Flowcode\v5\FCD" directory.
Please can you also sign up for the correct Flowcode forum using the links in my signature.
- Attachments
-
- 12F615.fcd
- (9.44 KiB) Downloaded 437 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
I have copy the file in the path C:\Programme\Flowcode\v5\FCD and tested my program again, but unfortunately I see no difference.
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Again a correction.
When I draw a new program then the simulation works, the input and port interrupt. But I can no longer open the port interrupt properties menu and therefore I can no longer configure the inputs(turn on or off)
The "old" programs still fail to simulate. If I "draw" again, they work.
Is there a possibility that I do not need existing programs draw again?
For now, thanks for the correction.
When I draw a new program then the simulation works, the input and port interrupt. But I can no longer open the port interrupt properties menu and therefore I can no longer configure the inputs(turn on or off)
The "old" programs still fail to simulate. If I "draw" again, they work.
Is there a possibility that I do not need existing programs draw again?
For now, thanks for the correction.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: External Int Input 12F615
Hello,
This should allow you to select the port pins used for the port interrupt again.
Not sure why older programs are not simulating correctly. Going into the interrupt properties and clicking OK should allow them to work correctly.
This should allow you to select the port pins used for the port interrupt again.
Not sure why older programs are not simulating correctly. Going into the interrupt properties and clicking OK should allow them to work correctly.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Thanks for your help.
For old programs is still not working simulation. But this is not very bad.
Important as that is, it works for new programs and now looks good.
Thanks a lot.
For old programs is still not working simulation. But this is not very bad.
Important as that is, it works for new programs and now looks good.
Thanks a lot.
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Next Chip same Problem ?
Is it possible that the same problem also exists at 16F1824 ?
Or is there already a solution for it ?
Is it possible that the same problem also exists at 16F1824 ?
Or is there already a solution for it ?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: External Int Input 12F615
Hello,
Seems to be working ok for me. The 16F1824 has a maskable interrupt on change. I have made a quick example where pins 0 and 1 will interrupt on both signal edges.
Seems to be working ok for me. The 16F1824 has a maskable interrupt on change. I have made a quick example where pins 0 and 1 will interrupt on both signal edges.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: External Int Input 12F615
Hi Ben!
I have also tested your. FCD file and I assume you recommend to keep it in FCF library, it work´s after thee correction.
But Ben, somewhere it's an error in FC (small). As I have previously asked about, please, please will you be so kind to make a window "Minor fixes for FC5.5" and place or copy all the correction there, Please.
Have a nice day
Best regard
Jorgen.
,
I have also tested your. FCD file and I assume you recommend to keep it in FCF library, it work´s after thee correction.
But Ben, somewhere it's an error in FC (small). As I have previously asked about, please, please will you be so kind to make a window "Minor fixes for FC5.5" and place or copy all the correction there, Please.
Have a nice day
Best regard
Jorgen.
,
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
OK the Port interrupt works.
The INT input RA2 pin 11 does not work for the simulation.
Or do I make something wrong?
The INT input RA2 pin 11 does not work for the simulation.
Or do I make something wrong?
- Attachments
-
- Int_Test_16F1824.fcf
- Start/Stop function by a pushbutton
- (14.5 KiB) Downloaded 454 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: External Int Input 12F615
Hello,
Ok please can you try this updated file, hopefully it should solve the issue.
I have now made a v5.5 updates topic here.
http://www.matrixmultimedia.com/mmforum ... 46&t=12148
Ok please can you try this updated file, hopefully it should solve the issue.
I have now made a v5.5 updates topic here.
http://www.matrixmultimedia.com/mmforum ... 46&t=12148
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: External Int Input 12F615
Hello Benj
It works. Thanks a Lot.
But how can I Simulate a pushbutton on the Int input in single step mode?
It works. Thanks a Lot.
But how can I Simulate a pushbutton on the Int input in single step mode?