HTTP SD Card File Server

Dependencies:   SDFileSystem WIZnetInterface mbed

Fork of HTTP_SD_Server_K64F by FRDM-K64F Code Share

Prerequisite

This Program is the example how to show SD card file list with web-browser for WIZwiki-W7500.

To implement this function, you need a Platform board, network Interface board and SD card. Below are what we used.

  • WIZwiki-W7500 from WIZnet (Platform board and Ethernet I/F board)
  • SD card

Hardware Configuration

WIZwiki-W7500 Pin map

pin map

Software

SPI Initialization

main.cpp

SDFileSystem sd(PB_3, PB_2, PB_1, PB_0, "sd");

Refer to ....

Revision:
1:64f023138627
Parent:
0:28bc7ce77e20
Child:
3:4f71a37a1ed2
--- a/main.cpp	Sat Sep 07 04:43:57 2013 +0000
+++ b/main.cpp	Fri Dec 06 03:57:29 2013 +0000
@@ -105,6 +105,8 @@
 //    TCPSocketServer server;
     server.bind(HTTPD_SERVER_PORT);
     server.listen();
+    
+    init_dio(); //initialize pmd digital IO
 
     while (true) {
         printf("\nWait for new connection...\r\n");