Skip to content
RED SAG Skills

Hard Embedded Systems Engineer questions

207 questions · 20 points each for a correct first answer.

  1. 1.Random HardFaultshard
  2. 2.Corruption in one taskhard
  3. 3.DMA data looks stalehard
  4. 4.Battery dies too fasthard
  5. 5.Bricked devices after an updatehard
  6. 6.Reading a 32-bit fieldhard
  7. 7.Missed motor control interruptshard
  8. 8.Works at -O0, fails at -O2hard
  9. 9.An overflow check that vanisheshard
  10. 10.Reading a float from a packethard
  11. 11.Packed struct crashes a Cortex-M0hard
  12. 12.ISR runs twice per eventhard
  13. 13.A lock-free ISR ring bufferhard
  14. 14.Rate monotonic utilisation testhard
  15. 15.Taking a mutex in an ISRhard
  16. 16.Garbled log text from two taskshard
  17. 17.A CAN node goes silenthard
  18. 18.I2C bus stuck after resethard
  19. 19.A phantom 100 Hz signalhard
  20. 20.Slow maths on a Cortex-M4Fhard
  21. 21.Jitter in a control loop ISRhard
  22. 22.Proving the stack is big enoughhard
  23. 23.Downgrading to signed old firmwarehard
  24. 24.Firmware read over SWDhard
  25. 25.Comparing a message authentication codehard
  26. 26.FromISR call from a high priority ISRhard
  27. 27.Flash wearing out in a weekhard
  28. 28.Settings lost on power cuthard
  29. 29.Sleep current 60 times too highhard
  30. 30.The tick keeps waking the CPUhard
  31. 31.Timestamp jumps backwardshard
  32. 32.Inverting a uint8_thard
  33. 33.Reading NULL does not crashhard
  34. 34.Lost GPIO updates from an ISRhard
  35. 35.What restrict promiseshard
  36. 36.Reading a float as uint32_thard
  37. 37.An array exactly the string lengthhard
  38. 38.Detecting snprintf truncationhard
  39. 39.A flexible array memberhard
  40. 40.Recovering the parent structhard
  41. 41.Ordering pointers from different arrayshard
  42. 42.Writing to a const tablehard
  43. 43.Aligning a DMA bufferhard
  44. 44.Reading a string from AVR flashhard
  45. 45.Pointer to an array of eighthard
  46. 46.Storing a pointer in an integerhard
  47. 47.sizeof a member through a null pointerhard
  48. 48.Reading arm-none-eabi-sizehard
  49. 49.Keeping a value across a resethard
  50. 50.App interrupts go to the bootloaderhard
  51. 51.One table, flash and RAMhard
  52. 52.printf of a double prints garbagehard
  53. 53.Erasing flash from flashhard
  54. 54.Initialising a global with a callhard
  55. 55.Catching stack overflow at oncehard
  56. 56.Two stack pointers on Cortex-Mhard
  57. 57.Vector table vanished from the imagehard
  58. 58.Bit-band alias addresseshard
  59. 59.DMA reads zeros from a bufferhard
  60. 60.A string table that uses RAMhard
  61. 61.Load address and run addresshard
  62. 62.An odd function addresshard
  63. 63.Multiplying two uint16_t valueshard
  64. 64.Building a bit 31 maskhard
  65. 65.Shifting by 32hard
  66. 66.One million on an 8-bit MCUhard
  67. 67.ADC maths gives wrong millivoltshard
  68. 68.Atomics on a Cortex-M0hard
  69. 69.Flag cleared as the last ISR linehard
  70. 70.Enum size differs between buildshard
  71. 71.A ready flag that is always falsehard
  72. 72.abs of the most negative inthard
  73. 73.Converting 300.0 to a bytehard
  74. 74.Dividing by zero on Cortex-M3hard
  75. 75.Baud rate error from roundinghard
  76. 76.Finding the faulting instructionhard
  77. 77.Which stack holds the framehard
  78. 78.Reading a precise bus faulthard
  79. 79.Fault PC points to the wrong linehard
  80. 80.Crystal stops in the fieldhard
  81. 81.Aligning a relocated vector tablehard
  82. 82.Receiving frames of unknown lengthhard
  83. 83.FromISR call trips an asserthard
  84. 84.Cast pointer faults on M0hard
  85. 85.Size of a header structhard
  86. 86.Designing an image headerhard
  87. 87.C++ globals never constructedhard
  88. 88.Who is overwriting this variablehard
  89. 89.DMA data looks stale on M7hard
  90. 90.One AES key for every devicehard
  91. 91.Battery life from duty cyclehard
  92. 92.Power cut in the middle of a swaphard
  93. 93.A signing key has leakedhard
  94. 94.Where the signing key liveshard
  95. 95.Verified but swapped afterwardshard
  96. 96.Glitching past the checkhard
  97. 97.Is this task set schedulablehard
  98. 98.Critical section loses byteshard
  99. 99.Barriers after core confighard
  100. 100.Rollback after a settings changehard
  101. 101.One cloud password for all unitshard
  102. 102.Update resets halfway throughhard
  103. 103.Crash only when printing floatshard
  104. 104.Updating with dual-bank flashhard
  105. 105.Reacting within the FTTIhard
  106. 106.What MC/DC coverage proveshard
  107. 107.Safety code beside non-safety codehard
  108. 108.Largest pull-up for 400 kHz I2Chard
  109. 109.Probing a high-side gate safelyhard
  110. 110.Emission peaks every 25 MHzhard
  111. 111.Display freezes after an ESD zaphard
  112. 112.Failure rate for SIL 3hard
  113. 113.Why use lockstep coreshard
  114. 114.Redundancy that is not redundanthard
  115. 115.State machine with no defaulthard
  116. 116.ADC reads low through a dividerhard
  117. 117.Elapsed ticks across a timer wraphard
  118. 118.Clearing an EXTI flag with |=hard
  119. 119.Bit-band alias of an SRAM bithard
  120. 120.Jumping from bootloader to apphard
  121. 121.PWM glitch when changing the periodhard
  122. 122.Battery life of a duty-cycled nodehard
  123. 123.Longest SysTick period at 168 MHzhard
  124. 124.Porting BASEPRI code to Cortex-M0hard
  125. 125.Timing an ISR in CPU cycleshard
  126. 126.Finding the line that faultedhard
  127. 127.Imprecise bus fault addresshard
  128. 128.SPI chip select released too earlyhard
  129. 129.Write position in a circular UART DMA bufferhard
  130. 130.Time to read 6 bytes over I2Chard
  131. 131.Time to send 4 KB over SPIhard
  132. 132.Two CAN nodes using the same IDhard
  133. 133.Stack frame with FPU contexthard
  134. 134.Catching stack overflow with the MPUhard
  135. 135.Watchdog resets a sleeping devicehard
  136. 136.Phantom interrupts from a long cablehard
  137. 137.Calling printf from an ISRhard
  138. 138.ADC noise synced to PWMhard
  139. 139.External crystal fails in the fieldhard
  140. 140.USB fails on the internal oscillatorhard
  141. 141.Setting STM32 read protection level 2hard
  142. 142.Negative swing on an ADC pinhard
  143. 143.One ADC channel affects anotherhard
  144. 144.Errors on a long 500 kbit/s CAN bushard
  145. 145.RTC loses 2 minutes a monthhard
  146. 146.DMA buffer declared as a localhard
  147. 147.ADC DMA data size mismatchhard
  148. 148.Receiving UART data while in stop modehard
  149. 149.Missed wake-up just before sleephard
  150. 150.Timeouts fail in HAL callbackshard
  151. 151.Devices fail to boot on weak batterieshard
  152. 152.Reading stale data after a flash writehard
  153. 153.Pump turns on briefly at power-uphard
  154. 154.A precise 10 µs trigger pulsehard
  155. 155.Worst-case response time of the lowest taskhard
  156. 156.Above the RM bound but still schedulablehard
  157. 157.Adding mutex blocking to response timehard
  158. 158.Task reads garbage from a main localhard
  159. 159.Parameter from a function that returnshard
  160. 160.Why FreeRTOS uses PendSV for switchinghard
  161. 161.Two stack pointers in an RTOS on Cortex-Mhard
  162. 162.Inheritance through two mutexeshard
  163. 163.The Mars Pathfinder resetshard
  164. 164.Critical sections on FreeRTOS SMPhard
  165. 165.Blocking while the scheduler is suspendedhard
  166. 166.Interrupt fires before the scheduler startshard
  167. 167.xQueueSend inside a timer ISRhard
  168. 168.Critical section inside an ISRhard
  169. 169.What stack overflow checking catcheshard
  170. 170.Inversion with a semaphore used as a lockhard
  171. 171.Software timers fire late under loadhard
  172. 172.Detecting a missed periodhard
  173. 173.Burst of runs after a long stallhard
  174. 174.Allowed NVIC priorities for FreeRTOS callshard
  175. 175.Recovering from a lock order bughard
  176. 176.Seeing queue contents in a debuggerhard
  177. 177.Race between equal-priority taskshard
  178. 178.Sizing a queue for a bursthard
  179. 179.Float use in tasks on Cortex-M4Fhard
  180. 180.Driver and app share a notificationhard
  181. 181.Tick count after a tickless sleephard
  182. 182.Periodic Zephyr thread from a k_timerhard
  183. 183.Lowest-latency interrupts in Zephyrhard
  184. 184.Limit on Zephyr mutex priority boosthard
  185. 185.Using a Zephyr condition variablehard
  186. 186.Waking many Zephyr threads at oncehard
  187. 187.Crash after adding a large local in mainhard
  188. 188.Catching thread stack overflow in Zephyrhard
  189. 189.Time slicing in Zephyrhard
  190. 190.Allocating memory from a Zephyr ISRhard
  191. 191.Powering down an idle Zephyr peripheralhard
  192. 192.Storing config values across reboots in Zephyrhard
  193. 193.Aborting a thread that holds a mutexhard
  194. 194.Network throughput collapseshard
  195. 195.Setting configMAX_PRIORITIES to 64hard
  196. 196.Running a function in the daemon from an ISRhard
  197. 197.Two ISRs and a task share a bufferhard
  198. 198.What breaks first in overloadhard
  199. 199.Harmonic task periodshard
  200. 200.Jitter of tick-driven periodic taskshard
  201. 201.Timer callback waits on a mutexhard
  202. 202.Deadline shorter than periodhard
  203. 203.Calling pvPortMalloc in an ISRhard
  204. 204.Debugger shows only one call stackhard
  205. 205.RTOS for an IEC 61508 producthard
  206. 206.Cooperative Zephyr thread hogs the CPUhard
  207. 207.Active object design in an RTOShard