04.01.2015 Views

AAU-Cubesat Ground Station Software Overview - CRN

AAU-Cubesat Ground Station Software Overview - CRN

AAU-Cubesat Ground Station Software Overview - CRN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3<br />

AX25 Protocol Process and Modem Driver<br />

3.1 AX25 Protocol Stack<br />

The communication protocol between the ground station and the satellite is chosen to be AX25, which is<br />

an amateur radio protocol. The protocol itself is implemented similar to the implementation on the satellite,<br />

which is described in the worksheet ”OBC <strong>Software</strong>”. Only the interfaces between the layers, upwards<br />

to the server and downwards to the mx909 are different, because the software is implemented on another<br />

physical platform.<br />

The mx909 (Mobitex) implementation is done on an evaluation board connected to the PC running the<br />

AX25 protocol through a serial line. Therefore the interface is defined for a connection through a serial<br />

connection.<br />

The interface between the layers inside the AX25 process is implemented using shared memory among<br />

the threads doing the actual work of the process. When sending information from one layer to another, it<br />

allocates memory for the information sent, it then inserts the information into a linked list and signals the<br />

other thread by means of a semaphore. When the other thread receives the signal, it takes the information<br />

from the linked list and acts upon it.<br />

Sockets are used as the interface to the server program. The interface is described in section 2.1.5.<br />

3.2 MX909 Modem Driver<br />

The modem driver for the MCB-167 evaluation board employs the exact same software as on the satellite,<br />

with the only difference being that the RTX166 operating systems is not used. Therefore the calls from the<br />

code to the operating system has been replaced with code that fulfills a similar functionality.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!