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 3 matches
CCS Forum Index
Author Message
  Topic: memset in a interrupt service routine ISR
barryb

Replies: 6
Views: 9205

PostForum: General CCS C Discussion   Posted: Mon Jan 23, 2012 11:50 am   Subject: memset in a interrupt service routine ISR
I looked over the bug fixes since v4.084, and I don't see any mention of changing memset (or any other function) for use in interrupts.


Also, the FAQ says the following (so why don't they check ...
  Topic: memset in a interrupt service routine ISR
barryb

Replies: 6
Views: 9205

PostForum: General CCS C Discussion   Posted: Fri Jan 20, 2012 10:37 am   Subject: memset in a interrupt service routine ISR
It is very easy. Put a memset in an isr, and in the main.

As you can see, memset uses RAM at:
159 @MEMSET.P1
15A-15B @MEMSET.P1

The memset does an RCALL to 0x9e, but I don't see any interr ...
  Topic: memset in a interrupt service routine ISR
barryb

Replies: 6
Views: 9205

PostForum: General CCS C Discussion   Posted: Thu Jan 19, 2012 2:37 pm   Subject: memset in a interrupt service routine ISR
I am using Version 4.084 on a PIC18F458 processor. We have found that using memset within an ISR is a problem. Memset uses RAM to store the size and value for memset. This gets corrupted if an interru ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group