Reply
Posts: 6
Registered: ‎03-28-2017
Accepted Solution

Debug disable for efm32gg

i am trying to disable debug for efm32gg for disabling the microcontroller for further programming.
i have written 0x00 to the location 0x0FE041FC(debug lock).

now if i try to load another program onto the microcontroller then "Invalid ROM Table" error message appears and then Flash Download failed appears.
when i set the debug settings(Cortex-M Target Driver Setup -> debug) to

Connect: normal

Reset: Autodetect

then i get Serial number and device name

and when i set

Connect: under Reset

Reset: HW RESET

i dont get the serial key and device info..
have i successfully disabled debug feature or is it something different causing the problem.
please help

Highlighted
Posts: 257
Registered: ‎08-16-2012

Re: Debug disable for efm32gg

 

You can use Segger J-Link commander to check the device is locked or not (see picture below).

 

lock.png

My views are my own and do not necessarily represent the views of Silicon Labs
Posts: 6
Registered: ‎03-28-2017

Re: Debug disable for efm32gg

is there any alternative way because i dont have a jlink, i only have a ulink

Posts: 257
Registered: ‎08-16-2012

Re: Debug disable for efm32gg

An alternative way is to use another MCU to read the IDR value of the locked MCU, you can find related information in section 2.7 of AN1011.

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