Page 1 of 1

Port IOC not working if IOC register is used.

Posted: Sat May 05, 2012 1:16 am
by medelec35
This applies to target devices:
12F615,12F617,12F683 and other targets that has an IOC register.

Take a look at the target device FCD file located in:
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD
If 64 bit windows
or
C:\Program Files\Matrix Multimedia\Flowcode V4\FCD
if 32 bit windows

Find:

Code: Select all

Opt3_4="GPIO 4 Int Off / GPIO 5 Int Off"
and if the line below shows

Code: Select all

Opt3_4Val="ioc = ioc & 0x0C;\n"
then change line to:

Code: Select all

Opt3_4Val="ioc = ioc & 0xCF;\n"
After saving change, then exit and restart Flowcode.

Re: Port IOC not working if IOC register is used.

Posted: Wed Jul 18, 2012 7:38 pm
by Enamul
Thanks Martin.

Re: Port IOC not working if IOC register is used.

Posted: Sun Mar 10, 2013 12:19 pm
by medelec35
Your welcome Enamul.
So long as it it all helps :)