Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ This repository contains the embedded software for the CATS Vega flight computer
* Accelerometric liftoff detection
* Fully open source
* Configuration is done over our application, no need to work with a CLI
* Explore rocket flights recorded with CATS flight computers at [CATS Flights](https://flights.catsystems.io/).
* Explore rocket flights recorded with CATS flight computers at [CATS Flights](https://catsystems.io/flights).

## Quick Links
- [CATS User Manual](./Cats%20User%20Manual.pdf)
- [CATS Configurator downloads](https://github.com/catsystems/cats-configurator/releases)
- [Firmware releases](https://github.com/catsystems/cats-embedded/releases)
- [CATS website](https://www.catsystems.io/)
- [CATS Flights](https://flights.catsystems.io/)
- [CATS Flights](https://catsystems.io/flights)
- [Discord community](https://discord.gg/r7ErmSNvsy)


Expand Down
17 changes: 11 additions & 6 deletions ground_station/RADIO-UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ new ROM session, but an interruption during final vector activation can require
programming result is ambiguous is quarantined until Ground Station restart or repair. This is the unavoidable safety
limitation of using the factory ROM instead of a resident custom bootloader.

The bootloader-entry request is `CMD_BOOTLOADER`, a zero payload length, and the usual frame CRC8. The receiver rejects
requests with a nonzero payload length and acknowledges entry before jumping to the ROM bootloader.

Receiver applications predating the `CMD_BOOTLOADER` implementation need a one-time ST-Link installation of a
ROM-capable production telemetry build. Units provisioned with the earlier protected custom-loader proof of concept need
a separate provisioning procedure. Older Vega firmware remains compatible with the ROM-capable telemetry application.
The bootloader-entry request is `CMD_BOOTLOADER`, a zero payload length, and the usual frame CRC8. Production telemetry
1.2.0 is the first version that supports this update entry protocol. The receiver rejects requests with a nonzero payload
length and acknowledges entry before jumping to the ROM bootloader.

Telemetry 1.1.3 and earlier cannot enter the updater. An attempted update receives no entry acknowledgement and stops
before ROM synchronization, erase, or write, so the installed application is not modified. Because a missing
acknowledgement is indistinguishable from an acknowledgement lost after entering ROM, the Ground Station quarantines the
attempted link until restart. These receivers need a one-time ST-Link installation of a ROM-capable production telemetry
build before Ground Station updates can be used. Units provisioned with the earlier protected custom-loader proof of
concept need a separate provisioning procedure. Older Vega firmware remains compatible with the ROM-capable telemetry
application.
10 changes: 10 additions & 0 deletions ground_station/gs-wsl-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,19 @@ test_self_test() {
"$project_root/tests/self_test.cpp" "$project_root/src/self_test.cpp" -o "$test_binary"
"$test_binary"
}
test_attitude() {
local test_binary="$build_dir/attitude-test"
g++ -std=c++20 -Wall -Wextra -Werror \
-I"$project_root/src" -I"$project_root/lib/VQF/src" \
"$project_root/tests/attitude_test.cpp" "$project_root/src/attitude.cpp" \
"$project_root/lib/VQF/src/vqf.cpp" -o "$test_binary"
"$test_binary"
}

timed dependencies prepare_dependencies
timed rom-bootloader-test test_rom_bootloader
timed self-test test_self_test
timed attitude-test test_attitude
timed build build_project
timed lint lint_project

Expand Down
7 changes: 0 additions & 7 deletions ground_station/lib/MadgwickAHRS/CATS-VENDORING.md

This file was deleted.

30 changes: 0 additions & 30 deletions ground_station/lib/MadgwickAHRS/README.adoc

This file was deleted.

24 changes: 0 additions & 24 deletions ground_station/lib/MadgwickAHRS/keywords.txt

This file was deleted.

9 changes: 0 additions & 9 deletions ground_station/lib/MadgwickAHRS/library.properties

This file was deleted.

250 changes: 0 additions & 250 deletions ground_station/lib/MadgwickAHRS/src/MadgwickAHRS.cpp

This file was deleted.

Loading
Loading