MCXN howto detect current running ROM version
I am using MCXN947 on FRDM_MCXN947
There are errata to upgrade the ROM version
see also https://community.nxp.com/t5/MCX-Microcontrollers-Knowledge/MCX-N94x-N54x-Boot-ROM-update-to-vT1-1-5...
"Mask Set Errata for Mask 1P02G"
how can I detect in my source code the current status of my mcu?
- current mask?
- current ROM version
I do check all versions from the Flash API. And I get:
- ROMAPI K3.2.0, FLASHAPI F1.2.0, NOR 1.8.2, OTP E1.1.0, IAP I1.1.0
the code is similar to: addresses taken from Reference manual section: 13.2.1 ROM API structure
ptr = (uint32_t *)0x1303fc34;
data = * (uint32_t *)(*ptr);
printk("IAP %08X ", data);
But no item refer to "T" ????
How do I check the mentioned Mask type of the silicon?
I can check devicetype by querying SYSCON:
uint32_t devicetype = SYSCON->DEVICE_TYPE;
the DEVICEID0 is 0500008Bh
rom_patch_version: 0
the DIEID is 005209A1h
minor_revision: 1
But how does this data refer to Mask Number like: "1P02G" and ROM version like "T1.1.5" ???
Many thanks for more information,
Adib