View previous topic :: View next topic |
Author |
Message |
kmp84
Joined: 02 Feb 2010 Posts: 354
|
webserver & ext_mem |
Posted: Wed Sep 11, 2019 6:53 am |
|
|
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: 9243 Location: Greensville,Ontario
|
|
Posted: Wed Sep 11, 2019 2:37 pm |
|
|
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: 21708
|
|
|
kmp84
Joined: 02 Feb 2010 Posts: 354
|
webserver & ext_mem |
Posted: Sat Sep 14, 2019 8:39 am |
|
|
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. |
|
|
|