Hi,
Yes, it need to call the ROM Flash API to do LPC54608 Flash operation.
Customer call the the ROM Flash API from secondary bootloader is IAP command handler.
From the chapter 41.3.8.3, the Flash programming commands use the user stack space and may use up to 128 bytes.
So, please refer below link to reserve RAM for IAP flash programming:
Reserving RAM for IAP Flash Programming | www.LPCware.com
And customer also could refer below thread for more detailed info about secondary bootloader application:
IAP RAM Requirements? | www.LPCware.com
Wis it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------