EFM32
来自Jack's Lab
(版本间的差异)
(→Basic) |
(→Basic) |
||
第16行: | 第16行: | ||
* arduino core: https://github.com/todbot/ArduinoCore-EFM32 | * arduino core: https://github.com/todbot/ArduinoCore-EFM32 | ||
− | <br><br> | + | <br> |
+ | |||
+ | === 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 | ||
+ | |||
+ | <br> | ||
<br><br> | <br><br> | ||
<br><br> | <br><br> |
2019年10月25日 (五) 17:36的版本
目录 |
1 Overview
2 QuickStart
3 Basic
- 刷入一个 Bootloader --- toboot
- 使用 dfu-utils 从 USB 口刷入固件程序...
- arduino core: https://github.com/todbot/ArduinoCore-EFM32
3.1 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