![]() |
Elara Spacecraft
Source code & API documentation for Elara spacecraft system computers
|
This is the source code & API documentation for the Elara spacecraft computer system. For non-computer documentation, please see the Codeberg repository and the Elara Handbook.
The computer system is designed for an ARM Cortex-M architecture system that could eventually be used onboard the spacecraft. The system is hardware-agnostic and should be compatible with any Cortex-M3 Processor following the ARMv7-M architecture. Useful manuals and reference sheets can be found in the external resources folder in the repository.
Currently, the physical hardware we use for testing is an Arduino Due. Running on other hardware can be simulated via Qemu. We have verified the code to run in Qemu with an LM3S6965EVB board, whose datasheet can be found below. This board is one that has been used in other satellites before, hence why we have tested it.
make: Compiles the source files into /bin/kernel.imgrun: Loads and runs the image into qemuclean: Cleans the /bin/ folderdump: Provides a disassembly of the kernel.img file in /debug/cdump: Cleans the /debug/ folderdoxygen doxyconfig: Builds the HTML & LaTeX documentation using Doxygen, the HTML files can be found in tools/html and the LaTeX files can be found in tools/latex. This command needs to be run in the root of the spacecraft repository.Addresses and Registers
Regarding Issue #2:
-kernel flag is used to load the binary instead. This must be tested on actual hardware under multiple reset conditions (through configuring reset registers) to make sure an error like this can not occur under critical conditions.About UART