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 19 matches
CCS Forum Index
Author Message
  Topic: CCS Compiler steal windows focus
afk_pic

Replies: 21
Views: 62950

PostForum: General CCS C Discussion   Posted: Mon Mar 21, 2022 9:53 am   Subject: CCS Compiler steal windows focus
Hi, i'm back

No, the problem is the prompt when compile the multiple .c or .h files that my project includes. Compiling takes too time because the source files are in a server.

I'm not using th ...
  Topic: CCS Compiler steal windows focus
afk_pic

Replies: 21
Views: 62950

PostForum: General CCS C Discussion   Posted: Thu Sep 09, 2021 6:22 am   Subject: CCS Compiler steal windows focus
get a second computer ?
Not trying to be 'smart', but all PCs can only do one thing at a time,same as a PIC. essentially Windows does 'time share' not true parallel multitasking. Maybe the 'multicor ...
  Topic: CCS Compiler steal windows focus
afk_pic

Replies: 21
Views: 62950

PostForum: General CCS C Discussion   Posted: Thu Sep 09, 2021 2:59 am   Subject: CCS Compiler steal windows focus
Hello this issue is annoying,

When I compiling (takes almost 1 minute) normally made another task, like read email, respond emails, etc. But CCS always steal windows focus, if I am typing when com ...
  Topic: Error with function pointer
afk_pic

Replies: 2
Views: 13157

PostForum: General CCS C Discussion   Posted: Wed Sep 08, 2021 11:50 pm   Subject: Error with function pointer
Hello,
this are my variables:


unsigned char rxRs232


I insist in the fact that this code works in other project, has the same variable declarations even halRS232.c /.h are identical...very ...
  Topic: Error with function pointer
afk_pic

Replies: 2
Views: 13157

PostForum: General CCS C Discussion   Posted: Wed Sep 08, 2021 9:15 am   Subject: Error with function pointer
Hello,

I have this error and I need help, because this code works in other projects.

I have this error:

*** Error 144 "source\main.c" Line 297(1,1): No valid assignment ...
  Topic: Linker error: dyn mem mis-match true!=false
afk_pic

Replies: 14
Views: 36937

PostForum: General CCS C Discussion   Posted: Tue Sep 01, 2020 7:35 am   Subject: Linker error: dyn mem mis-match true!=false
UPDATE:

#case

...forces the compiler to be case sensitive. This removed this error from a project I had today. Once the error appeared, I could not build again until I shut the program down and ...
  Topic: Error expectating a identifier with FsFat
afk_pic

Replies: 5
Views: 15319

PostForum: General CCS C Discussion   Posted: Tue Sep 01, 2020 2:42 am   Subject: Error expectating a identifier with FsFat
Hello,

yes i'm including all these #includes. Using eclipse to compile.

Anyway thanks
  Topic: Error expectating a identifier with FsFat
afk_pic

Replies: 5
Views: 15319

PostForum: General CCS C Discussion   Posted: Tue Sep 01, 2020 1:59 am   Subject: Error expectating a identifier with FsFat
There is an issue in the line you post, that 'byte' is already a defined type.
It's #defined as an unsigned int8 in the processor include file.
Trying to typedef, with this keyword, will result in t ...
  Topic: Error expectating a identifier with FsFat
afk_pic

Replies: 5
Views: 15319

PostForum: General CCS C Discussion   Posted: Tue Sep 01, 2020 12:36 am   Subject: Error expectating a identifier with FsFat
Hello, I'm trying to port FsFat to CCS compiler and I can't be able to achieve this. I'm struggling with two errors and i don't know how to resolve...please if anyone have a idea, very apreciated!
...
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2020 3:43 am   Subject: Wrong ADC measure, with offset.
Finally i got it, it's caused by an analog pin, if I disable this pin, the adc gives me the correct value. This pin is actually floating, if I set to GND, the adc reads fine all other analog pins...
...
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2020 1:03 am   Subject: Wrong ADC measure, with offset.
Hi,



I created a basic project, read the ADC (created with the CCS Wizard) and CCS IDE and it works, read the correct value...


The other project was created with Eclipse and CCS compiler, ...
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2020 12:21 am   Subject: Wrong ADC measure, with offset.
I don't remember...i made this pcb months ago haha. Yes, should have it.

I use a 10R for two reasons:
- To avoid fast transitions and coupling in the nearest tracks. In this case, is not "man ...
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2020 5:24 am   Subject: Wrong ADC measure, with offset.
i hope this img can be useful

https://imgur.com/a/0dVoKAM

thanks
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2020 3:25 am   Subject: Wrong ADC measure, with offset.
You say it is fine, but are you actually testing the pin on the chip?.
My suspicion is you have a bad connection somewhere.

Way to proceed, set the ADC up to use Vss to Vdd as the reference,
and ...
  Topic: Wrong ADC measure, with offset.
afk_pic

Replies: 21
Views: 43065

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2020 12:10 am   Subject: Wrong ADC measure, with offset.
OK.. Good.

Now do the same with the Vref pin.

I've checked, and your compiler does set everything up correctly. So
something is making it 'think' the voltage is high. The other possibility
w ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group