Hi Liu,
I am not sure whether it is a reason for your issue, but the default P&E_Multilink_USB_Erase_unsecure_hcs12p.cmd file contains reset command prior unsecure.
After reset, the bus clock (source for flash clock) is 6.25MHz. Therefore, you should set FCLKDIV to 5, instead of 16.
Please try correct FCLKDIV value.
If that will not work, please try Unsecure12 tool directly from PEmicro (when you use PEmicro or OSBDM debugger).
http://www.pemicro.com/downloads/download_file.cfm?download_id=16
Sometimes, this could help.
I hope it helps you.
Have a great day,
Radek
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------