AnsweredAssumed Answered

Erase/Write operation using IAP commands is not working in the same bank

Question asked by pon alagappan on Nov 21, 2016
Latest reply on Dec 16, 2016 by Thibaut Dontail

I am trying to erase/write flash bank A sectors 9-14 of lpc18xx. My code resides inside sector 0-8. For using IAP commands in the below link is suggested to run IAP functions from RAM.

 

IAP write problem - using the same memory bank for bootloader and application 

 

I am not getting, how to use attributes to run these functions from RAM. I tried with 

__attribute__((section("RAM_func")))

but it is not working, i am missing something. i am not getting the correct steps?

 

Can anyone explain the steps. any link of example codes

 

Thanks

Outcomes