@Alice_Yang, I could use additional help with this as it relates to trustzone.
I have the latest MCUxpresso, and latest SDK (which updates FreeRTOS as well). I was able to get my existing MCUXpresso workspace/project/configuration converted to the new MCU (LPC5516). I was even able to get my IAR project to build after some modifications.
My problem is that my code wants to throw an exception when performing its initial task context - pretty much identical to what is detailed here:
FreeRTOS Cortex M33 NTZ, without MPU - Kernel - FreeRTOS Community Forums
I did get past my initial issue by following the issue in the above link, only to fault further down the line.
I do not need Trustzone. I evaluated my SECURE_BOOTCFG register and TSM_IMAGE_TYPE is set to 0x0, which means the trustzone configuration is "taken from application image header". So I must assume that something persists from my original selection of the LPC55S16 that is enabling trustzone. Can you please tell me how to make sure trustzone is turned off?