filmov
tv
How Microcontroller Memory Works | Embedded System Project Series #16
Показать описание
I explain how microcontroller memory works with a code example. I use my IDE's memory browser to see where different variables end up in memory, and I demonstrate two command line tools to track how much flash memory my code occupies. Overall, knowing how memory works is important because microcontrollers have a limited amount of it, and if we are not mindful of how we write our code, we may run out of it.
0:00 Overview
1:30 Flash and RAM
3:22 From source code to memory
7:12 Code example
8:07 Different variables
12:20 Program code
13:13 Linker script
14:55 Memory browser and Map file
24:22 Surprising flash usage
27:30 Tool 1: Total flash usage
31:38 Tool 2: readelf
33:53 git commit
33:15 Last advice
#embeddedsystems #cprogramming #microcontroller
Code:
🌍 Links related to this video
🌍 Find me here
👨💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
0:00 Overview
1:30 Flash and RAM
3:22 From source code to memory
7:12 Code example
8:07 Different variables
12:20 Program code
13:13 Linker script
14:55 Memory browser and Map file
24:22 Surprising flash usage
27:30 Tool 1: Total flash usage
31:38 Tool 2: readelf
33:53 git commit
33:15 Last advice
#embeddedsystems #cprogramming #microcontroller
Code:
🌍 Links related to this video
🌍 Find me here
👨💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
How Microcontroller Memory Works | Embedded System Project Series #16
How computer memory works - Kanawat Senanan
What is a microcontroller and how microcontroller works
All About Microcontroller Memory - Flash, RAM, EEPROM | Embedded Systems Explained
Microcontroller Memory Types - Collin’s Lab Notes #adafruit #collinslabnotes
How Does Flash Memory Work? (SSD)
What is a Microcontroller and How does it Works?
Different Types of Memory in Microcontroller : Flash Memory, SRAM and EEPROM
Technical session on FPGA
What Is Flash Memory?
How Microcontroller with EPROM works
How microcontroller and miroprocessor works in general?
Registers and RAM: Crash Course Computer Science #6
Lecture 5: Memory Mapped I/O
What is memory aliasing in Microcontroller ? | Memory aliasing in MCU #embedded #microcontroller
Difference between Microprocessor and Microcontroller
The Fetch-Execute Cycle: What's Your Computer Actually Doing?
BEC405A- 8051 Microcontroller|VTU|BE|ECE|8051 Internal Memory Organization|RAM|ROM|SFR|Stack Pointer
Lecture 15: Booting Process
Different Kinds of Microcontroller MEMORY : RAM, FLASH, and EEPROM
Working of RAM and ROM in microcontroller.
How a CPU Works in 100 Seconds // Apple Silicon M1 vs Intel i9
Logic Gates Learning Kit #2 - Transistor Demo
What is Internal Flash Memory in Microcontroller ? | System Memory in MCU #embedded #memory
Комментарии