Mender blog

Memory requirements for your Raspberry Pi with SD and eMMC

To support the writing of image updates to the simple board computer (SBC), you need to think carefully about your Raspberry Pi and the SD card in it. A key consideration is writing to the SD card and not wearing out the flash memory. If the flash memory does get worn out before the end of the lifecycle of your device, the device will stop working. Then the device will have to be manually replaced by a technician in the field. So it is key to be aware of excessive usage as flash memory has a limited number of times it can be written to.

Raspberry Pi SD pros and cons

Flash memory is inexpensive but it does not have the longest life time. You can make the memory last longer. You can do this by evening out the writes over the different sections in the memory. So be mindful of memory writes before the device is deployed into the field. The upside for memory with Raspberry Pi is that it does have an SD card slot so memory can be upgraded but this is not ideal if you have a large, geographically dispersed fleet as it would require technicians to upgrade the memory manually. This would be time consuming and costly for your IoT project.

Raspberry Pi with an 16 Gbyte SD card inserted in the slot

eMMC as an add on fix for Raspberry Pi SD

Not all devices use flash memory, devices in IoT projects often ship with eMMC (embedded MultiMediaCard) memory and this is a much more robust and sustainable option for industrial projects. eMMC has the advantage that it does not wear out so easily. eMMC is more expensive as a form of memory and is often integrated into the computer. With eMMC, the flash memory and controller are included on a single integrated circuit which is integrated into the device. The good news is that the SD card slot on the Raspberry Pi can be used to support the use of eMMC. For example, the RasPiKey is a module that can be inserted into a micro SD card slot on a Raspberry Pi, providing 16Gbyte of memory, a faster read and writing speed and a most robust SD card.

Therefore as your IoT project is being planned you should consider carefully whether eMMC is actually a better option than SD to meet the needs over the lifecycle of the project. Memory over a life cycle depends on the usage in the specific project case. If you do a full RootFileSystem update, then you will be flashing at least half the memory each time. So bear in mind that the memory could wear out if you use it excessively.

Also consider these useful articles on Raspberry Pi:

Recent articles

The scope of EU Cyber Resilience Act (CRA) compliance

The scope of EU Cyber Resilience Act (CRA) compliance

Explore the scope of the EU Cyber Resilience Act (CRA). Learn about the CRA's scope, and why secure OTA updates are essential for compliance.
An overview of EU Cyber Resilience Act (CRA) compliance

An overview of EU Cyber Resilience Act (CRA) compliance

Learn how the EU Cyber Resilience Act (CRA) enforces stringent cybersecurity requirements for PDEs. Explore compliance essentials in part 1 of a 4-part series.
Challenges in complying with the EU Cyber Resilience Act (CRA)

Challenges in complying with the EU Cyber Resilience Act (CRA)

Discover how manufacturers can achieve Cyber Resilience Act (CRA) compliance by tackling secure updates, SBOM management, and vulnerability tracking with robust OTA solutions.
View more articles

Learn why leading companies choose Mender

Discover how Mender empowers both you and your customers with secure and reliable over-the-air updates for IoT devices. Focus on your product, and benefit from specialized OTA expertise and best practices.

 
sales-pipeline_295756365