Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
145 views

I’m currently working on an application using the STM32G031xx MCU and need to ensure IEC 60730 Class B compliance for safety-critical software. I found the X-CUBE-CLASSB-G0 (v4.0.0) library and have a ...
Aayush's user avatar
  • 39
3 votes
1 answer
89 views

According to Wiki (https://en.wikipedia.org/wiki/Modified_condition/decision_coverage) one of the main rules about MCDC is that each condition (or boolean variable) should be controllable ...
Gregory Fenn's user avatar
0 votes
0 answers
37 views

I need to run multiple Python scripts daily, which prepare and deliver critical data and stop the scripts after a predefined time. Then, run a different script (only one time) to achieve the generated ...
7p4's user avatar
  • 29
0 votes
2 answers
213 views

I use a hardware watchdog to monitor an activity of some process and reboot the system in case the process is hanged. While the system is executing init.d scripts a watchdog utility is running. Later, ...
Peter's user avatar
  • 193
0 votes
5 answers
1k views

Is using #include "component.c" considered bad practice or is there any misra standard rule violation? (potentially rule 3-3-1) So far, I understand that it is a commonly categorized as bad ...
arturo_drt's user avatar
-1 votes
1 answer
2k views

DO-178C or DO-178B requires two level software requirements, that is, high-level requirements and low-level requirements. But generally except the very small software, the hierarchy structure of most ...
Simon Zhu's user avatar
7 votes
4 answers
4k views

Coming from C/C++ background, I am aware of coding standards that apply for Safety Critical applications (like the classic trio Medical-Automotive-Aerospace) in the context of embedded systems , such ...
p_a321's user avatar
  • 179
3 votes
1 answer
591 views

I'm in a safety critical embedded C project and there's a discussion about detecting memory corruptions (e.g. buffer overflows) in boolean variables. As everyone knows, in C, the "boolean" type is ...
Mikk L.'s user avatar
  • 191
3 votes
2 answers
596 views

Is it possible to justify independence of software elements by IEC 61508, part 3, Annex F, such that the safety-related components can be rated SIL 2 and the non-safety components (e.g. UI, comms.) ...
Vandermyer's user avatar
-1 votes
1 answer
743 views

I have a legacy code where there are like a zillion uninitialized warning C4100: : unreferenced formal parameter or potentially uninitialized: warning C4701: potentially uninitialized local ...
Foad S. Farimani's user avatar
2 votes
2 answers
3k views

I have been given a legacy code, where someone(s) have carelessly assigned double values to int variables like: int a = 10; double b = 20; a = b; Now to get rid of the warning C4244: '=': ...
Foad S. Farimani's user avatar
3 votes
1 answer
189 views

I want to experiment to develop a redundant autonomous car compute architecture which can handle all AI and other computing stuff. To do that, I bought some edge computing devices (Nvidia Jetson TX2s) ...
Klushka's user avatar
  • 106
0 votes
2 answers
784 views

I've been facing this MISRA violation: Definitions: #define A (1UL << 10) #define INIT_A ((A) | (1UL << 15)) #define INIT_A_MASK (0xFFFFUL << 15) #...
Amit Sharma's user avatar
  • 2,077
-1 votes
2 answers
2k views

There are required pieces to formulate my problem. Below are content of MyError.h header file. myError.h ########################### # myError.h ########################### 1 typedef enum 2 { 3 ...
Amit Sharma's user avatar
  • 2,077
1 vote
2 answers
663 views

How shall a boolean variable be assigned 16-bit encoded values (e.g., Hamming code) to avoid false states due to bit flipping?
Ankush K's user avatar

15 30 50 per page