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

problem with #ORG range in PIC18C601

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







problem with #ORG range in PIC18C601
PostPosted: Thu May 06, 2004 3:37 am     Reply with quote

If you have any problem with it I can help you. I spend two days on solve my problem with alocation my bootloader in upper memory and I've been lucky.
Remember that area in #ORG can't overlap two defferent segments, and sometimes you can meet bug in compiler CCS "561 : Internal Error - Contact CCS PC_PR".
Very usefull can be file *.sta where you can see segments in your project:

Code:
Page ROM  %  RAM  Functions:
---- --- --- ---  ----------
0      2   0   0  Seg1
1      2   0   0  Seg2
1      2   0   0  Seg4
3    262  48   0  main

 Segment   Used  Free
---------  ----  ----
00000-00002     4  0
00004-00018     0  22
0001A-0FFFE     2  65508
10000-1FFFE     4  65532
20000-2FFFE     0  65536
30000-3FDFE     0  65024
3FE00-3FFFE   262  250


My compiler is: PCH 03.185
Good luck Very Happy
my e-mail: jarek@eltek.com.pl
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Thu May 06, 2004 4:26 am     Reply with quote

If you believe you have found a bug, it's a good idea to report it to CCS as well so they can fix it in the next version.
jaremek
Guest







PostPosted: Fri May 07, 2004 4:48 am     Reply with quote

Yes I found 1 bug but it is not so important. I meant that I found information which are not written in CCS documentation and are important for programmers who wants to use #ORG in his project.
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