CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 13 matches
CCS Forum Index
Author Message
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 1:44 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
Via support on email, it turns out

#device VECTOR_INTS

Needed to be called. I didn't think of looking for this in the help files or have seen it posted online (haven't heard of it). Interrupts ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 12:33 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
Sorry, my terminology is off it seems.

So INT_GLOBAL is not triggering, is there a workaround at this point?
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 12:16 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
Ttelmah,

Not even glint.c is working. #INT_GLOBAL isn't being executed and the toggle isn't occurring in debug nor release.

I can verify that the PIE register is good for the specific interrupt, ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 10:20 am   Subject: PIC18F25k42 Interrupts Not Working - At all
OK I ordered it. I added it to an existing order. It will ship today and
I should get it by Friday. I'll work on it then, assuming it's not solved
by that date.

Thank you! temtronic thinks th ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 9:34 am   Subject: PIC18F25k42 Interrupts Not Working - At all
You may want to manually set the proper bits in the correct registers and bypass the CCS code, at least for testing. The ISR_RB wasn't being entered.
I just figured out the header for the 18F46K22 do ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Tue May 08, 2018 9:20 am   Subject: PIC18F25k42 Interrupts Not Working - At all
Here is the code, in totality of me just trying to toggle a pin at a timer interrupt rate.


#include <18F25K42.h>
#fuses RSTOSC_HFINTRC_64MHZ
#fuses NOMCLR
#fuses NOCLKOUT
#use delay( ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Mon May 07, 2018 6:04 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
Checking interrupt vectors right now, but timers 0, 1, 3... dont work with interrupts while timers 2, 4, 6... do.

I havent checked the comparator yet
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Mon May 07, 2018 5:31 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
All,

I went ahead and ordered the PIC U64 device so I could more fluidly develop in the CCS compiler. Still no interrupts firing. Heck, I am having difficulty getting this program to have step-thro ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2018 4:03 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
And running in the current MPLAB simulator, it merrily increments 'sys_time'.

I'd be looking at your debugging environment.

Are you using a later version of MPLAB X? I have 4.05 currently instal ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Thu Apr 26, 2018 6:34 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
Could this be a thing where the specific target isn't fully supported with debug by a Microchip ICD3 debugger?
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Thu Apr 26, 2018 3:19 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
I have tried putting all [spam] sources just to force an interrupt - but to no avail. The divider value is just for show right now, just trying to get basic interrupt functionality. What is the likeliho ...
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Thu Apr 26, 2018 9:23 am   Subject: PIC18F25k42 Interrupts Not Working - At all
I am using 5.078 CCS compiler with MPLAB X v4.05
  Topic: PIC18F25k42 Interrupts Not Working - At all
asgudeman

Replies: 28
Views: 55339

PostForum: General CCS C Discussion   Posted: Wed Apr 25, 2018 6:20 pm   Subject: PIC18F25k42 Interrupts Not Working - At all
I am very new to CCS, but have been using XC8-32 for about 6-7 years.

I am just trying (at this point) to make a timer interrupt do just that, interrupt.

I have checked PIE registers, TIMxCON re ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group