Reply
Posts: 2
Registered: ‎11-16-2016
Accepted Solution

efm8 programming using stk3700

Hi,

 

I would like to flash and debug my EFM8SB20F32G-A-QFP32, but I have only stk3700 board. Is there any possibilty to use it with C2 interface?

Highlighted
Posts: 75
Registered: ‎05-19-2016

Re: efm8 programming using stk3700

Perhaps this will help ?

 

https://github.com/x893/C2.Flash

 

 

Posts: 2,312
Registered: ‎10-14-2014

Re: efm8 programming using stk3700

I tried this on STK3800, and I successfully flash the EFM8UB1 STK.

The procedure:

1. upgrade the firmware in STK3800 (my side V14P3B159).

2. Connect STK3800 and EFM8UB1 STK  (VMCU,GND,VTARGET,C2D,C2CLK).

3. Deubug out mode.

4. force the device to UB10F16G.

5. Use flash programmer to program the UB1 blinky hex file to UB1 STK.

6. LED blinked.

 

Be noted that the C2D and C2CK is pin 7 and 9 on the STK3800 DEBUG header.

Good luck.

WeiguoLu
Posts: 2
Registered: ‎11-16-2016

Re: efm8 programming using stk3700

Thanks for your help. Now I am trying to choose right uC for my project and I have two uC: EFM8SB20F32G-A-QFP32 and EFM32ZG110F32-QFN24T so I think the best way to solve my problem is using the second one with SWO interface. @deluAre you sure that pin 7 and 9 are compatible with C2 interface? because in USER MANUAL for STK3800 there is only information about SWO interface.

Posts: 2,312
Registered: ‎10-14-2014

Re: efm8 programming using stk3700

I did not spend much time to check the hardware of the STK3800, but I successfully program the EFM8UB with the STK3800 yesterday.

If you have the STK3700 and EFM8SB2 STK you could try similar procedure.

Though the user guide of STK3800 did not mention C2 support , I think the reason is that at that time the J-LINK still not support C2.

I think the J-LINK hardware is similar for EFM8 and EFM32 STK.

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

WeiguoLu