cancel
Showing results for 
Search instead for 
Did you mean: 

AZRTOS and FTP support

GreenGuy
Lead

STM32CubeIDE

Version: 1.14.1

STM32CubeMX - STM32 Device Configuration Tool

Version: 6.10.0-RC9

Build: 20231120-2037 (UTC)

OS: Linux (Mint 21)

I am trying to add support for FTP support using CubeIDE.  In the Software Packs Component Selector, under Network NetXDuo> NetXDuo> there are several Addons that can be applied.  One that I am currently using is Addons Web Server and that is working.  However, I do not see a selection for FTP.  I do find in the software packs repo for STM32H7 (version 3.2.0), in the Middlewares/ST/netxduo/addons folder another folder called ftp.  This folder contains the nxd_ftp_server.c and nxd_ftp_server.h files I need to support ftp service.  If I add those files to my project, in the same place the web addons are kept, when I regen the project the files I added are taken away.  It seems like there should be several more options available in the Software Packs selection so CubeMx knows to add them or at least not take them away. 

 

I guess for now, if have to put them in a safer location.  A little annoying.  

21 REPLIES 21

I worked out a FTP implementation for my project - I do have a 743 with usb memory key under filex - and it works with filezilla (read-write-delete both way) with some limitations: NO TLS support as now - that is ok in my project as my devices will not have port 21 accessible for outer world - code is alpha (proof of concept stage) and everybody who wants to work with me on this topics, welcome

Hey mbarg.1,

I found a solution to the problems with the AZRTOS Web Server and FTP Server. The main issue was the memory. I found a better memory assignment for all the tasks and got it working. As for the SD card, I made myself a board with an eMMC chip that gave me 8 GByte of storage. 

Intector_0-1732741694898.jpeg

It's the Kingston EMMC08G-MV28-01J10. It works very well on the NUCLEO-H753ZI board. The web server grabs files from the filesystem on the eMMC chip. 

I just finished my upgraded "NUCLEO-MEM" board.

Intector_1-1732742046779.jpeg

Intector_2-1732742074694.jpeg

This board has the Kingston EMMC08G-MV28-01J10, an APS6408L-OBM-BA 8 MByte PSRAM, and an LXMS21ACMD-220 which is an UHF-RFID Impinj Monza4QT chip. I'm in the middle of testing it and hope it'll run OK.

The annoying issue with the STM32CubeMX code generation is that overwriting code still exists, but I mainly use VisualGDB from SysProgs for development, which is much better than STM32CubeIDE.

VisualGDB - Serious cross-platform support for Visual Studio