Author |
Message |
Topic: Bad A/D Conversion |
cseusy
Replies: 1
Views: 2986
|
Forum: General CCS C Discussion Posted: Thu Mar 25, 2010 8:03 pm Subject: Bad A/D Conversion |
In one version of code, my 10-bit A/D readings were correct and stable. In the next version of code, the readings are erratic (+/-100). The code for A/D setup is the same and the code for reading is t ... |
Topic: Static discharge sensitivity |
cseusy
Replies: 2
Views: 2942
|
Forum: General CCS C Discussion Posted: Sat Jan 16, 2010 6:46 pm Subject: Static discharge sensitivity |
This is a little off topic, I know, but I get my best ideas from you guys.
I have found that my microcontroller resets or goes wacky when there is an electrostatic discharge nearby (not to the boar ... |
Topic: Configuration fuses not right |
cseusy
Replies: 4
Views: 5003
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 10:57 pm Subject: Configuration fuses not right |
Hey thanks, PCM programmer! While stripping down my code to demonstrate the problem, I found that I had to delete both "#device ICD=TRUE" and "#fuse DEBUG". I had tried one, then ... |
Topic: Configuration fuses not right |
cseusy
Replies: 4
Views: 5003
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 6:42 pm Subject: Configuration fuses not right |
Currently, I am not using the debugger. However, I did have the DEBUG fuse set. I removed that fuse, re-compiled, and the same five items come up with a big "NO". More ideas? |
Topic: Configuration fuses not right |
cseusy
Replies: 4
Views: 5003
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 6:06 pm Subject: Configuration fuses not right |
In my ".h" file I set a bunch of configuration fuses. However, my ".lst" file shows me that five of them (out of about 28) set opposite of what I chose. For example, PROTECT come ... |
Topic: Randomly changing variables |
cseusy
Replies: 7
Views: 8401
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 6:00 pm Subject: Randomly changing variables |
I figured this out. Actually, CCS figured this out. I had commented out a section of code using "/*" and "*/". Later I deleted the "/*" but forgot to delete the ... |
Topic: unexpected change of variables (solved) |
cseusy
Replies: 5
Views: 5080
|
Forum: General CCS C Discussion Posted: Tue Nov 24, 2009 11:39 pm Subject: unexpected change of variables (solved) |
See responses to my post called "randomly changing variables". Maybe they can shed some light. I have been fighting the same or similar problem for two weeks. A friend who is an expert co ... |
Topic: Randomly changing variables |
cseusy
Replies: 7
Views: 8401
|
Forum: General CCS C Discussion Posted: Tue Nov 24, 2009 11:19 pm Subject: Randomly changing variables |
Gentlemen,
Thank you for sharing your ideas.
I am not using any interrupt service routine(s) and have attempted to disable all interrupts, through CCD EEPROM write and read function turn on GI ... |
Topic: Randomly changing variables |
cseusy
Replies: 7
Views: 8401
|
Forum: General CCS C Discussion Posted: Mon Nov 23, 2009 11:17 pm Subject: Randomly changing variables |
I have proven that a variable in my code is changing of its own accord. I have programmed this variable to be only a zero or a ten. I have demonstrated that it ends up equal to one. Any of you geni ... |
Topic: ICD-S40 problem...software dependent |
cseusy
Replies: 2
Views: 5847
|
Forum: General CCS C Discussion Posted: Sat Apr 15, 2006 4:58 pm Subject: ICD-S40 problem...software dependent |
Humberto, you are a GENIUS! You really saved my bacon on this project.
Most of the things you suggested are the same as they have been in this project for several code sets that use the same targe ... |
Topic: ICD-S40 problem...software dependent |
cseusy
Replies: 2
Views: 5847
|
Forum: General CCS C Discussion Posted: Sat Apr 15, 2006 1:26 pm Subject: ICD-S40 problem...software dependent |
I was unable to get my firmware to work in debug mode. The error message after loading was either "Invalid clock value from the debugger. Debugging may not have been enabled." or "Could not start ta ... |
|