MetaDesk Global is an engineering company that builds connected IoT products, embedded firmware, AI systems, web platforms and Shopify stores for clients in North America, the UK, Australia and the Middle East.

CONTACTS
Embedded IoT Solutions

Medical Device Software Development for Connected Devices

Category
Embedded IoT Solutions
Read Time
12 min read
Status
Published

What changes when firmware and apps become part of a medical device: SaMD vs SiMD, IEC 62304 safety classes, ISO 14971, the FDA QMSR and section 524B SBOMs, EU MDR Rule 11, SOUP control and OTA updates under change control.

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.

Scope

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.

Standards

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 ruleWhat it coversWhat it means for the firmware and app team
IEC 62304:2006+A1:2015Software life cycle and safety classes A, B and CA plan before coding, written requirements, architecture and unit verification scaled to class, configuration and problem management, SOUP records
ISO 14971:2019Risk managementEvery 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 QMSRQuality system; the QMSR brought ISO 13485 into 21 CFR Part 820 from 2 February 2026Design controls and reviews, supplier control for outsourced work, controlled records for reviews, builds and tests
IEC 62366-1:2015+A1:2020Usability engineeringScreens, alarms, LEDs and pairing flows analysed for use errors; summative evaluation with representative users
IEC 81001-5-1:2021Security across the health software life cycleThreat 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 submissionsAn 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 11Software requirements and classification in the EULife 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.

Classification

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 in the EU

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.

Life Cycle

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

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 is not validation

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.

Security

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

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.

Rework

Medical Device Software Development Mistakes That Force Rework

Retrofitting IEC 62304 to a prototype
Requirements, architecture and tests are backfilled around working code, and the records show it. Re-implementing the risk-relevant parts under a plan is often cheaper than defending reverse-engineered documents.
No segregation, so everything is Class C
In one flat image the display driver and logging inherit the alarm logic’s class, and a font change needs Class C evidence.
Unpinned SDKs and dependencies
If the build resolves new versions automatically, the SOUP file and SBOM describe a different binary from the one released.
Treating the phone app as “just an app”
Store auto-updates and OS upgrades change device behaviour. The app needs the same release control, and supported OS versions belong in the stated minimum requirements.
Security and usability left to the end
A threat model drafted in the final month finds problems after the bootloader and key storage are frozen. Alarm tones and pairing flows first tested at summative stage fail with real users when changes are most expensive.

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.

FAQ

Frequently Asked Questions

What is medical device software development?
It is building firmware, apps or cloud software that is a medical device or part of one, under a controlled life cycle: IEC 62304 processes and ISO 14971 risk management inside an ISO 13485 quality system, with records tracing each requirement to a risk and a test.
What is the difference between SaMD and SiMD?
SaMD performs a medical purpose on its own, without being part of a hardware device, such as an analysis app or cloud algorithm. SiMD is software inside a hardware medical device, such as firmware driving its sensors or alarms. Many connected products contain both.
What are the IEC 62304 software safety classes?
Class A means no injury or damage to health is possible, Class B means non-serious injury is possible, and Class C means death or serious injury is possible. The class sets how much documentation and verification applies.
Is a Bluetooth wearable a cyber device under FDA section 524B?
Very likely. The FDA interprets the ability to connect to the internet broadly and lists Bluetooth and BLE among its examples. Plan for an SBOM, a vulnerability management plan and secure design evidence in the submission.
What is SOUP in medical device software?
SOUP, software of unknown provenance, is any software not developed under your IEC 62304 process, such as an RTOS, BLE stack or open-source library. Each item needs a pinned version, documented requirements, a review of known anomalies and an assessment of what happens if it fails.
When did the FDA QMSR take effect?
On 2 February 2026. It replaced the Quality System Regulation by incorporating ISO 13485:2016 by reference into 21 CFR Part 820, with some FDA-specific additions. An ISO 13485 certificate does not exempt a manufacturer from FDA inspection.
Wrapping Up

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.

About MetaDesk Global

Engineering the Next Generation of Connected Products

MetaDesk Global helps startups and enterprises develop intelligent connected products that combine embedded systems, Industrial IoT, Edge AI, and cloud technologies. Our expertise includes:

Industrial IoT (IIoT) Solutions Embedded Firmware Development Edge AI Development Predictive Maintenance Systems PCB Design IoT Gateway Development Cloud Integration OTA Firmware Updates AIoT Product Development End-to-End Product Engineering

From hardware design to AI-powered industrial platforms, we build scalable solutions for the next generation of connected products.

Start Your Project

Building a Connected Product?

We design IIoT sensor networks, Edge AI pipelines, and secure cloud platforms — from prototype to production.

Request a Free Quote →