Hi
First thing to check is the following option in the primary Boot Loader :
#define iMX_BOOTLOADER_DEMO_MODE // limit size support and work with dummy keys (no eFUSEs used or programmed)If enabled it will not allow applications above a certain size to be started and also supresses any options that could lead to eFUSEs being changed (this is intended for demo modes to restrict its use and so simply ensure that a demo version will never change anything in the eFUSE area that cannot be reversed).
For developing this can be disabled (it usually is) and eFUSEs will in fact only be programmed when additional defines are enabled (usuall removed only when a secured product goes live).When building the loader concept there are defines for the location of the memory areas involved which can usually be left as they are - there is an overview and guide to modifying at
https://www.utasker.com/docs/iMX/SerialLoaderLayout.pdfThe serial loader uses the define
APPLICATION_FLASH_AREA_SIZE as default (this is the maximum size of application that it will accept and the size of application area that it will erase when loading -
the flash content after this area is not touched and, if used for file system and parameters, these will be preserved during new firmware loading.
To override the default when larger application are to be supported add
#define iMX_MAX_APPLICATION_SIZE (2.5 * 1024 * 1024)for example for 2.5Meg program size.
iMX_MAX_APPLICATION_SIZE will then be used instead of the default/standard size.
Regards
Mark