MM9Z1-638: EEPROM access to an illegal address range issue

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

MM9Z1-638: EEPROM access to an illegal address range issue

428 Views
gumu
Contributor IV

Dear Sir,

During recent debugging, it was discovered that there is an "access an illegal address range" issue with the EEPROM. I would like to understand what are the usual reasons that lead to this problem.

MMCEC code is 0x1331。

gumu_0-1695192163775.png

 

 

0 Kudos
1 Reply

407 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @gumu,

What is the content of the MMCPC register?

There should be a value of the PC at the time of the illegal access.

In the disassembly, you should be able to find the fault instruction at the PC address.

 

MM9Z1-638 has the same MMCV1 module as all the other S12Z MCU where ERR[3:0] = 1 is described as "illegal access" that is specified in the datasheet.

danielmartynek_0-1695216340243.png

danielmartynek_1-1695216385662.png

 

Regards,

Daniel

 

 

 

0 Kudos