<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AMemory</id>
	<title>Category:Memory - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AMemory"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Memory&amp;action=history"/>
	<updated>2026-06-04T09:18:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Category:Memory&amp;diff=30708&amp;oldid=prev</id>
		<title>Chao: /* Schematic */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Memory&amp;diff=30708&amp;oldid=prev"/>
		<updated>2021-04-22T08:48:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Schematic&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Instruction ==&lt;br /&gt;
There are three pools of memory in the microcontroller used on avr-based Arduino boards :&lt;br /&gt;
* Flash memory (program space), is where the Arduino sketch is stored.&lt;br /&gt;
* SRAM (static random access memory) is where the sketch creates and manipulates variables when it runs.&lt;br /&gt;
* EEPROM is memory space that programmers can use to store long-term information.&lt;br /&gt;
Flash memory and EEPROM memory are non-volatile (the information persists after the power is turned off). SRAM is volatile and will be lost when the power is cycled.&lt;br /&gt;
&lt;br /&gt;
The ATmega328 chip found on the Uno has the following amounts of memory:&lt;br /&gt;
* Flash  32k bytes (of which .5k is used for the bootloader)&lt;br /&gt;
* SRAM   2k bytes&lt;br /&gt;
* EEPROM 1k byte&lt;br /&gt;
The ATmega2560 in the Mega2560 has larger memory space :&lt;br /&gt;
* Flash  256k bytes (of which 8k is used for the bootloader)&lt;br /&gt;
* SRAM   8k bytes&lt;br /&gt;
* EEPROM 4k byte&lt;br /&gt;
&lt;br /&gt;
SPI FLASH VS EEPROM:&lt;br /&gt;
[[File:Flashmemorylayout.png|thumbnail]]&lt;br /&gt;
* EEPROM have smaller capacity (typically in Kbit size) will Flash have a larger capacity (typically in Mbit size)&lt;br /&gt;
* SPI bus is more commonly seen in Flash device due to high serial speed (in MHz range, e.g. 40/60MHz)&lt;br /&gt;
* Flash has divided memory into three levels of granularity, namely: pages, blocks, sectors(This apply to Atmel DataFlash/Adesto DataFlash)&lt;br /&gt;
* EEPROM data memory is seen as a block of continuous memory, each data with respective address. Each data byte is access by its respective memory address. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:AT24C256 (256Kb) EEPROM Data Module (I2C Bus) schematic.png | EEPROM schematic&lt;br /&gt;
File:Spi_flash.jpeg | SPI Flash schematic&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: Breakout]]&lt;br /&gt;
[[category:Topics]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>