2112373_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2112373_en-US

2112373_en-US

MCXN howto detect ROM version

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



Boot ROM|Booting | FlashMCXNRe: MCXN howto detect ROM version

The link you posted specifically tells you one way to get the boot ROM version:  `blhost -- get-property 24`.

As for the mask number, it's on the chip silkscreen; e.g. the one in front of me says 1P02G.

Re: MCXN howto detect ROM version

Hello @theadib 

Thanks for your patience. I just come back from business trip.

I still haven’t got the information about the address of the ROM version. Please create a private ticket and mention me. https://support.nxp.com/s/?language=en_US 

Thank you.


BR

Alice

Re: MCXN howto detect ROM version

Hello Alice,


is there any feedback or reference link where I can look-up the process?


Many Thanks,


Adib

Re: MCXN howto detect ROM version

Hello Alice,

we have MCXN547 that are affected by ERRATA ERR052476ROM: Infinite reset loop entered when LVD event occurs

Regarding this document MCXNx4x_1P02G.pdf Rev. 2.0 — 23 January 2025 

This affects Mask 1P02G and ROM versions from T1.1.1 to T1.1.4.

To some we have updated the ROM version 1.1.5. That should solve the problem.


In order to identify all affected devices we now need to retrieve:

- MASK version

- ROM version


I assume those information are inside the MCU. How to access the information is not (clearly) documented.

Please help to get the information how to retrieve this version information.


Many thanks, Adib



Re: MCXN howto detect ROM version

Hello @theadib 

Thank you for your reply.

I can help confirm with the SE team. Before escalating this case, could you please clarify why you need to read the bootloader version in the application code? What is the specific application scenario?


BR

Alice

Re: MCXN howto detect ROM version

Hello Alice,

thanks for checking the UM.
Maybe the information is stored in some memory area or registers.
I assume that those information is not clearly indicated in the UM.

Could you double-check with the engineering team please?

Regards, Adib.

Re: MCXN howto detect ROM version

Hello @theadib 

The ROM version can only be read via ISP mode of the device.

I have checked the UM of MCXN947, it can't be read out in application code.


BR

Alice


Re: MCXN howto detect ROM version

I upgraded the ROM according to the instructions:
before I had value: T1.1.4
now I have: T1.1.5

All the values above from ROM API versions and also from  SYSCON are unchanged.

Re: MCXN howto detect ROM versionHello Robert,
the question was more about how to get the ROM version from within the application.
So that the application can say: I am running on old BIOS, please upgrade me.
regards, Adib
Tags (1)
No ratings
Version history
Last update:
‎03-08-2026 02:30 AM
Updated by: