S32K144 EEPROM partition error

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

S32K144 EEPROM partition error

835 次查看
lengrudie
Contributor III

I use S32K144-Q100 .

By default, the FlexNVM partition of the chip is 4 (that is, 64k E-Flash), but I want to change it to partition code 3 (that is, 32k E-Flash), but after using the 0x80 command, an ACCERR error is prompted. Please give me a suggestion on how to change the partition code?

Look forward to your reply.

标记 (1)
0 项奖励
5 回复数

824 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi lengrudie,

Please read the "3.1.1.1 Program partition command requirements" of AN11983: Using the S32K1xx EEPROM Functionality – Application Note

3.1.1.1 Program partition command requirements.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励

814 次查看
lengrudie
Contributor III

I did not notice this information, thank you! I tried to use the erase instruction 0x44, but this instruction will also prompt an ACCERR error after it is executed. What's the matter? I hope you can give me some advice and look forward to your reply! thank you!

0 项奖励

811 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Partitioning must only be done once. Please mass erase the MCU.

3.1 S32K1xx EEE partitioning.png

0 项奖励

801 次查看
lengrudie
Contributor III

When I use JLINK to execute, the chip locks and prompts "Device is secure, Erase to unsecure?"Does that mean the chip will not work?Can I solve it?

0 项奖励

795 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

How did you mass erase? SEGGER J-Link Commander and J-Flash is able to mass erase. Click Yes when prompts "Device is secure, Erase to unsecure?" should also trigger mass erase. After mass erase, you should able to program the chip again. If not, please check the values of MDM-AP status and control registers by refer to: Unbricking S32K146

0 项奖励