Testing the SPI Interface SRAM: APS6404L

Testing the SPI Interface SRAM: APS6404L

1. Introduction   This small electronic badge contains many unique components. This AP Memory is a SPI interface SRAM with a capacity of 8MB. Below is a preliminary test of it. 2. Creating the Test Circuit   This RAM with SPI interface operates with a current from 2.7V to 3.6V. Its package seems to be universal, similar … Read more

Why Do Microcontrollers Have So Little RAM?

Why Do Microcontrollers Have So Little RAM?

You must be curious: mobile phone memory (RAM) often reaches 8G or 12G, but why do microcontrollers have less than 1M of RAM? To understand, the classic AT89C51 microcontroller has only 128 bytes of RAM (memory). Similarly, the classic MSP430F149 also has only 2K of RAM space. Even the STM32F1 series, which is commonly used … Read more

Overview of Linker Script Ld and Program Storage Mechanism

Overview of Linker Script Ld and Program Storage Mechanism

1. Linker Script Ld 1.1 Load Address LMA and Run Address VMA 1.1.1 Load Address LMA When programming, the addresses where the code segment and data segment are stored are generally in FLASH. This storage address ensures that data is not lost when power is off. 1.1.2 Run Address VMA During software execution, the (virtual) … Read more