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 support@ccsinfo.com

EX_FAT.C not working

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
noyz



Joined: 31 Jan 2009
Posts: 59

View user's profile Send private message

EX_FAT.C not working
PostPosted: Sun Jun 12, 2011 9:38 am     Reply with quote

How is this possible pcwh comes with this example and it doesn't compile.

a lots of errors ..
but when i remove this line :
#device PASS_STRINGS = IN_RAM
only errors that remain are that attemting to make a pointer to a constant

ccs version 4.120
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 12, 2011 4:21 pm     Reply with quote

It compiles with no problems in MPLAB.
Code:

CCS PCH C Compiler, Version 4.120, xxxxx       12-Jun-11 15:19

               Filename: C:\Program Files\PICC\Examples\ex_fat.lst

               ROM used: 27754 bytes (21%)
                         Largest free fragment is 65528
               RAM used: 1381 (37%) at main() level
                         1806 (49%) worst case
               Stack:    17 locations


Executing: "C:\Program Files\PICC\Ccsc.exe" +FH "ex_fat.c" +DF +LN +T +A +M +Z +Y=9 +EA  #__18F4620=TRUE
>>> Warning 202 "ex_fat.c" Line 26(5,8): Variable never used:   rs232_errors
      Memory usage:   ROM=21%      RAM=37% - 49%
      0 Errors,  1 Warnings.
Loaded C:\Program Files\PICC\Examples\ex_fat.cof.
BUILD SUCCEEDED: Sun Jun 12 15:19:29 2011
noyz



Joined: 31 Jan 2009
Posts: 59

View user's profile Send private message

PostPosted: Thu Jun 23, 2011 4:46 am     Reply with quote

i figured out that # device - pass string in ram.. must be first line.. before fuses.. Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group