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: RESTART_CAUSE NOT WORKING!
peterfreedom

Replies: 9
Views: 23526

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2004 3:24 pm   Subject: I found the problem!
I was keeping some old declaration like #include "global.c" that was no more in use. Somewhere hidden in there was a #zero_ram declaration.
Shocked
If you look at the CCS code above, you see righ ...
  Topic: RESTART_CAUSE NOT WORKING!
peterfreedom

Replies: 9
Views: 23526

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2004 2:37 pm   Subject: RESTART_CAUSE NOT WORKING!
I just dowloaded latest version 3.187 without any good result. For your information.
  Topic: RESTART_CAUSE NOT WORKING!
peterfreedom

Replies: 9
Views: 23526

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2004 2:28 pm   Subject: SAME RESULT
Here what appears on hyperterminal every 2.3 sec:


c = 18

Normal power up!

Hit any key to avoid a watchdog timeout.

c = 18

Normal power up!

Hit any key to avoid a watchdog timeout. ...
  Topic: RESTART_CAUSE NOT WORKING!
peterfreedom

Replies: 9
Views: 23526

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2004 2:08 pm   Subject: Sorry, I'm not using any In Circuit Dubugger!
I'm not using any ICD at all. I'm using the serial Port or just leds on outputs to help understand the PIC.

Do you have any idea why CCS inserts that code in the main?

Thanks.
  Topic: RESTART_CAUSE NOT WORKING!
peterfreedom

Replies: 9
Views: 23526

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2004 1:45 pm   Subject: RESTART_CAUSE NOT WORKING!
Hi! Again. I finally made the WatchDog Timer work. Thanks to PCM Programmer. I had to use my In Circuit Serial Programming device instead of my RS-232 Port with a Bootloader.

Here is my question. ...
  Topic: CAN'T MAKE THE WATCHDOG WORKS ON A 16F877
peterfreedom

Replies: 4
Views: 13598

PostForum: General CCS C Discussion   Posted: Fri Mar 12, 2004 2:19 pm   Subject: CAN'T MAKE THE WATCHDOG WORKS ON A 16F877
You are right. Here is the information about the Bootloader from the Author web Page. doesn't send config word at 0x2007 or ID word to bootloader
remembers last settings
inclusive of the source co ...
  Topic: CAN'T MAKE THE WATCHDOG WORKS ON A 16F877
peterfreedom

Replies: 4
Views: 13598

PostForum: General CCS C Discussion   Posted: Fri Mar 12, 2004 1:55 pm   Subject: What purpose do #fuse is suppose to serve?
I'm using the EPICWin programmer from MicroEngineering Lab to programm the Bootloader on the 16F877. Then I solder the chip on the board. Then I use a serial Cable with a MAX232 to simply download the ...
  Topic: CAN'T MAKE THE WATCHDOG WORKS ON A 16F877
peterfreedom

Replies: 4
Views: 13598

PostForum: General CCS C Discussion   Posted: Fri Mar 12, 2004 1:32 pm   Subject: CAN'T MAKE THE WATCHDOG WORKS ON A 16F877
Hi! I'm trying to learn how the Watchdog Timer is working on a 16f877. I tried the ex_wdt.c example without any success. All I want to do is to have the processor being restarted if its WDT is nor cle ...
  Topic: #LOCATE NOT COMPILING PROPERLY
peterfreedom

Replies: 6
Views: 19513

PostForum: General CCS C Discussion   Posted: Tue Dec 09, 2003 6:39 am   Subject: Thank you very much Ttelma
Laughing People like you make this forum priceless. Laughing
  Topic: #LOCATE NOT COMPILING PROPERLY
peterfreedom

Replies: 6
Views: 19513

PostForum: General CCS C Discussion   Posted: Mon Dec 08, 2003 1:16 pm   Subject: Are you sure about that structure?
Thanks Ttelma. I studied your last post and I'm wondering if I understand it. Rolling Eyes
Normaly the read_bank instruction need to have the bank number from 0-3 and the offset from 0 to 0x59 (for bank ...
  Topic: #LOCATE NOT COMPILING PROPERLY
peterfreedom

Replies: 6
Views: 19513

PostForum: General CCS C Discussion   Posted: Mon Dec 08, 2003 9:29 am   Subject: Thank you very much
Laughing Thank you very much for your help. It made a big difference. Laughing

Correct me if I'm wrong, but in another topic somebody told me that the maximum dimension of one array would be 96 bytes (6 ...
  Topic: #LOCATE NOT COMPILING PROPERLY
peterfreedom

Replies: 6
Views: 19513

PostForum: General CCS C Discussion   Posted: Mon Dec 08, 2003 7:57 am   Subject: #LOCATE NOT COMPILING PROPERLY
Hi! I'm experiencing some problems with the CCS compiler using the #Locate instruction. I have two 2 dimension arrays and when I compiled the program CCS gives me some bad results.

If I compile m ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group