Infotronik

HSLU - HS17 Systemstrukturierung und Programmierung von Embedded Systems

HSLU - HS17 Systemstrukturierung und Programmierung von Embedded Systems


Set of flashcards Details

Flashcards 185
Language Deutsch
Category Electronics
Level University
Created / Updated 08.10.2017 / 06.12.2018
Weblink
https://card2brain.ch/box/20171008_infotronik
Embed
<iframe src="https://card2brain.ch/box/20171008_infotronik/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>

Was ist tinyK20?

Welche Eigenschaften weisst der K22 Zumo Robot  (V2) auf?

Welche Eigenschaften weisst das Remote Kit auf?

Für was ist das nRF24L01+ Modul?

Was bedeutet SWO beim ARM Cortex?

Was ist ein recap bei INTRO?

Bei Verwendung von einem "Workspace" mit Eclipse...

Was beinhaltet der Workspace bei Kinetis Design Studio?

Merkmale des Eclipse Workspace?

  • Speichert die .metadaten (globale Optionen/Einstellungen von Projekten)
  • .metadata dürfen nie verschoben werden
  • Teile niemals den Workspace mit einem VCS (verwende dafür einen separaten Pfad)
  • Kann Projekt Ordner enthalten (Empfehlung den WSP und die Projekts zu separieren --> fürVCS)

Nenne Anwendungsgründe für ein VCS (Version Control System)

- Mehrere Personen arbeiten an einem Projekt/Datei

- Änderungsnachweise der Dateiänderungen notwendig

 

Ein gutes VCS kann was?

Which are Subsystems of an Embedded Systems?

What consist  a transforming System?

Input Stream ---> System ---> Output Stream

Example:

  • input mp3 file ---> Smartphone Encodersystem ---> output music

What are typical characteristics or advantages of a transforming system?

What are typical characteristics or advantages of a reactive system?

How to consist of a reactive System?

---------------------
I                       I
I                       I  <-- Measure
I      System     I
I                       I   --> Control
I                       I
---------------------

Example: an airbag in a car. Guaranteed response time after an accident.

What are typical characteristics or advantages of a interactive system?

How to consist of an interactive System?

   O                            -------------------
  \ I /     --> Input        I                     I
    I       <-- Output     I     System    I
   / \                           I                     I 
                                 -------------------

Example:

Human input on a calculator --> output on display is the pressed digit/number.

 

What means realtime?

A Computer is classified as Realtime, if it can react on external events in the real world-

  • With the correct result
  • At the right time
  • Independent of current system load
  • In a deterministic and foreseeable way

What is a deterministic algorithmus?

Ein deterministischer Algorithmus ist ein Algorithmus, bei dem nur definierte und reproduzierbare Zustände auftreten. Für die gleiche Eingabe folgt auch immer die gleiche Ausgabe und zusätzlich wird die gleiche Folge an Zuständen durchlaufen. Zu jedem Zeitpunkt ist der nachfolgende Abarbeitungsschritt des Algorithmus eindeutig festgelegt. Das bedeutet auch, dass alle Zwischenergebnisse innerhalb des Algorithmus immer gleich sind. (Wikipedia)

When using a workspace with Eclipse?

The processor used on the tinyK20 board is the following:

Explain in a single sentence what each of the following basic VCS actions mean in Git:

a) Commiting
b) Reverting
c) Pushing
d) Cloning

a) Eine Änderung in das lokale Repository einfügen.
b) Eine lokale Änderung rückgägning machen.
c) Verschieben/Senden einer lokalen Änderung in das Remote-Repository
d) Kopieren eines bestehenden Repository und daraus ein neues lokales Repository erstellen

What is the fundamental difference between SVN and Git?

  • SVN: centralized VCS
     
  • Git: distributed VCS.

Explain the difference between the optimistic and pessimistic approach in a VCS. Explain it with an example.

Optimistic: assumes that two developers do not work on the same file, so system potentially allows conflicts. Conflcts have to be resolved later.

Pessimistic: assumes that conflict will happen, and whenever a developer wants to edit a file, the file gets locked so no conflict can occur.

Provide an example for a hard real-time system?

  • Air bag
  • Herzschrittmacher (Pacemaker)
  • Flugzeugkontrollsystem (aircraft control system)

Provide an example for a soft real-time system?

  • Video/Music streamer

Name some benefits implementing a state machine?

  • strukturiert
  • einfach zu implmentieren
  • wiederverwendbare Design-Struktur

What should be the first steps when implementing a state machine?

  • Define all states with input/output and transitions
  • Draw a diagram.

In Eclipse CDT, using Parallel Build is used for

Evaluate the following statements about using floating point operations on ARM Cortex-M4F:

In Eclipse CDT, the time to debug a project can be reduced by:

Evaluate the following statements for the workspace concept in Eclipse:

Systems can be classified as:

In Eclipse, I can use the following to reference les and folders:

Using #include "../../Utility.h" in sources is problematic because:

Separating header and source files (compared to have them in a single folder) has the following benefits:

  1. ± Interface and implementation files are clearly separated.
  2. ± Building a library, I have the header files already separated.
  3. ± No need to tell the compiler where the header files are.
  4. ± Saves a lot of disk space.

In ANSI-C, the number '3' in uint16_t var = 3; is of type:

Which function gets called in foo()?

#define CAT(a,b)     a##b
void foo(void) {
  CAT(t,a)();
}

The term Baremetal refers to: