MCXN howto detect ROM version

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCXN howto detect ROM version

949件の閲覧回数
theadib
Contributor I

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

 

 

ラベル(2)
0 件の賞賛
返信
7 返答(返信)

943件の閲覧回数
theadib
Contributor I

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.

0 件の賞賛
返信

909件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信

891件の閲覧回数
theadib
Contributor I

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.

0 件の賞賛
返信

865件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

710件の閲覧回数
theadib
Contributor I

Hello Alice,

 

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

 

Many Thanks,

 

Adib

0 件の賞賛
返信

668件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

831件の閲覧回数
theadib
Contributor I

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

 

 

0 件の賞賛
返信