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 8 matches
CCS Forum Index
Author Message
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 9:08 am   Subject: LESSON LEARNED
Problem definitely solved.

1) If you have time critical jobs for PIC declare all related variables close each other.

2) Local variables can share same address with other variables that are not r ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 7:24 am   Subject: PROBLEM SOLVED ( I GUESS )
I was keep working on the receiver side since adding just a variable when the transmitter side is fixed causes problems.

One thing come to my mind. What if Receiver can't cope with the data rate wh ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 6:31 am   Subject: Interesting problem here...
Hi,

Here is what happened.

I move the KILLBILL variable to bottom of declarations... works.

Than I move back the KILLBILL variable to middle.... NOT to working.

Than I move KILLBILL variab ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 4:41 am   Subject: Interesting problem here...
hi,

I have put a video capture of my PC. So that you can see the problem by eyes.

I again start from original program. Delete couple of functions and variables than it start to work. Previously ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 2:33 am   Subject: Interesting problem here...
Hi,

I try the following. I have increase my array to 1000,

INT MODBUS_PACKET[1000];

Than from top I start to delete unused variables 5-6 lines at a time.

Than suddenly something ha ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 1:39 am   Subject: Interesting problem here...
I have changed it before, there was no difference.

But you are right. Compiler also warns that that feature is not supported.

Yesterday suddenly code start to work, so I put back all functions b ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 1:03 am   Subject: Interesting problem here...
Hi again,

I am posting my code below.


#include "D:\P_FILES\PROJECTS\XXXXXX\XXXXXX_WBLOCK\Software\MW_73.h"

#include <string.h>
#include <stdlib.h>

#use fast_i ...
  Topic: Interesting problem here...
dc_eng

Replies: 21
Views: 17407

PostForum: General CCS C Discussion   Posted: Wed Jul 22, 2009 6:13 am   Subject: Interesting problem here...
Hi to all.

I am working on a piece of code that drives me crazy..

My uC is PIC18F4620, My compiler verison is 4.068. My code was working perfectly until I add some more functions. Then suddenly ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group