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 12 matches
CCS Forum Index
Author Message
  Topic: debugging under #fuses INTRC?
dpaul

Replies: 5
Views: 13308

PostForum: General CCS C Discussion   Posted: Tue Mar 24, 2009 2:55 pm   Subject: INTRC Resolved (maybe)
I may have solved this issue.

I last updated my ICD-U40 firmware I believe last Friday, when the version number was bumped to 2.51.

I just became aware the current version is 2.53. I downloaded ...
  Topic: debugging under #fuses INTRC?
dpaul

Replies: 5
Views: 13308

PostForum: General CCS C Discussion   Posted: Tue Mar 24, 2009 4:57 am   Subject: more on debugging #fuses INTRC
Quoted here is the complete text of the error message reported when trying to debug the above code compiled with the #fuses INTRC:


Could not start target: The target was not haulted after
reset. ...
  Topic: debugging under #fuses INTRC?
dpaul

Replies: 5
Views: 13308

PostForum: General CCS C Discussion   Posted: Mon Mar 23, 2009 8:13 am   Subject: debugging under INTRC - continued
For what it is worth, I find I can modifiy the above code as follows:


void main()
{
disable_interrupts(GLOBAL);

#if (defined (USE_HS))
OSCCON = 0x7 ...
  Topic: debugging under #fuses INTRC?
dpaul

Replies: 5
Views: 13308

PostForum: General CCS C Discussion   Posted: Mon Mar 23, 2009 5:16 am   Subject: debugging under #fuses INTRC?
Greeting:

Is debugging code written using #fuses INTRC possible? When I try to debug my application written using this configuration, my ICD-U40 reports loading the code, but in due course reports ...
  Topic: Unique HEX file naming?
dpaul

Replies: 1
Views: 3270

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 7:09 am   Subject: Unique HEX file naming?
Greetings:

I wonder if there is any way to have the CCS compiler output a HEX file named differently from the file which includes main()?

I have core code that, depending on what is pound define ...
  Topic: Limits to malloc()?
dpaul

Replies: 4
Views: 7469

PostForum: General CCS C Discussion   Posted: Thu Oct 19, 2006 4:34 am   Subject: Limits to malloc()?
Greetings:

I have just spent time writing a simple, dynamically allocated linked list. I wrote and debugged the code in its own mini-project (Compiler 3.249). When I included the .C and .H files ...
  Topic: Detecting /MCLR Reset During Normal Operation
dpaul

Replies: 3
Views: 9313

PostForum: General CCS C Discussion   Posted: Wed Mar 22, 2006 7:03 am   Subject: Detecting /MCLR Reset During Normal Operation
Here's what the MicroChip folks had to say about this:

Refer to the description on Chapter 4.14 of PIC18FXX2 data sheet , both /POR and BOR bits must be set after Poer-On rset occur or Brown-Out re ...
  Topic: Detecting /MCLR Reset During Normal Operation
dpaul

Replies: 3
Views: 9313

PostForum: General CCS C Discussion   Posted: Fri Mar 17, 2006 1:43 pm   Subject: Detecting /MCLR Reset During Normal Operation
Greetings:

I would very much like to detect a /MCLR reset which occurs during normal operations. The provided function reset_cause() only returns a value for WDT_TIMEOUT, MCLR_FROM_SLEEP, NORMAL ...
  Topic: I2C Bus Recovery Question
dpaul

Replies: 2
Views: 5752

PostForum: General CCS C Discussion   Posted: Tue Apr 26, 2005 2:39 pm   Subject: I2C Bus Recovery Question
Greetings:

After much anguish, I have managed to pull together I2C code to handle multi-byte Master transmitter to Slave receiver messages (no big deal) AND multi-byte Slave transmitter to Master ...
  Topic: I2C Multi-byte Slave to Master?
dpaul

Replies: 1
Views: 4459

PostForum: General CCS C Discussion   Posted: Mon Apr 18, 2005 2:47 pm   Subject: I2C Multi-byte Slave to Master?
Is it possible to program a I2C Master-Slave system with multi-byte Slave to Master communications with the compilier I2C_XX() functions? If so, could code snippets be posted?

I have no trouble wi ...
  Topic: Embedding build numbers
dpaul

Replies: 6
Views: 13614

PostForum: General CCS C Discussion   Posted: Wed Mar 16, 2005 7:55 am   Subject: HEX file format for Orged Value
Orging a string or a value is an excellent idea. I still need some help deciphering the .HEX file format so I can read the embedded identifier.

Here�s a test: I defined the following easily locat ...
  Topic: Embedding build numbers
dpaul

Replies: 6
Views: 13614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2005 1:57 pm   Subject: Embedding build numbers
Greeting:

Is there a convenient way to embed a build or version number in a Hex file and retrieve it? I'm having trouble keeping track of what code is where in several development platforms. I ha ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group