• The difference between memory and hard disk


    Many computer Xiaobai still have questions, that is, what is the difference between memory and hard disk? Why is the same 300 yuan, buy memory can only buy 8GB capacity, and hard disk can buy more than 250GB. Memory is also called internal memory. You can understand it as a transfer station for the exchange of […]

  • EEPROM and flash cannot replace SRAM in most applications


    With the rapid development of semiconductor technology, various memories have been introduced one after another, and the performance has been continuously improved. As we all know, the data in the ordinary SRAM disappears immediately after the power supply is powered off. After power on again, the data in the memory is a random number. This […]

  • Memory on SOC


    SOC has application based memory. These memories are semiconductor memory blocks for calculation. Semiconductor memory usually refers to metal oxide semiconductor memory cells fabricated on a single silicon wafer. Memory types include: Volatile memory: memory that will lose data after power failure. They require a constant power supply to store information. Volatile memory is faster and […]

  • Potential risks of defer close() in golang


    As a gopher, it’s easy to form a programming convention: whenever an implementation is implementedio.CloserObject of interfacexWhen you get the object and check for errors, it is used immediatelydefer x.Close()To ensure that when the function returnsxObject is closed. Here are two examples of idiomatic writing. HTTP request resp, err := http.Get(“https://golang.google.cn/”) if err != nil […]

  • Introduction to FSMC peripherals of stm32


    01. FSMC features Flexible static memory controller (FSMC) is a flexible static memory controller. FSMC can be connected to asynchronous or synchronous memory or 16 bit PC memory card. Its main purposes are: Convert AHB data communication transactions to appropriate external device protocols Meet the access timing requirements of external devices All external memories share […]

  • MRAM replaces the embedded memory in vehicle MCU


    Spin injection MRAM combines the advantages of existing memories such as DRAM and NAND flash memory in function, and exceeds almost all existing memories in performance. Therefore, it may win a huge market (see Table 1). Specifically, in terms of function, spin injectionMRAMLike flash memory, it is nonvolatile. Even if the power is cut off, […]

  • Differences, advantages and disadvantages between nonvolatile memory flash and EEPROM


    In embedded systems, flash and EEPROM can store data that can be used to communicate or perform some functions. They can connect storage devices through a variety of different serial protocols, including SPI or serial peripheral interface. Many different types of SPI storage devices are also integrated in the single chip microcomputer, including flash and […]

  • STM32 DMA details


    This article is translated and sorted out according to the user manual of stm32f207 1. Overview DMA (direct memory access) direct memory access is used for high-speed data transmission between memory and memory or between memory and peripherals. Data transmission can move quickly without CPU intervention, which can maintain CPU resources to deal with other […]

  • Working principle and technology of MRAM


    Ram is a storage technology that uses electron spin to store information. Nonvolatile MRAM has the potential to become a general-purpose memory, which can combine the density of storage memory with the speed of SRAM memory, and always maintain nonvolatile and high energy efficiency. MRAM memory chip can resist high radiation and can operate under […]

  • MySQL batch adding and storing method instances


    When logging in to the pressure test, many different users are required. At this time, data needs to be added to the database #Batch add user account – stored procedure: delimiter // drop procedure if exists test; create procedure test() begin DECLARE i int; set i = 1; while i<21 do insert into hg_user values […]

  • Vernacular takes you to open the door of the operating system


    The origin of everything Turing machine Turing machine is mainly composed of data storage unit, control unit, operation unit and a read-write head for reading and writing external data.Turing machine needs a paper tape. The paper tape is covered with a grid. Characters can be recorded on the grid. Characters can be divided into data […]

  • Analyze the storage function of HTML5 and the related operation methods of Web SQL


    HTML5 introduces two mechanisms, session cookies similar to HTTP, to store structured data on the client and overcome the following shortcomings. Cookies are included in every HTTP request, resulting in the transmission of the same data and slowing down our web application. Cookies are included in each HTTP request, resulting in sending unencrypted data to […]