SillyDay / EFR32

EFR32MG Series ZigBee Firmware
14 stars 8 forks source link

[REQUEST] How-to flash instruction in English for the README.md file? #3

Open Hedda opened 4 years ago

Hedda commented 4 years ago

@SillyDay Any tip on where to find wow-to flash instruction in English to add to the README.md file?

PS: Ordered mine from China but feels like if will take forever before will arrive in the European Union.

Jason2866 commented 4 years ago

@Hedda @SillyDay Which Jlink adapter (board version) is needed?

Hedda commented 4 years ago

@Jason2866 Read all the discussion about it here => https://github.com/zigpy/bellows/issues/243

If the Ebyte modules come with standalone bootloader firmware preloaded for boot then such standalone bootloader firmware usually is just enough to allow you to flash and upgrade the main application firmware via USB (without having to use a GPIO port / JTAG connector and Simplicity Studio or J-Link Downloader).

Summary:

EFR32 modules, like the E180-ZG120B by Ebyte, can least according to the Ebyte manual can flash the firmware on EFR32 module with J-Link Downloader

In the Ebyte E180-ZG120B manual, the burning program sais that GPIO pins for J-Link interface is:

If you are serious about flashing that firmware then checkout a Silicon Labs document called AN136

AN136 otherwise refers to other documents for many different methods, like SWD, JTAG, and C2:

Maybe it is possible to just use the Command-Line Interface (CLI) of Simplicity Commander as it supports using Serial Wire Debug (SWD) or Joint Test Action Group (JTAG) as the target interface?

MarkDing who work at Silicon Labs summarized their Serial Wire Debug (SWD) in their forum here:

The same @MarkDing also maintains a wiki about development with Silicon Labs IoT MCU SoCs: