Task
LED
Task responsible to let the LED blink
Task
Task responsible to let the LED blink
Safety Warnings for Task LED.
Safety warnings are related to the Requirements Layer, especially the SIL
Mixed SILs in LED : QM, SIL_1. |
Memory referenced by main for the stack of LED is using main with a SIL achieved of QM, which does not satisfy the SIL required of SIL_1 for this task. |
LED needs a SIL of SIL_1 but is executing on Arm® Cortex®-M4 which has a achieved SIL of QM. |
Required | |
---|---|
SIL | SIL_1 |
mixed SILs | QM, SIL_1 |
Base | |
---|---|
Name | LED |
Type | Task |
Description | Task responsible to let the LED blink |
User-ID | Task_9 |
UID | _-Qx7oOTTEeyrV5NXTwe27Q |
Configuration | |
Priority | 4 | Configuration | Own TimeBase | no, the central activation engine will send periodic events |
Memory | |
Stack | .rtos.task.LED |
Core | |
Core | Arm® Cortex®-M4 |
Hazard Scenarios for associated Hazardous Events.
Hazard Scenario | Parent | Hazard Events |
---|---|---|
This would be very sad. |
Hazardous Events for associated Safety Goals.
Hazardous Event | Parent | Probability | Controllability | Effect | SIL | Safety-Goals |
---|---|---|---|---|---|---|
The user might think µRTE is hard to use. |
QM | |||||
The customer might not see the full spectrum of features µRTE comes with. |
QM |
Safety Goals linking to the Requirements.
Safety Goal | Parent | Function Type | SIL derived | SIL manual | SIL effective | Safe State | Safety Requirements |
---|---|---|---|---|---|---|---|
An small demo model with the most important features shall show the most important features of µRTE. |
System_Function | QM | derived | QM | Show slides |
|
Requirements derived by software units, hardware components, signals, global variables and activation events associated with this task.
(Safety)Requirement | Parent | User-ID | Author | Creation Date | Start Date | Deadline | Expense | Responsibe | Category | Type | Status | Function Type | SIL derived | SIL manual | SIL effective | Tests | Technical Functions | Software | Hardware | Signals | Global variables | Activation events | Use-Cases | User-Stories | Refining | Conflicting | refined by | conflicted by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
How to read and write data form and to hardware. |
SafetyRequirement_110 | Thomas Barth | Thu Jun 09 20:50:22 CEST 2022 | 0.0 | Thomas Barth | product | functional | approved | System_Function | QM | derived | QM | ||||||||||||||||
µRTE easily can transmit events and data between tasks |
SafetyRequirement_96 | Thomas Barth | Wed Jun 08 17:46:14 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | System_Function | QM | derived | QM |
|
|||||||||||||||
In order to indicate that uRTE is up and running, an LED shall blink (toggle its binary state) with an frequency of 1/100ms. |
Requirement_32 | Thomas Barth | Tue Jun 07 13:05:57 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | - | - | - | - | ||||||||||||||||
While the button is pressed, the LED shall be on permanently. |
Requirement_93 | Wed Jun 08 17:18:27 CEST 2022 | 0.0 | product | functional | implemented | - | - | - | - | ||||||||||||||||||
Runnables can be activated by cyclic events. |
SafetyRequirement_95 | Thomas Barth | Wed Jun 08 17:34:15 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | System_Function | QM | SIL_1 | SIL_1 |
|
|||||||||||||||
Runnables can be activated by signal (onData/onError) events. |
SafetyRequirement_93 | Thomas Barth | Wed Jun 08 17:34:15 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | System_Function | QM | derived | QM |
|
|||||||||||||||
Signals can either be global data objects of local objects on the task stack. |
SafetyRequirement_97 | Wed Jun 08 17:49:01 CEST 2022 | 0.0 | product | non_functional | implemented | System_Function | QM | derived | QM |
|
Technical Functions derived from hardware and software handled by this task.
Function | LFB | Software | Hardware | Technical Functions | sub Technical Functions | Requirements | sub Requirements |
---|---|---|---|---|---|---|---|
An LED shall blink to indicate that the system is alive and responding. |
Logical function blocks based on the technical functions.
Function | Type | Technical functions |
---|---|---|
An binary HMI |
Input | |
The MCU implementing the logic |
Service | |
An LED to indicate a binary state |
Output |
Runnable ports executing runnables in the context of this task.
Port | Events | Signal event source | Container | Task | Guard | Order |
---|---|---|---|---|---|---|
Runnable_00_blink_Tick |
|
run_LED | LED | 0 |
Activation Events executing runnables in the context of this task.
Event | Type | Cycle Time (C) | Offset (C) | Task-Init (S) | Requirements | Ports | Runnables | Tasks | SystemStates | SIL req | SIL ach |
---|---|---|---|---|---|---|---|---|---|---|---|
The timebase for the LED logic. Has an bit of offset to make sure it comes after the button has been read (button value is polled). |
CyclicEvent | 100 | 2 | - |
|
- | QM |
Software units executed in the context of this task.
Unit | Parent | Function calls | Technical Functions | Requirements | Type | Tasks | WCET | Stack | ROM | Globals | ProtectionSets | SIL req | SIL ach | sub Technical Functions (R) | sub Requirements (R) | Has a return value (R) | SystemStates (R) | Ingoing Trigger Ports (R) | Outgoing Trigger Ports (R) | Ingoing Data Ports (R) | Outgoing Data Ports (R) | Signals (D) | Runnables (D) | DataType (D) | Is Synchronous (D) | Hardware (D) | Ports (G) | Callers (F) | Return Type (F) | Parameters (F) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hardware write-Interface towards the LED |
LED | OutDriver | 0 | 0 | 0 | QM | QM | - | - | - | - | - | - | - | - | uRTE_boolean_t | true | - | - | - | - | |||||||||
Controls the LED signal and thus the LED |
LED | Runnable | 0 | 0 | 0 | - | QM | false |
|
|
|
- | - | - | - | - | - | - | - | - |
Signals used within the context of this task.
Signal | Type | Storage | Runnables OUT | Runnables IN | Tasks | SystemStates | Requirements | miminum Age | maximum Age | Checksum | Force Sync | Inline | ISR API | effective inline | SIL req | SIL ach | Initial value (D) | Pointer access (D) | Datatype (D) | Alt-In (D) | Alt-Out (D) | In-Driver (D) | Out-Driver (D) | OnData (D) | OnError (D) | OnTrigger (E) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hardware interface for the LED |
Data | local in |
0 | 0 | false | false | false | false | false | - | QM | 0 | false | uRTE_boolean_t | - | - | ||||||||||
A representation of the current button state |
Data | local in |
0 | 105 | false | false | false | false | false | SIL_1 | QM | false | false | uRTE_boolean_t | - |
|
- |
Outputsections used by software units, the task itself or the RTE.
OutputSection | SIL | References | Initialization | Generate | Section start symbol | Section end symbol | Memory |
---|---|---|---|---|---|---|---|
Stack for the LED Task |
SIL_1 | UnInit | true | ADRL_uRTE_RTOSTASKLED_BEGIN* | ADRL_uRTE_RTOSTASKLED_END* | main | |
Contains the data for uRTE internals |
SIL_1 | UnInit | true | ADRL_uRTE_URTE_BEGIN* | ADRL_uRTE_URTE_END* | main | |
Symbols marked with * are automatically generated because no value was set. |
SystemStates in which this task is active.
State | isStart | Runnables | Tasks |
---|---|---|---|
In this state, an LED will blink. |
true | ||
A state that is entered if the user has pressed the button. Here, periodic UART messages are sent. |
false |
Hardware used by the task.
Component | Type | Start | End | SIL req | SIL ach | Sub-Components | Technical Functions | sub Technical Functions | Requirements | sub Requirements |
---|---|---|---|---|---|---|---|---|---|---|
Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator) allowing 0-wait state execution from Flash memory, frequency up to 180 MHz, MPU, 225 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions |
Core | - | - | - | QM | |||||
LD2 [Green Led] on the Nucelo Board |
Periphery | GPIOA_BASE | GPIOB_BASE - 1 | - | QM | |||||
The STM32F446RE RAM module |
RAM | 0x20000000 | 0x2001ffff | - | QM |