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_RS485.c compile error

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



Joined: 17 Oct 2005
Posts: 26

View user's profile Send private message

EX_RS485.c compile error
PostPosted: Thu Oct 12, 2006 6:54 am     Reply with quote

hi trying to complie rs485.c example program that comes with the complier (3.245) and it keeps coming back saying out of ROM a segement of is to large main 0003f

anyone know why im getting this error or how to fix it i have not change the example in any way


many thanks morebudwiser
Ttelmah
Guest







PostPosted: Thu Oct 12, 2006 7:01 am     Reply with quote

rs485.c, is not meant to be compiled. The 'example', is ex_rs485.c (in the examples directory, not the drivers directory), which then loads this part as an include file (why CCS used .c as an extension, rather than .h for this file, I do not know). rs485.c, needs the extra definitions in the example file, before it'll compiler.

Best Wishes
morebudwiser



Joined: 17 Oct 2005
Posts: 26

View user's profile Send private message

Ex_rs485_chat.c
PostPosted: Fri Oct 13, 2006 3:34 am     Reply with quote

hi sorry i meant rs485_chat.c will not complie
Ttelmah
Guest







PostPosted: Fri Oct 13, 2006 3:42 am     Reply with quote

Er. Don't know of any such example (rs485_chat.c).....

Best Wishes
Guest








PostPosted: Fri Oct 13, 2006 4:18 am     Reply with quote

hi it is listed in the complete examples list on ccs web site as Ex_rs485 and its function is Simple messenger utilizing RS485

many thanks morebudwiser
Ttelmah
Guest







PostPosted: Fri Oct 13, 2006 7:28 am     Reply with quote

That is ex_rs485.c, which is included with the compiler, not 'ex_rs485chat.c', or 'rs485.c'. The version that comes with the compiler, will compile OK. The latter version (which is what you get if you download it seperately), will give problems depending on your compiler version, unless you use a chip with more ROM (16F648A).

Best Wishes
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