Hi,
I have a custom board based on MCF52232 and Numonyx STM25P16 SPI flash. When I tried to upload a new upgrade bin image ( 0_Upload_Enc.bin ) which has a size of 71K, the FTP connection got timed-out. Even after deleting all the files in FTP ( using DEL *.* ) FTP connection still got timed-out.
But when I tried to upload files ( not the upgrade file, but some simple text files) which has size of less than 64k , the upload was successful.
In the app_hw_m5223x.h file, the following macros are enabled.
SPI_FLASH_ST
SPI_FLASH_STM25P16
#define SPI_FLASH_PAGES (32*256)
#ifdef FLASH_FILE_SYSTEM
#if defined SPI_FILE_SYSTEM // this is a test setup for external SPI FLASH, with the parameters at the end of internal FLASH
#define PARAMETER_BLOCK_START 0x1f000 // {34} FLASH location at 2 parameter blocks short of end of internal FLASH
#define uFILE_START 0x20000 // immediately after internal FLASH
Am I missing anything ??