Hello scottm,
I ran some tests that I hope will help you. I get the UUID by modifying the “flashiap1” demo.
Xu_Zhang_4-1683281815995.png
It is recommended that you use FFR_GetUUID() to access UUID. You need to complete FLASH_Init() first.
The FFR_GetUUID() and FFR_Init() instructions can be found in the “fsl_iap_ffr.h” driver.
Xu_Zhang_5-1683281816012.png
Xu_Zhang_6-1683281816034.png
Access to UUID requires a call to FFR_Init()
If the system clock is greater than 100mhz, FLASH_Init() is faulty. If the system clock is greater than 100mhz, the flash erase/read/program is unavailable and the UUID cannot be read.
According to the Datasheet, the CPU cannot be higher than 100M for flash to run
Xu_Zhang_7-1683281816113.png
The UUID cannot be read directly. Since this address is protected flash region, FFR_GetUUID() is recommended.
I have put the modified program in the attachment