cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Downloading error through Y Modem Protocol

ezyreach
Associate II
Posted on July 27, 2011 at 12:42

I am trying to upload the flash code using Y Modem protocol via Hyperterminal.

But i am getting an error saying,

''The image size is higher than the allowed space memory!''.

The target is STM32F100C8 - where the Flash memory - 64KB and SRAM - 8KB

Then i had checked the memory consumed in the map file and found the below,

Grand Total:                23 488(flash)    2 164(RO)    4 801(RW)

This error arises when the code size is greater than 25KB.

If the code size less than 25KB, then the code can be uploaded without any error.

Not sure where the problem exactly is.

3 REPLIES 3
trevor23
Associate III
Posted on July 27, 2011 at 12:47

Isn't the answer to search for ''The image size is higher than the allowed space memory!'' in the code that receives the YMODEM file or am I mising someting? Is the code that receives the YMODEM file a bootloader? Is it a bootloader you have developed/copied/tweaked?

Regards

Trevor

ezyreach
Associate II
Posted on July 27, 2011 at 12:53

Its the IAP bootloader from STM..

I have just used the IAP bootloader from STM and didnt do any alteration.

Posted on July 27, 2011 at 14:48

At least as of V3.2.0 the define FLASH_SIZE is controlled in common.inc, and checked in ymodem.c

You have the source code, I suggest you examine it. Check on what platform/cpu defines the IDE is passing into the compiler.

I'd look at the most current version, but I could only find PDF's for AN2557 in a quick search. ST's site is frustratingly organized.

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