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

webserver & ext_mem

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



Joined: 02 Feb 2010
Posts: 235

View user's profile Send private message

webserver & ext_mem
PostPosted: Wed Sep 11, 2019 6:53 am     Reply with quote

Hello,

Is there anybody successfully run CCS's tcp/ip "ex_st_webserver3.c" example with web pages (mpfsimg2.bin) stored on external memory?
Also how to upload new image with tftp or browser like original Microchip example?

I'm playng with this development board: https://www.olimex.com/Products/PIC/Proto/PIC-P67J60/

I've successfully run example with mpfsimg2.bin stored in program memory.

Best Regards!
temtronic



Joined: 01 Jul 2010
Posts: 6805
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Sep 11, 2019 2:37 pm     Reply with quote

While I don't use that PIC or do 'web stuff', I had a quick look at the board and schematic. I would think that to get data from the external memory instead of pgm mem, you just need a 'wrapper' to access the data. Since the ext mem is an SPI device, CCS may have a driver for it , if not , one similar and just recode as required.

Be sure to copy the driver and edit the COPY, NOT the original file !
Jay
PCM programmer



Joined: 06 Sep 2003
Posts: 20759

View user's profile Send private message

PostPosted: Fri Sep 13, 2019 9:14 am     Reply with quote

A previous thread on this topic that may help:

PIC18F97J60 with external memory and TCPIP -
http://www.ccsinfo.com/forum/viewtopic.php?t=34397
kmp84



Joined: 02 Feb 2010
Posts: 235

View user's profile Send private message

webserver & ext_mem
PostPosted: Sat Sep 14, 2019 8:39 am     Reply with quote

Hello,

Every things work fine! The problem was my "windows tftp client". Now I have successfully run webserver with pages (mpfsimg2.bin file) stored on external spi flash (at45db010) through tftp server.

P.S I have used "TFTPUtil Client GUI".

Best regards.
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