AnsweredAssumed Answered

Implementing small HTTP and File server with TWR-MCF51CN128

Question asked by Mauro di Vito on Feb 27, 2014
Latest reply on Mar 4, 2014 by David E Seymour

Hello, I've been trying to setup a HTTP Fileserver with the TWR-MCF51CN128.

What I need to do is show a simple graphic user interface in the home page with data collected with the MCU, plus a button to download a .txt file with raw data inside.

I started with the security_webserver example project, but it uses the Trivial File System, which is read-only, and i need to update the .txt file in real time.

So tried to replace the TFS with the MFS, but apparently it's libraries are too heavy and wont fit in the MCF51CN's 128KB Flash Memory.

I've been trying to reduce the code size here and there, but apparentrly it isn't enough and I wouldn't like to have such a small margin.

 

So, my question is:

Is there a way to implement a smaller, writable file system so that it will fit the  MCF51CN's 128KB Flash Memory?

 

Thanks in advance to any clue to how to solve this problem. And I apologize for my english. Also, Im kind of new working with MCU's so it's very likely i've been missing something.

 

EDIT: Im using MQX 3.8

Outcomes