~/talk

tdd for microcontroller

Talkat emBO++ 2024 · 2024-03-14..03-16· [embedded-and-hardware, testing]
links:none on file
slides:none on file

Demonstrates a practical TDD workflow for MCUs by combining the dual-target approach with a new open loop testing layer: Robot Framework tests call single functions on an RP2040 execution platform, FPGA-backed endpoints observe pins (I2C, GPIO, CAN) with a logic-analyzer view, and tests run in ~5–10 seconds. Shows a real I2C write test that observes SDA/SCL, measures 180–220 kHz, and finds a clock-order bug; argues register-based tests are brittle and unsuitable for modern controllers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27What is TDD
  3. 2:55Challenges in embedded TDD
  4. 4:01Off-target testing explained
  5. 7:36Risks of off-target testing
  6. 10:51On-target testing approach
  7. 13:26Limitations and the elephant
  8. 16:38Problems with register-based testing
  9. 20:55Introducing open loop testing
  10. 25:00Live demo setup
  11. 28:14Demo running I2C test
  12. 33:16Testing clock changes
  13. 37:39Core idea of open loop testing
  14. 39:29Try the demo yourself
  15. 41:15Supporting open source projects
  16. 42:02Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.