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 31 matches
CCS Forum Index
Author Message
  Topic: Problem with ISR - code inside not being executed
cypher

Replies: 9
Views: 8802

PostForum: General CCS C Discussion   Posted: Fri Aug 07, 2009 7:09 pm   Subject: Problem with ISR - code inside not being executed
Thanks for all your help guys. I will keep your pointers in mind for the future.

I have found the problem I was having. It is a logical problem related to interrupts taking place but has nothing ...
  Topic: Problem with ISR - code inside not being executed
cypher

Replies: 9
Views: 8802

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 12:55 pm   Subject: Problem with ISR - code inside not being executed
I was just thinking because this problem happens only intermittently, maybe its to do with timing of some type.

Is there a need for me to do some interrupt priority handling, for example the int_rb ...
  Topic: Problem with ISR - code inside not being executed
cypher

Replies: 9
Views: 8802

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 12:38 pm   Subject: Problem with ISR - code inside not being executed
Thanks for the reply.

So, I tried removing the disable/enable interrupts inside the INT_RB isr but that didn't make any difference. I also tried adding an input_b(); at the end of the isr with no ...
  Topic: Problem with ISR - code inside not being executed
cypher

Replies: 9
Views: 8802

PostForum: General CCS C Discussion   Posted: Wed Aug 05, 2009 6:27 pm   Subject: Problem with ISR - code inside not being executed
Hi,
I seem to be having an unusual problem. It seems as though I have an intermittent problem with code being executed inside the #int_RB isr. Intermittently I notice that some of the code does not ...
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 6:11 pm   Subject: PIC18F6722 getting reset intermittently
Thanks a lot for your help, it seems to be fairly robust now. So, removing the enable global from the isr definitely did it!
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 4:50 pm   Subject: PIC18F6722 getting reset intermittently
Yes, I :

enable_interrupts(int_rb);
enable_interrupts(global);

inside the isr. Shall I just get rid of the global and keep the int_rb inside the isr, or should I delete ...
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 4:04 pm   Subject: PIC18F6722 getting reset intermittently
Ok so tried doing that and I haven't seen any resets while just sitting in a loop....I only read a NORMAL_POWER_UP once and thats it. I've been running it for more than 30 mins and haven't seen a res ...
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 3:14 pm   Subject: PIC18F6722 getting reset intermittently
Also, interestingly enough, I do not see this intermittent problem if I just keep the program running forever. The problem only occurs when I introduce a hardware interrupt on the RB4-RB7 pins (inter ...
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 1:18 pm   Subject: PIC18F6722 getting reset intermittently
So I read thru all those previous posts and used the restart_cause() function to find out exactly why my reset it happening. And interestingly enough, its because of a RESET_INSTRUCTION.

So, first ...
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Mon Jul 06, 2009 7:35 pm   Subject: PIC18F6722 getting reset intermittently
Ok thanks, I will try your suggestion....also the links are very helpful, I will try a few things soon
  Topic: PIC18F6722 getting reset intermittently
cypher

Replies: 11
Views: 10950

PostForum: General CCS C Discussion   Posted: Mon Jul 06, 2009 5:54 pm   Subject: PIC18F6722 getting reset intermittently
Hi All,

I have a a very weird and frustrating problem happening. I am using a PIC18F6722. The problem is that sometimes the PIC gets reset for some unknown reason.

The nature of the reset taki ...
  Topic: Storing a large structure somewhere in memory
cypher

Replies: 5
Views: 8401

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2008 11:17 pm   Subject: Storing a large structure somewhere in memory
Thanks for the reply. I would have taken that approach as well however I do not have the flexibility to add an external eeprom right now....

Are there any code examples of storing 2D structures ...
  Topic: Storing a large structure somewhere in memory
cypher

Replies: 5
Views: 8401

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2008 9:46 pm   Subject: Storing a large structure somewhere in memory
Hi Everyone,

I'm trying to store a 32 x 60 structure with 3 int elements somewhere on a PIC18F8722. It is not too important to me where this gets stored as long as I can access/(re)write to the co ...
  Topic: #int_ext not working
cypher

Replies: 2
Views: 3977

PostForum: General CCS C Discussion   Posted: Wed Feb 27, 2008 7:57 pm   Subject: #int_ext not working
So I tried doing that and it still loads down the voltage. It's a hardware problem. I tried it on another PIC and now it responds to the interrupts and the voltage is 5 V as expected on RB0. I thin ...
  Topic: #int_ext not working
cypher

Replies: 2
Views: 3977

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2008 6:23 pm   Subject: #int_ext not working
Hi,
This is really weird because the code below was working a while back, but when I tried incorporating it with some other code, it kept on generating interrupts even without any pin connected to RB ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group