cancel
Showing results for 
Search instead for 
Did you mean: 

RTOS - FTP Server + USB

ariel2
Associate II
Posted on December 22, 2012 at 22:38

Hello,

I am aware that this question is not directly ST related and might lack details, but I'd appreciate your input.

Using STM32F4* device I'd to achieve the following tasks:

    File management (on SDCard)

    FTP server

    TCP/IP maintenance port (we’ll define the protocol, custom application)

    USB, Mass storage device (SDCard)

    CAN and Audio recording (to SDCard)

*All tasks are low priority, there isn't any demanding task.

Are there libs (free/commercial) that will help me with those tasks?

Do you know of an RTOS (free/commercial) that will incorporate those elements?

Thanks,

Ariel.
3 REPLIES 3
Posted on December 22, 2012 at 22:54

FatFs for accessing the structures on an SDcard, using stdio type file access functions.

There are SDIO examples in the firmware library.

There are USB MSC to SDcard examples in the USB library. Target EVAL series boards.

I've posted examples of FAT/MSC access to a MicroSD Card attached to an STM32F4-Discovery board, doing it on an F2 board is very similar.

Accessing the card via USB, and internal application is fraught with coherency issues, things you're probably not equipped to deal with.

Most any RTOS you can find probably has a port for the STM32 parts, FreeRTOS, uC/II

I would strongly suggest you review the available documentation, firmware examples, and use Google/Bing around the topics/keywords you're looking for.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ariel2
Associate II
Posted on December 23, 2012 at 12:23

Thank you clive1.

The only element I wasn't able to find was FTP server implementation (and not TFTP), can you guide me on that?

Posted on December 23, 2012 at 15:13

I'd probably go look for a socket based implementation, or read the RFC. Personally I prefer the simplicity of the HTTP protocol, the client and server both being relatively easy to implement with sockets.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..