View previous topic :: View next topic |
Author |
Message |
SuperDave
Joined: 22 May 2008 Posts: 63 Location: Madison, TN
|
Pic16F1828 interrupts |
Posted: Wed Mar 21, 2012 11:03 am |
|
|
According to the data sheet all enabled pins on PortA and PortB respond to Interrupt on Change but looking at the 16F1828 header file I only see an Int_RB choice. Does this respond to all enabled bits on PortA and PortB? If not, what is the interrupt choice for PortA?
Thanks,
Dave |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Wed Mar 21, 2012 12:30 pm |
|
|
You didn't say what version you are using but 4.130 has the INT_RA entry in the header.
BTW, the file INTS.TXT shows all the possible options for interrupts. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
SuperDave
Joined: 22 May 2008 Posts: 63 Location: Madison, TN
|
|
Posted: Wed Mar 21, 2012 3:00 pm |
|
|
Had 4.125, now 4.130, problem solved, thanks.
Dave |
|
|
SuperDave
Joined: 22 May 2008 Posts: 63 Location: Madison, TN
|
|
Posted: Wed Mar 21, 2012 3:04 pm |
|
|
BTW, where/what is ints.txt? I can't find it in my installation or on a search of the ccsinfo site. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Wed Mar 21, 2012 3:13 pm |
|
|
It's in the PICC directory where the compiler resides. If you don't have
the IDE you may not have it or the fuses.txt file. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
SuperDave
Joined: 22 May 2008 Posts: 63 Location: Madison, TN
|
|
Posted: Wed Mar 21, 2012 3:30 pm |
|
|
I certainly have fuses.txt but no ints.txt I use MPLAB as the IDE so that may be it. I just updated everything I could find even including ccload but still no ints.txt. Thanks again for the help.
Dave |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Wed Mar 21, 2012 3:40 pm |
|
|
I would drop a line to CCS and ask them for it. Since they have
always been nice when I have contacted them I expect they might just
send it to you. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19498
|
|
Posted: Wed Mar 21, 2012 4:17 pm |
|
|
It is 'Ints.txt', with a capital 'I'. Some programs sort it differently because of this. It is present in every version of CCS I have ever seen. Looked back to 2002, and not one version has it missing.
Best Wishes |
|
|
|