Page 1 of 1

Pictures from SD card for Webserver FileSystem

Posted: Mon Jun 29, 2020 4:08 pm
by Quantum8888
Hello!

I am working on basic W5500 Webserver, all files ( index.htm and pictures ) save in SD card.
HTML Web page working great, but I got problem in showing pictures.

I try to run simulation with this example "WebserverFiles.zip" I found in Wiki ( also in attach), and visit 192.168.1.104 by browser. Same issue shows up. Web page can't show pictures. Or get incomplete pictures from files folder like attach below:

Do you have working W5500 + SD card Webserver with pictures .fcfx for example?

B.R.

Peter

Re: Pictures from SD card for Webserver FileSystem

Posted: Thu Jul 02, 2020 10:25 am
by Benj
Hello,

Please can you attach your embeded project and I'll have a look at that for you. Could be the card is not being initialised correctly?

I am also getting corruption on the JPEG image which is odd as the bitmap file is working ok and that's a larger file. I'll dig in and see whats going on. Looking at the console it sends most of the JPEG data file but then towards the end it just starts sending out NULLs?
Firefox.jpg
Firefox.jpg (13.67 KiB) Viewed 1258 times
Console.jpg
Console.jpg (123.16 KiB) Viewed 1258 times
Nulls.jpg
Nulls.jpg (26.67 KiB) Viewed 1258 times