This repository contains software for the TSAT5 (2018-2020) Command and Data Handling (CDH) board. The directory structure is like so:
- /cdh-tsat5-libero contains the Libero project required for configuring the device.
- /cdh-tsat5-softconsole contains the SoftConsole project required to write and debug the software.
This project requires the Microsemi Smartfusion2 Maker Board.
This project requires SoftConsole 4.0 and Libero 11.9.2.
- Open the *.prjx found in cdh-tsat5-libero, with Libero 11.9.2.
- Connect the MSR board to the computer.
- In the "Design Flow" panel on the left, double-click "Run PROGRAM Action".
- Select the root folder (i.e. cdh-tsat5) as your SoftConsole workspace.
- Go to File -> Import.
- On the Import window, select General -> Existing C/C++ Projects into Workspace.
- Add "cdh-tsat5-softconsole" to your workspace.
- To build the SoftConsole project, go to Project -> Build All, or use Ctrl-B.
- Go to Run -> Debug Configurations.
- Double-click GDB OpenOCD Debugging to create a new Debugging configuration.
- Under the "Main" tab, browse and select the "cdh-tsat5-softconsole" project as the project.
- Under the "Debugger" tab, change the Config options to: "--command "set DEVICE M2S010" --file board/microsemi-cortex-m3.cfg"
- With the MSR board connected, click "Apply", and then "Debug" to run the software.
The software is partially covered with unit tests in the tests branch. When adding to the master branch, checkout the tests branch, and use git merge your-branch. Run the tests using instructions on the README of this page: https://github.com/Speuce/cdh-tsat5/tree/master/cdh-tsat5-softconsole/test/gtest. Ensure the tests pass and add tests to the test branch if necessary before creating your PR. After merging your PR, push your merge and changes to the tests branch.
This project is available under the MIT license.
- Maker Board IoT Demo project: https://www.digikey.com/eewiki/display/microcontroller/Getting+Started+with+the+Microsemi+SmartFusion+2+Maker-Board
- Maker Board "First Project" Demo: https://github.com/tstana/M2S010-MKR-KIT_FirstProj/wiki
UMSATS is a student driven group that works to build 3U nanosatellites to compete in the Canadian Satellite Design Challenge (CSDC). Our website can be found here: http://www.umsats.ca/