• Detailed explanation of file storage in Android


    catalogue outline Independent file Exclusive documents internal storage external storage outline When we check the file manager of the mobile phone, we will find that there are many kinds of files in it. It is very difficult to find the files corresponding to our own project, and we may even not find our own files […]

  • Databend performance tuning – Basics


    In the field of software infrastructure, people begin to pay more and more attention to the performance optimization of code. While meeting its complete functions, if the code can be optimized step by step, it can achieve better work efficiency under the same hardware conditions and further improve the business production efficiency. Especially in the […]

  • Detailed explanation of JS browser storage


    catalogue introduction Cookie What is a cookie Cookie generation method Application scenario of cookie Disadvantages of cookies resolvent LocalStorage characteristic Use example Usage scenario SeesionStorage characteristic Usage scenario Differences between cookies, localstorage and sessionstorage Different scopes Different life cycles summary introduction With more and more in-depth understanding of the front-end, I have learned about many […]

  • Does STM32 belong to Harvard structure or von Neumann structure?


    Modern CPUs are basically classified into von Neumann structure (also known as Princeton structure) and Harvard structure. Von Neumann structure is what we call x86 architecture, and Harvard structure is ARM architecture. One is widely used in the desktop (desktop / Laptop / server / workstation, etc.), and the other is dominant in the mobile […]

  • 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 […]