Hello
I met the same issue as the customer did. And of course we know it should run in RAM.
But when using IAR for the example, and if using the Ram icf ,it could be ok
And when using the flash icf for download, actually it will happen same issue as the customer did.
I tried set __ramfunc for the initFlashForCsecOperation, but it doesn't work.
Did you try using the flash icf file for the example?