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 6 matches
CCS Forum Index
Author Message
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2009 7:46 pm   Subject: PIC24FJ128GA006 resting!!!!
FVM thanks for your reply.

I'm not quite sure what to do in the int routine as a work around.

Does anyone have an idea ? !!!!!
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2009 10:25 am   Subject: PIC24FJ128GA006 resting!!!!
Thanks for the suggestion.

The problem is before the array is defined, if you look at the assembler output you can see that the 2 SETM instructions are at the start of "main" the very fir ...
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2009 3:01 am   Subject: PIC24FJ128GA006 resting!!!!
I was starting to think the same it was probably a bug in PCD.
I tried generating a project with the standard fuse setting using the 24 bit wizard did the same thing.
I was using proteus to simulate ...
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2009 6:53 pm   Subject: PIC24FJ128GA006 resting!!!!
HI asmallri
I tried that but it is still generating the two SETM 32C and SETM 32A instructions. Its the second instruction that causes the reset.
I have tried changing all the fuses but still the sa ...
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2009 10:22 am   Subject: PIC24FJ128GA006 resting!!!!
Sorry the variables shold have read

unsigned long sample;
unsigned char adc_1_data[1024];
Forgot to add it keeps resetting @ address 0x200.
  Topic: PIC24FJ128GA006 resting!!!!
kev_korea

Replies: 11
Views: 11685

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2009 10:14 am   Subject: PIC24FJ128GA006 resting!!!!
Hi Guys
I'm new with the CCS compiler just downloaded the demo.

I have written this little demo prog for the PIC24.
When I run it keeps resetting. The other compiler I have it works fine?
See c ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group