View previous topic :: View next topic |
Author |
Message |
Rodrigo Rios A de Souza
Joined: 30 Apr 2010 Posts: 10
|
CCS Embedded WEB with PIC 18F4620 |
Posted: Fri Apr 30, 2010 1:05 am |
|
|
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: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Apr 30, 2010 10:13 am |
|
|
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
|
Embedded WEB |
Posted: Sat May 01, 2010 9:48 am |
|
|
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 |
|
|
|