I can unsecure the MCU(S12 and secured) with usb multilink, but I can't erase flash data?

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

I can unsecure the MCU(S12 and secured) with usb multilink, but I can't erase flash data?

ソリューションへジャンプ
1,514件の閲覧回数
daviddai
Contributor I

Hi,

 

I use HI-WAVE and USB BDM Multilink to debug my MM912H634,

 

Step1: I unsecure the MCU, passed.

Step2: I click HC12Multilink->Flash...

 

then warning as below,

 

"Error while loading diagnostics to target system.

The chip may be secured, or the derivative selected be wrong."

 

So I can't access to the flash to erase it.

Any reason?

 

Thanks a lot!

 

Best Regards

 

David dai

ラベル(1)
0 件の賞賛
返信
1 解決策
1,074件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi David,

Unfortunately there isn’t any feedback after unsecure script whether it procedure was executed successfully or not.

Typical issue:

MM912H634 contains analog and MCU dies.

We have to ensure that analog die will not interrupt our communication by watchdog reset.

Therefore we have to connect 7V-10V voltage at TCLK pin for disabling watchdog at analog die.

If you use KIT912H634EVME Evaluation Board, please set J7 jumper into position 1-2.

If you use KIT912H634EVME Evaluation Board and USB BDM Multilink, you should also disconnect TBDML interface from BKGD and REST pin by disconnecting JP14, JP15 jumpers. Otherwise TBDML interface could interact with external BDM interface.

For complete mass erase by BDM device (in special mode) you can use also unsecure12 tool from P&E:

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

Unsecure_12 Help Files:

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

Note: For downloading is necessary registration.

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!
-----------------------------------------------------------------------------------------------------------------------

EDIT: fixed range for Watchdog Disable Voltage.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,075件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi David,

Unfortunately there isn’t any feedback after unsecure script whether it procedure was executed successfully or not.

Typical issue:

MM912H634 contains analog and MCU dies.

We have to ensure that analog die will not interrupt our communication by watchdog reset.

Therefore we have to connect 7V-10V voltage at TCLK pin for disabling watchdog at analog die.

If you use KIT912H634EVME Evaluation Board, please set J7 jumper into position 1-2.

If you use KIT912H634EVME Evaluation Board and USB BDM Multilink, you should also disconnect TBDML interface from BKGD and REST pin by disconnecting JP14, JP15 jumpers. Otherwise TBDML interface could interact with external BDM interface.

For complete mass erase by BDM device (in special mode) you can use also unsecure12 tool from P&E:

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

Unsecure_12 Help Files:

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

Note: For downloading is necessary registration.

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!
-----------------------------------------------------------------------------------------------------------------------

EDIT: fixed range for Watchdog Disable Voltage.

0 件の賞賛
返信
1,074件の閲覧回数
daviddai
Contributor I

Hello RadekS,

Thanks for your response.

I already sovled this issue.

I disconnected REST and REST_A and connect REST to BDM directly,

then everyting is ok, I can unsecure and flash MCU right.

I think the root cause is kind of what you said.

Thanks!

Best Regards

David dai

0 件の賞賛
返信