Skip to content

vmandrews/CSDC-OBC-Software

 
 

Repository files navigation

CSDC-OBC-Software

WE HAVE A NEW WIKI: https://bluesat.atlassian.net/wiki/display/OBCS/CubeSat+OBC-Software+Home

Quickstart Guide for SAM3X-EK Demo Application

The project's original source can be found here.

The following will help you set up the development environment necessary to Flash the FreeRTOS SAM3X-EK Demo onto any board with a ATSAM3X chip.

  1. Download the Atmel IDE from here. Atmel Studio 6 is built around Visual Studio 10 and works exactly the same way. It's well made, fully featured IDE.

  2. Open CORTEX_ATSAM3X_Atmel_Studio_demo/RTOSDemo.atsln to open the project. The source files should be viewable within Atmel Studio

  3. Do what you need to do via the solution explorer and navigating between files

  4. Hit F7, or go Build->Build Solution in order to build the project. The project should successfully compile with no errors. If not, try clean and Build again,

  5. (TBD) Burn the program onto the dev board using the SAM ICE

Applications

These are essentially the PortTask functions that will execute in the application layer. They will do most of the high level tasks for the CubeSat. This level is quite abstract and example applications could be

  • TelemetryReporter
  • PowerManager
  • AttitudeManager

Drivers

Drivers will be split into two categories:

  1. Low level drivers written by Atmel/Other Chip manufacturers.
  2. High(er) level drivers written by us for BLUEsat boards

The low level drivers should keep the same folder/code structure as provided by atmel (you may not even need to include them if you're staying in Atmel Studio)

The BLUEsat drivers will be things written by us used to control the boards and low-level things not currently handled easily by the Atmel drivers. Examples include

  • DebugWrite (through UART)
  • TransmitStringToEarth (*char outputBuff)
  • ReadCommandFromEarth (*char inputBuff)
  • SetAttitude(int angle1, int angle2, int angle3)

To Do

(Last updated Jan 24th 2015)

  1. Debug Terminal through UART - DebugWrite(char *outputBuffer);
  2. Comms drivers for CAN
  • CAN_Read(int channel_no, char* inputBuffer)
  • CAN_write(int channel, char* outputBuffer) (*see this code*)
  1. _
  2. _
  3. _

References

About

FreeRTOS Kernel, initially ported to the SAM3X series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.1%
  • C++ 7.8%
  • HTML 2.5%
  • XSLT 2.1%
  • Assembly 1.6%
  • Objective-C 0.7%
  • Other 1.2%