ATmega128 has 128K bytes of online programming Flash. Because all AVR instructions are 16-bit or 32-bit, the FLASH is organized into 64K x 16. Considering software security, the Flash program memory is divided into two areas: the boot program area and the application program area.
Flash memory can be erased and written at least 10,000 times. The program counter PC of ATmega128 is 16 bits, so it can address 64K of program memory. The boot program area and software secure boot lock bit are described in detail in P 255 "Supporting boot loader - self-programming capability that can be read while writing (RWW, Read-While-Write)". P 267 "Memory Programming" introduces the use of SPI or JTAG interface to realize serial download of Flash.
Constants can be stored throughout the program memory address space (see LPM – Load Program Memory Instructions and ELPM – Extended Load Program Memory Instructions).
For the instruction fetch and instruction execution timing diagram, please refer to P 11 “Instruction Execution Timing”.
Previous article:ATmega128 SRAM data memory
Next article:ATmega128 reset and interrupt handling
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Pre-registration for the live broadcast with prizes | New opportunities in the UWB market
- Can the highest main frequency of DSP be obtained from the chip model?
- Qualcomm launches next-generation cellular chipsets designed for the Internet of Things
- The ultimate PCB material for entry-level nanny
- After the zstack coordinator is powered off and restarted, the node cannot access the network?
- High-performance lossless data decompression IP based on LZO
- Newcomer Report
- Benefits of IoT
- Application suggestions for 2.1GHz and 3.5GHz frequency bands in 5G networks
- 【NUCLEO-WL55JC2 Review】Summary