Abstract
Memory management requires special consideration in embedded systems. Therefore, we will deal with memory-based operations, especially for the STM32F4 microcontroller, in this chapter. To do so, we will first consider the bus architecture, working principles of RAM, and flash memory. Then, we will focus on memory management in C, C++, and MicroPython languages. While doing so, we will focus on pointer usage in C and C++ languages. We will also provide details on how MicroPython handles memory. Afterward, we will introduce peripheral units as direct memory access (DMA) and flexible memory controller (FMC) available in the STM32F4 microcontroller. We will provide usage examples on these units via different approaches. Hence, the reader can benefit from them in advanced operations. As the end of the chapter application, we will add memory-based properties to the robot vacuum cleaner developed throughout the book.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Python Community: https://docs.python.org/3/library/stdtypes.html. Accessed 4 June 2021
ISSI: 1 Meg Bits x 16 Bits x 4 Banks (64-MBIT) Synchronous Dynamic RAM, rev. g edn. (2014)
STMicroelectronics: STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 advanced Arm-based 32-bit MCUs, rm0090 rev 19 edn. (2021)
Author information
Authors and Affiliations
9.1 Electronic supplementary material
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ünsalan, C., Gürhan, H.D., Yücel, M.E. (2022). Memory Operations. In: Embedded System Design with ARM Cortex-M Microcontrollers. Springer, Cham. https://doi.org/10.1007/978-3-030-88439-0_9
Download citation
DOI: https://doi.org/10.1007/978-3-030-88439-0_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-88438-3
Online ISBN: 978-3-030-88439-0
eBook Packages: EngineeringEngineering (R0)