Hi,
we want to use the flash API (using fsl_iap.c) for a 2nd stage bootloader as well as to save some application data. It is not clear to me whether the functions in ROM (called by fsl_iap.c) use some ram (besides the stack).
Referring to UM11126 (Rev. 2.4) chapter 8.3.4.2:
"Below regions are reserved for bootloader use when the bootloader is running. The heap
and the BSS, RW section need to be reserved for the ROM API use before calling the
ROM APIs in user application (IAP scenario)."
The picture below this text indicates a RAM usage from 0x30000000 to 0x30005000 which would be the first 20k of RAM in secure access mode.
Does this only apply when the whole ROM bootloader is run (then the text above is misleading) or also when I do call the flash API (erase/program/verify) - which is normally called "IAP"? The latter case would imply that I must reserve the 20k of RAM and can not use them while doing some flash programming.
Regards
Clemens