Thank you for your interest in NXP Semiconductor products and
the opportunity to serve you.
You should copy the data from SDRAM to SRAM before calling Copy RAM to Flash command.
About how much RAM area should be reserved when calling IAP commands, I think the section 6.4.5.8 RAM used by IAP command handler has illustrated it in details.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------