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

CCS Embedded WEB with PIC 18F4620

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Rodrigo Rios A de Souza



Joined: 30 Apr 2010
Posts: 10

View user's profile Send private message Send e-mail MSN Messenger ICQ Number

CCS Embedded WEB with PIC 18F4620
PostPosted: Fri Apr 30, 2010 1:05 am     Reply with quote

Hi guys,

I'm having some problems with pages using User program memory.

I'm currently running very well all web sites that don't contain any image file.

If I put some file like 10kb or more, the CCS compiler gives the follow error:
Quote:

Out of ROM. A Segment or the program is too Large

Any ideas????

Bye,
Rodrigo Rios
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Apr 30, 2010 10:13 am     Reply with quote

Yep!


The Image is too big and is filling up your memory space!

There's only so much flash ya know.

If you need images, consider moving the web pages to an external flash IC which then can be loaded up with an MPFS image.

I just did a project with an SST flash that was 2MB in size (16Mb) -- it was very nice and plenty of room for stuff.

Also keep in mind, this isn't going to work well holding uncompressed BMP's.

Make sure your images are only as large as they need to be!

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Rodrigo Rios A de Souza



Joined: 30 Apr 2010
Posts: 10

View user's profile Send private message Send e-mail MSN Messenger ICQ Number

Embedded WEB
PostPosted: Sat May 01, 2010 9:48 am     Reply with quote

Thks for the reply,

I am using MPFS for eeprom now but i can use FAT16 or EEPROM, it depends on which one i choose on the webserver example that comes with the Embedded WEB developer KIT .
I think i will buy a Flash IC card. But i donĀ“t have any ideas about the size and other specs. Which one do you recommend? about the size can it be 1GB or less????
All this stuff is related to my final project in computer Engineering.
I am quite new to micontrollers... only have 6 months of experience.

I have to hurry up.
Thks a lot, regards,
Rodrigo RIos
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