EFM32

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(Basic)
(Install dfu-util)
第15行: 第15行:
 
* 使用 [https://github.com/arduino/dfu-utils-cross dfu-utils] 从 USB 口刷入固件程序...
 
* 使用 [https://github.com/arduino/dfu-utils-cross dfu-utils] 从 USB 口刷入固件程序...
 
* arduino core: https://github.com/todbot/ArduinoCore-EFM32
 
* arduino core: https://github.com/todbot/ArduinoCore-EFM32
 +
 +
<br>
 +
 +
=== Flashing the toboot ===
 +
 +
Brand-new EFM32HG will not have Toboot installed. Instead, they might have the SiLabs AN0042 bootloader.
 +
 +
The recommend way to load the bootloader onto a Chip is using a Raspberry Pi with OpenOCD. Instructions for doing this can be found in the openocd directory. You need OpenOCD version 0.10.0 or later to have EFM32HG support.
 +
 +
Tomu can be powered using the 3.3V pin, so you can create a sort of "programming wand" by bringing 3.3V, GND, SCK, and SIO out to a 0.1" header, running openocd in a loop, and touching the programming pins on the side of a Tomu board. The process only takes a few seconds, so contact doesn't have to be great.
  
 
<br>
 
<br>

2019年10月25日 (五) 17:47的版本

目录

1 Overview



2 QuickStart



3 Basic


3.1 Flashing the toboot

Brand-new EFM32HG will not have Toboot installed. Instead, they might have the SiLabs AN0042 bootloader.

The recommend way to load the bootloader onto a Chip is using a Raspberry Pi with OpenOCD. Instructions for doing this can be found in the openocd directory. You need OpenOCD version 0.10.0 or later to have EFM32HG support.

Tomu can be powered using the 3.3V pin, so you can create a sort of "programming wand" by bringing 3.3V, GND, SCK, and SIO out to a 0.1" header, running openocd in a loop, and touching the programming pins on the side of a Tomu board. The process only takes a few seconds, so contact doesn't have to be great.


3.2 Install dfu-util

The dfu-util suite of programs is used to talk to Toboot

Ubuntu and Debian

 sudo apt-get install dfu-util

Create /etc/udev/rules.d/10-tomu.rules and populate it with the following:

 ATTRS{idProduct}=="70b1", ATTRS{idVendor}=="1209", MODE="777"
 (Note: you can give it a more restrictive mode if you also give it a group that you’re in)


Windows

Download dfu-util-static.exe from the dfu-util repository and rename it to dfu-util.exe. Place it somewhere in your $PATH for convenience. To build examples, you’ll also want to get dfu-suffix.exe and put it in your $PATH.


Mac

Install Homebrew and run:

 brew install dfu-util






个人工具
名字空间

变换
操作
导航
工具箱