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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,008 次查看
gumu
Contributor V

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 项奖励
回复
1 回复

987 次查看
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 项奖励
回复