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 7 matches
CCS Forum Index
Author Message
  Topic: What is this default interrupt handler?
dgoldman

Replies: 4
Views: 7425

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 3:25 pm   Subject: What is this default interrupt handler?
Thanks for the insight. I got my bootloaders working (or so it seems).

The problem is that despite my #orgs in my code, the linker put the putc up near the top of memory. This is new behavior. ...
  Topic: What is this default interrupt handler?
dgoldman

Replies: 4
Views: 7425

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 10:18 am   Subject: Thanks
Just figured out the code quoting thing just before reading your reply. Thanks anyway. Yes, it does look like a putc() and the label would agree. Good insight. Still makes no sense why it isn't ad ...
  Topic: What is this default interrupt handler?
dgoldman

Replies: 4
Views: 7425

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2010 9:40 am   Subject: What is this default interrupt handler?
My 18F452 code has no interrupt service routines for this project. I transitioned from PCH 3.218 to 4.114. On v3, the interrupt vectors were left NOPs. In v4, I get code there (see below). The res ...
  Topic: write_program_eeprom question
dgoldman

Replies: 4
Views: 7223

PostForum: General CCS C Discussion   Posted: Mon Dec 13, 2010 3:42 pm   Subject: write_program_eeprom question
For the 452 with write_program_eeprom(), the erase is handled automatically? Great!

The data sheet shows erase is only automatic when writing FLASH_WRITE_SIZE (64) bytes. This requires write_pro ...
  Topic: XOR and data types question
dgoldman

Replies: 1
Views: 3705

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2010 1:56 pm   Subject: XOR and data types question
By changing c from an unsigned int1 to an unsigned int32, all now works.
No casting of k, just c ^= k.

Still doesn't make a whole lotta sense but things are working.
  Topic: XOR and data types question
dgoldman

Replies: 1
Views: 3705

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2010 9:58 am   Subject: XOR and data types question
I am using PCWH v3.218 for a project on an 18f452 and all is good.
Same code breaks on v4.112. I have found the issue to be related to xor and data types.

Test #1 is standard xor truth table.
T ...
  Topic: How do I Printf a Semicolon between 2 bits of text ?
dgoldman

Replies: 8
Views: 9752

PostForum: General CCS C Discussion   Posted: Tue Aug 24, 2010 2:52 pm   Subject: A broken corner case to watch for:
Broken corner case to watch for:

#define FOO "D=1\""
printf(FOO);

doesn't work on PCWH 4.111. I think it is the double "".

To get this to work, change to
#d ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group