A wearable that counts steps is a consumer product. The same hardware running firmware that flags atrial fibrillation is a medical device, and every line of code in it now sits inside a regulated process. Medical device software development is less about writing different code than about producing evidence: that each requirement came from a known risk, that each risk control was tested, and that every third-party library was chosen, pinned and monitored on purpose.
This guide is for teams building connected or wearable medical devices, where firmware, a phone app and a cloud service share the work. It covers classification, the standards that shape the life cycle, the FDA’s section 524B cybersecurity rules, EU MDR Rule 11, SOUP and post-market updates. It describes what the rules require; confirm the strategy for a specific product with your regulatory adviser or notified body.
SaMD vs SiMD in a Connected Medical Device
Software as a Medical Device (SaMD) performs a medical purpose without being part of a hardware device, such as a cloud model that scores sleep apnoea risk. Software in a Medical Device (SiMD) is the firmware that drives or controls the hardware: the sensor front end, the motor loop, the alarm logic.
A connected product usually contains both, and the boundary follows the intended purpose, not where the code runs. Take an illustrative ECG patch that streams over BLE to a phone:
- Patch firmware that samples and filters the signal is SiMD.
- The phone app that displays and forwards the trace is normally treated as part of the device system, so it sits in the same life cycle and risk file.
- A cloud algorithm that detects arrhythmia is often SaMD in its own right, with its own classification.
- The support dashboard is usually not a medical device, but it enters the risk file once it can push updates or change settings.
Whether the product is medical at all depends on its claims, the line discussed in wearable product development. Applications and examples are covered in IoT in healthcare. This article starts where those stop.
Medical Device Software Standards Mapped to Firmware Work
None of these documents tells you which RTOS to use. All of them change what you write down, when, and who signs it.
| Standard or rule | What it covers | What it means for the firmware and app team |
|---|---|---|
| IEC 62304:2006+A1:2015 | Software life cycle and safety classes A, B and C | A plan before coding, written requirements, architecture and unit verification scaled to class, configuration and problem management, SOUP records |
| ISO 14971:2019 | Risk management | Every software risk control traces to a hazard and is verified; the risk file changes when code or field data changes |
| ISO 13485:2016 and the FDA QMSR | Quality system; the QMSR brought ISO 13485 into 21 CFR Part 820 from 2 February 2026 | Design controls and reviews, supplier control for outsourced work, controlled records for reviews, builds and tests |
| IEC 62366-1:2015+A1:2020 | Usability engineering | Screens, alarms, LEDs and pairing flows analysed for use errors; summative evaluation with representative users |
| IEC 81001-5-1:2021 | Security across the health software life cycle | Threat modelling, secure coding, security testing and component vulnerability tracking inside the same life cycle as IEC 62304 |
| FD&C Act section 524B and FDA premarket cybersecurity guidance (February 2026) | Cybersecurity for “cyber devices” in US submissions | An SBOM, a vulnerability monitoring and disclosure plan, secure design evidence, routine and urgent patch processes |
| EU MDR 2017/745, Annex I section 17 and Annex VIII Rule 11 | Software requirements and classification in the EU | Life cycle, risk management, information security and V&V to the state of the art; stated minimum IT requirements; class sets the notified body route |
Timing matters as much as content: reviewers look for evidence that the plan, requirements and risk analysis existed before the code they govern.
IEC 62304 Safety Classes and EU MDR Rule 11
IEC 62304 classes a software system by the worst harm a software failure could contribute to, after risk controls outside the software are counted:
- Class A: no injury or damage to health is possible.
- Class B: non-serious injury is possible.
- Class C: death or serious injury is possible.
Class A needs a plan, requirements, system testing, configuration and problem management and a controlled release. Class B adds a documented architecture, unit verification and integration testing. Class C adds a detailed design for each unit and stricter unit acceptance criteria.
Architecture is where the class can be contained. Software items inherit the system’s class unless their segregation is documented and justified. On a dual-core or MPU-protected microcontroller, isolating the alarm logic from the BLE stack and display can keep Class C rigour to a small partition. That choice belongs in IoT hardware design, before the board is laid out.
A second edition of IEC 62304 is being drafted, and current drafts replace the three classes with two process rigour levels. It has not been published, so projects today work to the 2006+A1:2015 text.
Rule 11 makes software that informs diagnostic or therapeutic decisions Class IIa, rising to IIb where a decision could cause serious deterioration of health or surgery, and Class III where it could cause death or irreversible deterioration. Monitoring software is IIa, or IIb for vital parameters where variations could put the patient in immediate danger. Other software is Class I, and firmware that drives a hardware device generally takes that device’s class. Most medical software therefore lands at IIa or above, which means notified body review.
A Commission proposal from December 2025 would lower the default class for some software. As of November 2026 it is still with the Parliament and Council, so design to the text in force.
The Medical Device Software Development Life Cycle and Traceability
IEC 62304 does not require waterfall. Agile sprints are acceptable, and AAMI TIR45 describes how, provided each increment produces the records the standard asks for.
Traceability is the first thing an auditor tests. Each hazard links to its risk controls, each software risk control to a requirement, each requirement to the code and the test that verifies it. Pick a hazard such as “missed high heart-rate alarm” and the team should produce the requirement, the module, the tests and the passing record from the released build within minutes. Keep the trace in tooling linked to the issue tracker and version control, not a spreadsheet assembled before submission.
Verification shows the software meets its requirements: reviews, static analysis, unit, integration and system tests. Validation shows the finished device meets user needs and intended use, including the IEC 62366-1 summative evaluation and clinical evidence. A green firmware test suite is verification only.
Hardware-in-the-loop rigs that inject BLE drops, brown-outs and sensor faults exercise risk controls that bench demos never reach, and tools that produce submission evidence need validating under ISO 13485. Whether firmware is built in-house or bought in as firmware development services, an outside team is a controlled supplier whose records belong in your design history.
SOUP, SBOMs and Medical Device Cybersecurity
IEC 62304 calls software not developed under your process SOUP, software of unknown provenance. On a connected device that is most of the image: the RTOS, the vendor BLE stack, the TLS library, the file system and the phone OS. For each item, record:
- Supplier and exact version, pinned in the build rather than resolved to “latest”.
- The functional and performance behaviour you rely on, such as reconnection time or heap use under load.
- A review of its published known issues and errata, repeated at every upgrade.
- The hazards that could follow if it fails, carried into the risk file.
In the US, section 524B applies to any “cyber device”: one with software that can connect to the internet and could be vulnerable to cyber threats. The FDA reads “connect” broadly, listing Bluetooth, BLE, Wi-Fi, cellular and USB among its examples, so assume a wearable that syncs through a phone is in scope. The submission must include a plan to monitor and address post-market vulnerabilities, including coordinated disclosure; processes that give reasonable assurance the device and related systems are cybersecure, with regular patches and urgent out-of-cycle fixes; and an SBOM covering commercial, open-source and off-the-shelf components.
The FDA’s premarket cybersecurity guidance, reissued in final form in February 2026 to align with the QMSR, also recommends a threat model, security architecture views, test evidence, and a support level and end-of-support date for each SBOM component. In the EU, MDR Annex I section 17 and MDCG 2019-16 cover the same ground, and IEC 81001-5-1 turns both into life cycle activities. Key provisioning and identity sit underneath, as covered in IoT device security.
An SBOM written by hand describes the firmware someone remembers. An SBOM generated by the build describes the firmware you shipped.
Post-Market Medical Device Software Updates Under Change Control
OTA makes the 524B patching obligation achievable, and it is also a regulated change mechanism. Every release to a patient’s device follows the same process as the first, scaled to the change:
- Impact analysis: which requirements, risk controls, SOUP items and tests the change touches.
- Regulatory assessment: FDA guidance sets out when a software change needs a new 510(k), and a predetermined change control plan can authorise defined changes in advance. In the EU, planned substantial changes are reported to the notified body, which may need to assess them before release.
- Regression: scaled to impact, always covering any touched risk control.
- Records: risk file, SOUP list, SBOM and labelling updated in the same release.
- Delivery: signed images verified on the device, A/B banks with rollback, staged rollout.
Write a fast path for security patches before launch. A team that invents its emergency process during an incident either ships untested code or ships late. The transport side is covered in OTA updates in IoT devices; the regulated part is the evidence around each release.
Medical Device Software Development Mistakes That Force Rework
Each comes from treating the regulated process as paperwork that follows engineering. Built into the plan from day one, most of it is ordinary good practice for embedded IoT products, with records attached.
Frequently Asked Questions
Conclusion
The expensive decisions in a medical software project are made in the first months: intended purpose, device class, the architecture that contains high-class code, the SOUP list and the security hardware. Changing any of them late means redoing the evidence built on top, so confirm classification with your regulatory adviser or notified body before the architecture is frozen.
The teams that move fastest treat the design history file as something the build produces alongside the firmware image. We build firmware and companion software for connected and wearable devices; see our firmware development services.
