为什么程序在MC9S12XEP100上可以正常擦除写入DFLASH ,移植到MC9S12XET256无法擦除写入

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

为什么程序在MC9S12XEP100上可以正常擦除写入DFLASH ,移植到MC9S12XET256无法擦除写入

1,153 Views
568581129
Contributor I

如题

Labels (1)
0 Kudos
1 Reply

320 Views
RadekS
NXP Employee
NXP Employee

hi ??,

your question contains Chinese characters. Please be aware that we provide support only in English language.

According Google translator:

Why program on MC9S12XEP100 normal erase write DFLASH, transplanted to MC9S12XET256 written can not be erased.

If that

Could you please specify whether you mean erase/write D-Flash by debugger or by application code?

Are you sure that appropriate part of D-Flash isn’t protected? The (part of) D-Flash will be automatically protected when we partition it for use as Emulated EEPROM.

Only way how to revert partitioning is trough Erase All Blocks command in special mode. The simplest way is using unsecure procedure:

In Code Warior debugger menu ->MultilinkCyclonePro->Unsecure…

If not work you can use unsecure12 from P&E:

http://www.pemicro.com/downloads/download_file.cfm?download_id=16


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos