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: Using rom as constant
freeman3020

Replies: 17
Views: 44038

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2015 3:06 pm   Subject: Using rom as constant
The example in his link uses the 16F1824, but he has changed it to a 16F628.

Looking at the .LST file, I can see that for the 16F1824, CCS sets the
EEPGD bit, to read from program memory.

When ...
  Topic: Using rom as constant
freeman3020

Replies: 17
Views: 44038

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2015 2:59 pm   Subject: Using rom as constant
If you just want to use pointers to ROM based strings, then don't use rom. Just declare them as 'const', and add the header line near the fuses "#DEVICE PASS_STRINGS=IN_RAM". This tells the ...
  Topic: Using rom as constant
freeman3020

Replies: 17
Views: 44038

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2015 9:29 am   Subject: Using rom as constant
"but I got error on proteus "


well what makes you think proteus is 100% perfect program ???

Please see PIC101 sticky...

Jay


sorry , but I test also in real hardware , no outp ...
  Topic: Using rom as constant
freeman3020

Replies: 17
Views: 44038

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2015 7:56 am   Subject: Using rom as constant
Hi again,

I have test this code

#include <16F628.h>


#FUSES NOWDT //No Watch Dog Timer
#FUSES NOPUT //No Power Up Timer
#FUSES HS ...
  Topic: override restart_wdt
freeman3020

Replies: 11
Views: 16241

PostForum: General CCS C Discussion   Posted: Sat Oct 24, 2015 4:55 am   Subject: override restart_wdt
First thing, where does the pin on the ULN, that traps the flyback connect to?. How much capacitance is on this?. How does the rail connect?.
Then you talk about a 1nF capacitor. Look instead at the ...
  Topic: override restart_wdt
freeman3020

Replies: 11
Views: 16241

PostForum: General CCS C Discussion   Posted: Sat Oct 24, 2015 12:20 am   Subject: override restart_wdt
thanks all

For latch-up I tried all method to isolate EMI effect,
I use uln2003 and all pin have 1 Nano cap.

I will try newguy suggestion.
  Topic: override restart_wdt
freeman3020

Replies: 11
Views: 16241

PostForum: General CCS C Discussion   Posted: Fri Oct 23, 2015 3:45 am   Subject: override restart_wdt
hi all

I have embedded system that control AC line with relay. All things ok,
this system is run 24/7, the problem is some time every few days 3 to 4,
uC is latch-up and internal WDT not restart ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group