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

Large Table

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



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

Large Table
PostPosted: Mon Jan 10, 2005 3:55 pm     Reply with quote

In an 18F4620, can I have a single table with 5000 characters?


byte const table1[5000]={"... 5000 CHARACTERS HERE...."};


So far, my test table shows everthing in the table is "\0"
RossJ



Joined: 25 Aug 2004
Posts: 66

View user's profile Send private message

PostPosted: Mon Jan 10, 2005 6:19 pm     Reply with quote

I'm using PCWH 3.214 and your code seems to works fine. The .HEX file contains the correct data. However, I didn't check to see if the wrapper code correctly returns the correct byte value. What's in your HEX file? Maybe this is a fault in the retrieval code (returning zero), and not the inserted data. Take a look at the LST file (you will need to edit the device file and comment out the NOLIST directive to see the generated const tables).
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