Properties of port interrupt are greyed out.
I have solve by editing 12F615.fcd (attached)
Also same with this chip as others. IOC is not simulation, but works on real hardware.
12F615 Unable to select IOC
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 12F615 Unable to select IOC
Update:
After selecting correct IOC port in properties. it does not appear to work on hardware. I know I'm using 12F615 on EB006, and have taken into account RA1 is connected to pot B6, and RA2 is connected to port B2. Is there a 12F615, some one at matrix can use to verify IOC operation. I'm not sure if tat bit is a bug, or me getting tired and missing things.
After selecting correct IOC port in properties. it does not appear to work on hardware. I know I'm using 12F615 on EB006, and have taken into account RA1 is connected to pot B6, and RA2 is connected to port B2. Is there a 12F615, some one at matrix can use to verify IOC operation. I'm not sure if tat bit is a bug, or me getting tired and missing things.
Martin
- 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: 12F615 Unable to select IOC
Hi Medelec
I have made the appropriate changes and this FCD should noow have the Port Change interrupt specified properly. Though as you say the simulation will not work correctly.Please can you give this a quick go and make sure it is ok on the hardware,
Thanks
I have made the appropriate changes and this FCD should noow have the Port Change interrupt specified properly. Though as you say the simulation will not work correctly.Please can you give this a quick go and make sure it is ok on the hardware,
Thanks
- Attachments
-
- 12F615.fcd
- (6.18 KiB) Downloaded 239 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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 12F615 Unable to select IOC
Two things.
1) Thanks for posting FCD. Unfortunately cannot get IOC to work. Tried IOC port A1 to o/p on A5. This and other combinations was unsuccessful.
2) This chip always fails programming first time and shows Then if click Continue then Flowcode auto minimises with Flowcode icon in taskbar is in orange
and when click onto icon on task bar shows Always seems to fail with config.
If I do nothing except 'Program to Chip' again, then will program successfully. Using windows vista 64 bit windows. Test is very repeatable
Edit found some 12F675, and programed them to test for IOC and had the same problem except this device programs OK except showing a 'program memory check failed' and the fist time programmed has a unable to retrieve OSSCAL message, so always check and write down OSSCAL value prior to programming. So either there is a problem with ioc on 8 pin devices, or I'm doing something silly. Knowing me is prob the latter
1) Thanks for posting FCD. Unfortunately cannot get IOC to work. Tried IOC port A1 to o/p on A5. This and other combinations was unsuccessful.
2) This chip always fails programming first time and shows Then if click Continue then Flowcode auto minimises with Flowcode icon in taskbar is in orange
and when click onto icon on task bar shows Always seems to fail with config.
If I do nothing except 'Program to Chip' again, then will program successfully. Using windows vista 64 bit windows. Test is very repeatable
Edit found some 12F675, and programed them to test for IOC and had the same problem except this device programs OK except showing a 'program memory check failed' and the fist time programmed has a unable to retrieve OSSCAL message, so always check and write down OSSCAL value prior to programming. So either there is a problem with ioc on 8 pin devices, or I'm doing something silly. Knowing me is prob the latter

Martin
- 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: 12F615 Unable to select IOC
Hi Medelec
Ok thanks for the info regarding the programming.
You may need to read the input pins you are using for the interrupt before the interrupts will begin automatically firing. If you have already done this then let me know and I will dig out the 12F devices we have here and so some tests.
Ok thanks for the info regarding the programming.
You may need to read the input pins you are using for the interrupt before the interrupts will begin automatically firing. If you have already done this then let me know and I will dig out the 12F devices we have here and so some tests.
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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 12F615 Unable to select IOC
Thanks Ben. That’s a very good point, which had totally slipped my mind.Benj wrote:You may need to read the input pins you are using for the interrupt before the interrupts will begin automatically firing.
I will try tonight and post results tomorrow.
Martin