回复
发帖数: 31
注册日期: ‎11-17-2016

对 emf32 的芯片如何加密?

是不是使用 energyAware Commander 在 flash 擦写保护中,直接保护,以及锁定 flash 和 user page?

 

但感觉量产的采用这个功能好像不是太方便,现在用的是官网的评估板,有没有别的硬件和软件工具了?

发帖数: 1,728
注册日期: ‎10-14-2014

回复: 对 emf32 的芯片如何加密?

I did not try this yet. Maybe you could consider to generate an image file with the lock word to be a specific value as below KB:

http://community.silabs.com/t5/32-bit-MCU-Knowledge-Base/Placing-an-array-at-a-specific-location-in-...

http://community.silabs.com/t5/8-bit-MCU-Knowledge-Base/Locking-flash-using-code-constants-and-BL51-...

 

Maybe you could also change the hex file manually to modify the lock word. Simplicity Studio also support change the binary or hex file to a specific byte.

http://www.silabs.com/documents/public/user-guides/ug162-simplicity-commander-reference-guide.pdf

 

Regarding the option to program the EFM32 device, you could refer to this link,

http://www.silabs.com/products/mcu/programming-options

 

if you are considering a 3rd party programmer HW tool refer to below KB:

 http://community.silabs.com/t5/32-bit-MCU-Knowledge-Base/3rd-Party-Programmers/ta-p/167422

 

My views are my own and do not necessarily represent the views of Silicon Labs

WeiguoLu
发帖数: 31
注册日期: ‎11-17-2016

回复: 对 emf32 的芯片如何加密?

@delu I can lock and unlock the MCU EFM32G880 ,but It seems that I lock the MCU EFM32ZG222 incorrectly.

发帖数: 1,728
注册日期: ‎10-14-2014

回复: 对 emf32 的芯片如何加密?

@damon

Do you mind tell me the detailed information how you lock and unlock the Zero Gecko.

How you determined lock and unlock fail on EFM32ZG222?

WeiguoLu
发帖数: 31
注册日期: ‎11-17-2016

回复: 对 emf32 的芯片如何加密?

@delu

 

when I luse the Simplicity Commander and Jlink to lock the EFM32ZG210 , it shows "chip successfully locked", but I can still download the code to the chip. In fact if I lock the EFM32G880 , I can never read or download the chip.

 

 

发帖数: 31
注册日期: ‎11-17-2016

回复: 对 emf32 的芯片如何加密?

@delu

 

I can only use Flash Erase/Write Protection to protect the  not being read, but I cannot lock debug access of the MCU.

 

Highlighted
发帖数: 1,728
注册日期: ‎10-14-2014

回复: 对 emf32 的芯片如何加密?

[ 已编辑 ]

I did not understand your operation procedure with Simplicity Commander.

Do you mind tell me the detailed procedure you have done and what difference you see for the Gecko and Zero device?

 

Procedure:

step1: connect the Zero STK with PC

step2: open simplicity commander.

....

 

You could read AN0062 and know how to verify the lock.

WeiguoLu