# Logbook master's thesis
###### tags: `tm` `master`
## Week 19 - 20
Documentation & report
## Week 18
### Thu 21.01
Reactivate EventAction with PUS
Draw groundInterface logic for PUS vs GDS on LucidChart
Rename EventAction and document it correctly (sdd.md and UML)
Improve PUS GS for PUS3-5 data display
### Wed 20.01
Weekly meeting
Call with Charles for Hk reports logic
Integrate Hk reports in TlmChan
Simulation with ADCS and EPS
### Tue 19.01
PUSOpen dev session #2 - PUSOpen V1.2 + buffer sizes
Call with Charles concerning PUS3 TM
Update PUSOpen and implement larger events downlink for PUS3
Modify PUS5 implementation, integrate PUSOpen into TlmChan component
### Mon 18.01
Clean topology by removing ref components
Prepare dev session
Intermediate report
Doc list channels for demonstrator
ActiveRateGroup analysis
## Week 17
### Fri 15.01
Modify PUSOpen GitHub handling
Bug with PUS buffer sizes, stack smashing detected (?)
Issue with large parameters for PUS3 data
### Thu 14.01
PUSopen GitHub considerations
Merge issues with Charles
Dev event (service 5) protocol
GitHub consideration for UT
Call with Charles
Proof-of-concept for downlink services, start argument handling
### Wed 13.01
Weeky meeting
Call w/ Charles concerning service 17 and 8 implementation
Improve mission database for demonstrator
Continue downlink services implementation
### Tue 12.01
PUSOpen developer session #2
Fix C/C++ issue
Services 3 and 5 implementation
Change TlmChn and ActiveLogger implementation for PUS integration
### Mon 11.01
Interemediate report
C/C++ issue tries
[personnal] Absent during the afternoon
### Week 16
### Fri 08.01
Packet/Frames protocol detailed analysis
Draw PUS integration for CHESS/F'
### Thu 07.01
PUSOpen developper session 9h-11h + PV
Charles-Lewis developper session 11h15-12h45
Amsat meeting 14h-16hmirin
Debug PUSOpen C/C++ integration issues
Frame analysis and PUSOpen layer decomposition for F' ccsds.org down
### Wed 06.01
Find PUSOpen integration issue → bug in Lib header..
Continue PUSOpen integration dev
Prepare developer session
### Tue 05.01
PUSOpen tests
Start PUSOpen integration into F' - Compilation issues with GroundInterface ?
### Mon 04.01
PUSOpen documentation
GroundInterface analysis
PUSOpen integration thoughts
## Week 15
### Fri 01.01
[Day off]
### Thu 31.12
[report] Proofreading, continue technical analysis
### Wed 30.12
[report] Context analysis (New space, Swiss Cube, CHESS, ...). Start technical analysis
### Tue 29.12
[report] Introduction (Objectives, plannification, structures, ...)
### Mon 28.12
[report] Report structure, glossary, start writing, collect existing doc/reports, ...
## Week 14
### Wed 23.12
Weekly meeting
Error on CMake when cross-compiling with last version → fixed
FreeRTOS static allocation tests
### Tue 22.12
Intermediate report
PUSOpen take in hand, Ground Interface analysis
Call with Charles concerning libcsp
### Mon 21.12
Kick-off meeting PUSOpen
Receive doc + lib, tests
Debug IPDriver on FreeRTOS, finalize OSAL UT
## Week 13
## Fri 18.12
FS pole meeting
Documentation and report
Debug FreeRTOS OSAL by modifying UT
### Thu 17.12
OS UT tests with Linux and FreeRTOS OSAL. Back in CMake :D
Debug issues with core functionnalities... → Flags problem
Queues work correctly (but ugly fix), the programm issue came frome tasks creation. Still investigating...
### Wed 16.12
Weekly meeting
PRR slides
Update guick start guide
Debug FreeRTOS queue
### Tue 15.12
Call w/ Maxime concerning Pi issues and DevOps considerations
Queue debug OSAL - Still an issue
GDS tests and feedback from Maxime concerning network issue, post on the forum
Bugfix issues with GDS launches
GDB set up on the virtual machine and on WSL
Call with HSLU concerning amateur transponder
### Mon 14.12
Radio amateur anaylsis for future call concerning I2C-SPI interface
OSAL Bugifx implmentation
Call with Karl and Charles concerning PRR
Intermediate report
## Week 12
### Fri 11.12
Pole meeting
CMAAAAAAKKKKEE : F' with FreeRTOS in now compiling, linking and running. OSAL implementation has to be finished, queue one requires attention.
### Thu 10.12
Able to replace Make by CMake for FreeRTOS
FreeRTOS integraton into F' CMake structure
### Wed 09.12
Weekly meeting
Continue fight with CMake
Create [repo](https://github.com/jonathanmichel/FreeRTOS-CMake) to explain issue and work done
Test fprime-gds with no GUI and fprime-cli to send/receive tc/tm both running on the Pi, works if App is run with GDS, not if not...
### Tue 08.12
Intermediate report
F' forum discussion
Call Charles
FS F' user guide redaction
Fight with CMake...
FreeRTOS OSAL implementation
### Mon 07.12
Pole leader team meeting with ConOps review and presentation of Valispace
Able to extract FreeRTOS example and cross compile it to run it on Pi
Ty to remplace FreeRTOS Makefile by Cmake
Struggling with Cmake
## Week 11
### Fri 04.12
Unable to launch GDS and F' independantly with WSL and/or Pi. Communication issues
FS Pole meeting
Bugfix GDS
FreeRTOS integration analyse
F' Cmake structure analyse
### Thu 03.12
Call Charles concerning network issues
Analyse F' port files
Compiling and running FreeRTOS Linux simulator on Pi
Abandon Vm to use WSL and try figure out how to communicate with GDS on WSL
### Wed 02.12
Weekly meeting
F' compilation for RPi, Pi set up
Fighting with VMWare network configuration to used F' GDS on Ubuntu with F' running on the Pi
### Tue 01.12
Intermediate report
Fix ut CmdSequencer
Merge dev and git considerations
### Mon 31.11
Pole leader meeting with FS presentation
Unit tests EventAction
Call with Charles-Lewis concerning driver code and unit tests
## Week 10
### Fri 27.11
FS team meeting
Reading Elveti doc
EventAction : Able to receive event and trigger sequence
Slides for EST FS presentation
### Thu 26.11
Design and implementation EventAction component, update topology, tests CmdSequencer, analysis sequence code
Tries GDB
### Wed 25.11
Weekly meeting
Command dispatcher/sequencer analysis to allow event-action behaviour
Analysis Sphinx F' topology
Finishing planning and mail to supervisors
### Tue 24.11
Intermediate report
Call with CL - Planing, FS logic implementation thought, etc
Planning
Active logger deep analysis
### Mo 23.11
Check ADCS doc for dummy component developed by CL
Write mail to Robin concerning watchdog
Discussion with Maxime concerning DevOps
Discussion with Michael concerning bootloader EEPROM
Call with Charles-Lewis concerning dummy ADCS
Modify health/ping to allow individual ping request to component
## Week 9
### Fri 20.11
FS Pole meeting
Dimitri requirements meeting
GitHub deployement - Test CIB bot, update F', etc...
Topology V1.1 with SPI1-2 bridge integration
### Thu 19.11
Commands/Events/Channels list
Analysis CmdSequencer and CommandDispatcher components
### Wed 18.11
Weekly meeting
OCB Pole meeting + PV
Update SPI driver logic
Corrections topology, separate Ref and CHESS topology
### Tue 17.11
Intermediate report
Check OBC requirements
Finish topology
Analyse cmd sequencer working
### Mon 16.11
Call w/ Nicolas Martinod
Topology again, 85% progress....
NDA with 12G
Check Solenix TM & TC Packets Definition Recommendations received from Yann Voumard
## Week 8
### Fri 13.11
Workshop pv
Admin requirements : Joachim, Dimitri and Michael
Continuing topology HDL
### Thu 12.11
Workshop preparation PUSopen
F' topology HLD
Afternoon workshop PUSopen
FS team meeting improvised after workshop
Fill services documents with 12Gfs feedback
### Wed 11.11
Weekly meeting
Call with Charles to decide next actions and discuss topology
F' topology high level design
### Tue 10.11
Read fprime-community Course materials
Configure sourcetrail for F' code
List all F' components in order to understand them
### Mon 09.11
F' finish reading advanced documentation
CLion configuration with Ref topoplogy
Analyse Ref topology
Intermediate report #7
## Week 7
### Fri 06.11
PUSopen demo correctly working
FS Pole meeting
Slides redaction for PUSopen call
Check ASN1 compiler
Call PUSOpen engineers
Call Charles concerning next decisions
### Thu 05.11
PUS ECSS standard reading and writting summary to list and chose PUS services
Call with Charles-Lewis to discuss PUS and services implementation
Trying to run PUSOpen demo and learn more about it
Read Cordet PUS extension and discover code
### Wed 04.11
Weekly meeting #6
F' GPS : GPS module issue fixed. Deployement to Pi. Unable to reach GS from PI because of network issues with VM, not a big deal.
PUS open implementation searches
Check PUS-C Library for EASA by Intelligentia
### Tue 03.11
F' GPS tutorial : get material and begining. Able to run tutorial on Linux. Issues with GPS module, only 3 satellite detected
Intermediate report #6
### Mon 02.11
F' Math tutorial
IDE configuration
## Week 6
### Fri 30.10
FS Pole meeting
Searches PUS open implmentations
Discover googletest used in F' for unit tests
### Thu 29.10
FPrime last release download and discovering new guide
Go deeper in code to analyse how F' works
Discussion with Michael concerning OBC software design and work repartition
### Wed 28.10
Weekly meeting #5
Correcting User guide simulation
Briey-Murax analysis and mail to Papon
OBC Team meeting with Cortay
Again VM issues, convert it and expand disk
(Mail to Michael to summarise Vex doc and try to join F' forum)
### Tue 27.10
Finish and send intermediate report #5
CHESS Flight Software Requirements excel redaction
### Mon 26.10
New schematic simulation/debug Saxon SoC
Continue understanding F'
Intermediate report #5
[personnal] Out of the office during the afternoon
### Fri 23.10
FS Pole meeting
Test cFS on Windows with FreeRTOS, too complicated, aborted for now
cFS verus F' document redaction
Discovering F' more in details
### Thu 22.10
Schematic visio and user manual redaction
OBC Pole meeting
Continuing tests with FreeRTOS sim on Windows
### Wed 21.10
Weekly meeting #4
Finally able to debug FreeRTOS on Saxon SoC
Tries with FreeRTOS simulator on Windows, toolchains issues for now
### Tue 20.10
Issues with my Virtual Machine: slow, low disk space, ... Optimization and copy to SSD disk.
Continuing tests with FreeRTOS and debug on Saxon SoC. Mails with Papon
### Mon 19.10
Intermediate report #4
Call with Charles-Lewis
Saxon openocd tries according to Papon's modification
CORDET analysis
## Week 5
### Fri 16.10
[personnal] Day off
### Thu 15.10
[personnal] Day off
### Wed 14.10
Trying to create my own project based on SaxonSoC with FreeRTOS support. Blocked due to illogic error with makefile *"\*\*\* missing separator. Stop."* although same file is working in SaxonSoC repo.
Call with Yann Voumard concerning Ground Software
### Tue 13.10
Successfully run FreeRTOS on SaxonSoC. Unable to correctly use GDB. Mail with Papon
### Mon 12.10
Contact OSAL FreeRTOS : mbenson and Scott
Second try Freedom Studio + QEMU: qemu-sifive-e32 successfully run.
Saxon SoC tries after Papon updates
## Week 4
### Fri 09.10
Trying Saxon SoC
FS Team meeting
Read Danilo José Franzim Miranda master's thesis
Mails with Papon for RISC-V emulator and NASA for mailing list
### Thu 08.10
Trying to learn SpinalHDL with Spinal-bootcamp jupyter notebook. Unable to correctly run notebook.........
Trying Spinal Workshops, SpinalHDL is hard to learn...
### Wed 07.10
Weekly meeting #3
Try to get in touch with persons using cFS with FreeRTOS
Sucessfully run Hello world with VexRiscv and Verilator (without SoC) via GDB
Configure Eclipse to run and debug the software
Sucessfullly run VGA on Briey SoC
Trying to understand configurations
### Tue 06.10
Covid morning
Trying to run Freedom RISC-V examples with FreeRTOS, compilation issues. Tries with Eclipse. Same problem. Tool chain issues and so....
### Mon 05.10
Continuing test with Verilator
Call with Charles Papon
Discussion with Zahno concerning RISC-V simulation
Writing intermediate report #3
Covid afternoon
## Week 3
### Fri 02.10
FS Pole meeting. General organisation with EST members.
Trello set up
Discussion with Joaquim to organise ETS tasks
RISC-V emulator reading documentation
Installing Freedom Studio to try SiFive RISC-V emulation on QEMU (no result)
### Thu 01.10
Cloning and building Vextriscv to test Verilator
Bloc schematic NOS3
Read ADCS and EPS documentation
Searches concerning RISC-V emulator
Continuing discovering cFS
### Wed 30.09
Call with Charles-Lewis to discuss about FS specification documents and FS selection
TM Meeting #2 - Week 39
Redacting FS specification document : FS presentation and specifications for each student
Call with Nicolas Bourron to discuss last OBC development and FS initial reflexion
### Tue 29.09
Discovering cFS, cFe and OSAL in detail. Reading documentation, user guides and instaling it. Sucessfully compiled and run
Discussion with François Cortay to organise OBC team meeting and divide work between EPFL students
Collection of information from Tristan concerning previous reflexion on OBC and FS
Discovering of Nicolas Bouron's work concerning FS Simulator
### Mon 28.09
Finishing intermediate report #2
Call with Charles-Lewis concerning FS tasks and repartition
Completing FS specifications
Discussion with Cortay concerning soft-hard partioning
## Week 2
### Fri 25.09
[personnal] Absent during the morning
Discovering Swiss Cube new FS docs
Organisation with Charles and Michael
Starting writing intermediate report #2
### Thu 24.09
HES-EPFL meeting to organize FS software development between different projects and students
OBC team meeting
Discussion with Cortay concerning next steps on FS according to OBC progress
Continuing learning more about RISC-V
[nivitec] The Ark meeting
### Wed 23.09
TM Meeting #1 - Week 38
Reading RISC-V implementation thesis from Pierrick Muller
Discovering De-RISC project
Discussion with Charles concerning mutual organisation
Working place set up
### Tue 22.09
Flight softwares researches and comparisons : Reading papers and completing .xlsx sheet
Discovered tailored ECSS Standards for CubeSat mission
### Mon 21.09
Redacting intermediate report 1
Read System Engineering project report
Discovering CCSDS more in detail, reading about PUS and ECSS standards
Read "Packet utilisation to mission operation services" and trying to undestand benefits of each system
## Week 1
### Fri 18.09
Discussion with Charles-Lewis, FS pole meeting organisation, Dropbox issues
Discovering nos3 (cFS), Read Time and Space Partitioning
Listing FS : Excel comparison document creation
### Thu 17.09
Understanding FS goal and tasks (bis) : Reading SwissCube documentation on CDMS and protocols
State of the art FS : Discovering other Open Source space projects and learning more about used components/OS/...
Contact with ESA employee
Discussion with Michael from OBC team
### Wed 16.09
Understanding SwissCube history : Reading SwissCube mission description and global informations, collecting used Standards
Understanding FS goal and tasks : Sorting SwissCube documentation on FS and reading it
Trello set up
Team meeting in Lausanne
### Tue 15.09
Admin (Specifications, Slack, Drive, etc.), Resources collection.
Discovering CubeSat requirements
Understanding CHESS : Reading CHESS Semester project "Mission design and environment definition", PRR report, PRR slides
### Mon 14.09
Kick-off meeting Neuchâtel, Reading thesis' specifications