11.3.1.1 Flash

The Flash is divided into a set of pages. A page is the smallest addressable unit when erasing the Flash. It is only possible to write or erase an entire page at a time. One page consists of 128 bytes.

Independent of page size, the Flash is organized in sections. The Flash is split into two physical sections to optimize the structure for boot loader applications: Read-While-Write (RWW) and Non Read-While-Write (NRWW). These two sections can be split into three logical sections: Boot Loader Code (BOOT), Application Code (APPCODE), and Application Data (APPDATA).

Figure 11-2. AVR EA family Flash Sections