Compare commits
No commits in common. "master" and "therm-eem" have entirely different histories.
@ -8,42 +8,33 @@
|
|||||||
|
|
||||||
### Flashing
|
### Flashing
|
||||||
|
|
||||||
Download the latest [booster firmware](https://github.com/quartiq/booster/releases/latest/download/booster-release.bin).
|
#### Easier way
|
||||||
|
|
||||||
Switch the booster into DFU mode by either inputting ``platform dfu`` in the serial console, or by turning it on while pressing the DFU button with a thin rod of some sort.
|
Download and unpack the [booster firmware](../extra/booster/booster0.5.0.tar.xz), and then:
|
||||||
|
|
||||||
Then you can use ``dfu-util``:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
nix-shell -p dfu-util
|
nix-shell -p dfu-util
|
||||||
dfu-util -a 0 -s 0x08000000:leave --download booster-release.bin
|
dfu-util -a 0 -s 0x08000000:leave --download booster0.5.0.bin
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Building from source (optional)
|
#### Build from source on Fedora 38
|
||||||
|
|
||||||
There is no Nix Flake support to make things easier, so you need to set up rust and cargo manually.
|
Creating proper Nix shell for updated Rust is quite troublesome, so the faster way is actually to use any
|
||||||
Start with cloning the booster repository and opening a new shell with dfu-util (for flashing) and rustup
|
classic Linux distribution:
|
||||||
(for building).
|
|
||||||
|
|
||||||
```shell
|
|
||||||
nix-shell -p dfu-util rustup
|
|
||||||
```
|
|
||||||
|
|
||||||
Set up the toolchain, this should be done only once:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
git clone https://github.com/quartiq/booster.git # download sources
|
||||||
|
sudo dnf install clang dfu-util
|
||||||
|
cd booster/
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install Rust, we need rustup
|
||||||
rustup target add thumbv7em-none-eabihf
|
rustup target add thumbv7em-none-eabihf
|
||||||
cargo install cargo-binutils
|
cargo install cargo-binutils
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
rustup update
|
|
||||||
rustup default stable
|
|
||||||
```
|
|
||||||
|
|
||||||
Building:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
cargo build --release
|
cargo build --release
|
||||||
cargo objcopy --release -- -O binary booster-release.bin
|
cargo objcopy --release -- -O binary booster.bin
|
||||||
|
# enter dfu mode by either serial terminal or
|
||||||
|
# press `DFU Bootloader` button while rebooting
|
||||||
|
dfu-util -a 0 -s 0x08000000:leave --download booster.bin
|
||||||
```
|
```
|
||||||
|
|
||||||
#### For version before September 2023 on NixOS
|
#### For version before September 2023 on NixOS
|
||||||
@ -63,27 +54,14 @@ cargo objcopy --release -- -O binary booster.bin
|
|||||||
dfu-util -a 0 -s 0x08000000:leave --download booster.bin
|
dfu-util -a 0 -s 0x08000000:leave --download booster.bin
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clearing settings
|
|
||||||
|
|
||||||
In case someone sets some setting wrongly, or updates the firmware and suddenly there's an incompatibility, you may find (firmware, not yourself) in a state of panic, where it will not allow you to change the settings back.
|
|
||||||
|
|
||||||
1. Get into DFU mode (described above), probably with jumper method.
|
|
||||||
2. Use dfu-util to clear the flash completely:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
dfu-util -a 0 -s 0x08000000:mass-erase:force:leave
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Reflash the target firmware.
|
|
||||||
|
|
||||||
### Basic setup via USB
|
### Basic setup via USB
|
||||||
|
|
||||||
1. `nix-shell -p cutecom mosquitto appimage-run`
|
1. `nix-shell -p cutecom mosquitto appimage-run`
|
||||||
2. Create mosquitto config `mosquitto.conf`, or use the one from Stabilizer repo:
|
2. Create mosquitto config `mosquitto.conf` with your bound address:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
%allow_anonymous true
|
bind_address 192.168.1.123
|
||||||
listener 1883
|
allow_anonymous true
|
||||||
```
|
```
|
||||||
|
|
||||||
3. `mosquitto -c mosquitto.conf -d`
|
3. `mosquitto -c mosquitto.conf -d`
|
||||||
@ -91,24 +69,7 @@ In case someone sets some setting wrongly, or updates the firmware and suddenly
|
|||||||
5. Connect to the Booster via `/dev/ttyACMX` port, baud 9600, switch from LF to CR on newer version
|
5. Connect to the Booster via `/dev/ttyACMX` port, baud 9600, switch from LF to CR on newer version
|
||||||
6. Send `help` command to check if it works
|
6. Send `help` command to check if it works
|
||||||
7. Enter commands (change details if necessary):
|
7. Enter commands (change details if necessary):
|
||||||
```shell
|
|
||||||
set /broker "192.168.1.123"
|
|
||||||
set /ip "192.168.1.79/24"
|
|
||||||
store /broker
|
|
||||||
store /ip
|
|
||||||
# apply changes and wait until it fully rebooted
|
|
||||||
platform reboot
|
|
||||||
```
|
|
||||||
|
|
||||||
Older version:
|
|
||||||
```shell
|
|
||||||
write broker "192.168.1.123"
|
|
||||||
write ip "192.168.1.75"
|
|
||||||
# apply changes and wait until it fully rebooted
|
|
||||||
reset
|
|
||||||
```
|
|
||||||
|
|
||||||
Oldest version:
|
|
||||||
```shell
|
```shell
|
||||||
write broker-address 192.168.1.123
|
write broker-address 192.168.1.123
|
||||||
# only if you need static IP address
|
# only if you need static IP address
|
||||||
@ -119,8 +80,17 @@ In case someone sets some setting wrongly, or updates the firmware and suddenly
|
|||||||
reset
|
reset
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Check if the Booster connects to your broker.
|
Newer version:
|
||||||
9. If you don't have it yet, download [MQTT Explorer](https://github.com/thomasnordquist/MQTT-Explorer/releases)
|
|
||||||
|
```shell
|
||||||
|
write broker "192.168.1.123"
|
||||||
|
write ip "192.168.1.75"
|
||||||
|
# apply changes and wait until it fully rebooted
|
||||||
|
reset
|
||||||
|
```
|
||||||
|
|
||||||
|
8. Check the Booster connects to your broker.
|
||||||
|
9. Download AppImage from [MQTT Explorer](https://mqtt-explorer.com/)
|
||||||
10. Run it with `appimage-run /path/to/MQTT-Explorer-XXX.AppImage`
|
10. Run it with `appimage-run /path/to/MQTT-Explorer-XXX.AppImage`
|
||||||
11. Connect to your MQTT broker
|
11. Connect to your MQTT broker
|
||||||
12. Restart booster to receive settings
|
12. Restart booster to receive settings
|
||||||
@ -181,25 +151,3 @@ extrapolate them for all channels._
|
|||||||
13. Do steps 1-10 for every channel
|
13. Do steps 1-10 for every channel
|
||||||
|
|
||||||
_Note: default setting values are usually the same across channels, so you can extrapolate them for all channels._
|
_Note: default setting values are usually the same across channels, so you can extrapolate them for all channels._
|
||||||
|
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
### Fans running constantly
|
|
||||||
|
|
||||||
If firmware is not running, the fans will be running at all times. There will also be no LED lights. It may be also the firmware doesn't have the chance to switch the fans off before a panic, so clearing settings may also help.
|
|
||||||
|
|
||||||
### Fans running high, slowing and high again in a loop
|
|
||||||
|
|
||||||
Possibly the firmware is panicking and rebooting. Try clearing the settings.
|
|
||||||
|
|
||||||
### No USB console available
|
|
||||||
|
|
||||||
There was a bug that causes [USB not to work on Windows](https://github.com/quartiq/booster/pull/166) in older firmware. Updating the firmware should be fine.
|
|
||||||
|
|
||||||
### Booster will not connect to MQTT
|
|
||||||
|
|
||||||
You may need to supply the IP address, if the device cannot get one from DHCP.
|
|
||||||
|
|
||||||
### Overload light is on even after interlock reset
|
|
||||||
|
|
||||||
Make sure you set the output interlock threshold high enough for your intended load, but also keep in mind that it cannot be not more than 47dBm. Similarly, reflected power threshold is at 30dBm, so if the input is high enough and output is not connected, it will also trip the lock.
|
|
@ -50,7 +50,6 @@ Urukul 4412 has higher frequency resolution (47 bit against 32 at Urukul 4410),
|
|||||||
|
|
||||||
* SU-Servo
|
* SU-Servo
|
||||||
* Synchronization
|
* Synchronization
|
||||||
* RAM
|
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user