Contents
1 Generic information
Labs take place in room KN:E-23 at Karlovo náměstí. The system with Wind River Workbench IDE is also available in rooms KN:E-2, KN:E-s109 and KN:E-26.
Teachers are Michal Sojka and Matěj Kafka.
2 Tasks
- VxWorks IDE basics: application creation, VxWorks simulator, help, debugging
- VxWorks API: Mutexes, semaphores
- VxWorks API: Real-Time processes, shared memory
- Blocking on mutexes, priority inheritance
- How cache memory influences execution time
- Scheduler latency benchmark
- Benchmarking Ethernet communication latency
- Semestral work (motor control)
3 How to
- Using custom simulator
- VxWorks on the MZ_APO board (for tasks 4–8).
- Remote access to WindRiver Workbench
- Remote access using WSL2
- Git repositories for this course
- Using Rust for RTP development in this course (thanks to Jan Jirman)
- Building and booting RTEMS on the MZ_APO board (thanks to Michal Lenc)
3.1 Task submission
To submit a task:
Submit the code to BRUTE. It runs various tests on your code and may give you some hints how to improve it.
BRUTE accepts only file archives. Uploaded archive has to contain the following files that describe your WindRiver project:
.cproject .project .wrmakefile .wrproject
Other files (except source files and headers) are considered as garbage and their presence may result in lowering your score.
In order to create an archive from your source code, use, for example, the following command in the project folder:
tar czf taskX.tgz .project .wrproject .wrmakefile .cproject *.c *.h --ignore-failed-read
The created taskX.tgz can be uploaded to BRUTE. (--ignore-failed-read argument is used to avoid errors with nonexistent *.h files, as they are present only in later tasks.)
After BRUTE no longer complains about anything, show the code to the teacher. Only submissions checked by the teacher will be awarded with points!
4 Podmínky udělení zápočtu / "Zápočet" requirements
- Odevzdané úlohy 1–7 / submitted tasks 1–7.
- Odevzdaný funkční program semestrální práce / Submitted and working semestral work.
- Účast na cvičeních alespoň 60% (8 cvičení) / At least 60% lab attendance.