Smartfin FW v3
- firmware-tracker-5.3.0.bin from https://github.com/UCSD-E4E/smartfin-fw3/release/latest, stored at
${fw_path} - Particle Workbench from https://docs.particle.io/quickstart/workbench/
- Smartfin v3
- USB Cable
- Connect the Smartfin v3 to the computer using the USB Cable. The LED should become solid yellow.
- Open Particle Workbench
- Open the Command Palette
- Execute
Particle: Launch CLIin the Command Palette - Log in to Particle using
particle login - Put the device into DFU mode using
particle usb dfu. The LED should be blinking yellow. - Flash the firmware using
particle flash --usb ${fw_path}.
Please review the following pages:
| State | Color | Pattern |
|---|---|---|
| Charge | Yellow | Solid |
| Sleep | Black | Solid |
| CLI | Red | Solid |
| Deploying | White | Blink |
| Deployed | White | Fade |
| Connecting | Blue | Fade |
| Uploading | Blue | Blink |
| Condition | Battery LED State |
|---|---|
| No charger | LED OFF |
| Is charging and less than 60 ms have passed | No Change |
| Is charging and at least 60 ms have passed | LED Blinking |
| Not charging and less than 10 ms have passed | No Change |
| Not charging and at least 10 ms have passed | LED ON |
TODO
Run in a Linux environment
- Install build-essentials and cmake, gdb
- Ensure submodules are initialized and updated
- We recommend using a serial terminal such as PuTTY.
- Find the COM port for the Smartfin using Device Manager.
- Open PuTTY.
- Set the
Connection TypetoSerial. - Set
Serial Lineto the COM port discovered in Device Manager (e.g. COM3).
Note that there is no need to modify the Speed, as Smartfin uses Serial over
USB, which does not have a physical speed parameter.
- Select the
Terminalcategory. - Ensure the
Implicit CR in every LFcheckbox is checked. - Click
Open. - Type in
#CLIwithout hittingENTERto access the CLI.
- We recommend using a serial terminal such as
minicomorpicocom. - Find the tty port for the Smartfin by running
ls /dev/tty*in the terminal. - Open the port using the following command:
picocom --omap lfcrlf /dev/ttyUSB0
where /dev/ttyUSB0 is the correct TTY port for the Smartfin.
You may need to run this command as sudo if your user is not part of the
dialout group!
4. Type in #CLI without hitting ENTER to access the CLI.