Hi,
I have MCF52232 based custom board with STM25P16 SPI flash.
In one of my earlier attempt, I built the uTasker v1.4.0 image with Codesourcery GNU tool chain. The board was successfully brought-up with this image. Once it is done, I tried to upgrade newer image ( which was built using same codesourcery, with the size of 85KB), the upgrade never happened.
During my investigation, I tried to upload the HS.BIN image via FTP. I would expect this image will occupy location "H" and "I". in the file system. When I tried to get the FTP image using "GET" command of ftp, I can fetch only 64K of the image.
ftp> put H_Upload_Enc.bin
200 OK.
150 Data.
226 OK.
ftp: 88506 bytes sent in 0.35Seconds 252.15Kbytes/sec.
ftp> get H.BIN
200 OK.
150 Data.
226 OK.
ftp: 65531 bytes received in 0.18Seconds 362.05Kbytes/sec.
Could you please help me to understand this problem, why I couldn't fetch the entire file ?. I believe the bootloader is failed to load the entire file from the uTasker file system into the internal flash ( location 0x1000).