First of all, the S3C2440 memory space does not include NAND FLASH, NAND FLASH is just a peripheral.
The addressing range of the S3C2440 memory controller is 0~0x3fff ffff, a total of 1G. This 1G space is divided into 8 banks, BANK0~BANK7.
During the product development stage, BANK0 is generally used to control NOR FLASH and BANK6 to control SDRAM. For the finished product, NOR FLASH will be removed and the firmware will be placed on NAND FLASH, while SDRAM remains unchanged.
For code storage, such as NOR FLASH, it is not necessary to access specific bytes; for SDRAM, because byte variables may be stored, byte access must be supported. Here we will talk about how the memory controller accesses the bytes of SDRAM under a 32-bit bus width.
For example, two 16-bit SDRAMs are used to form a 32-bit data bus. The address lines A0 and A1 of S3C2440 are no longer used. S3C2440 provides DQM0, DQM1, DQM2 and DQM3 to select a certain byte (guess: DQM0, DQM1, DQM2 and DQM3 are obtained from A0 and A1 through the internal decoder, which can save external components). Then expand the row and column addresses of SDRAM, and add the selection line of SDRAM BANK, and SDRAM can actually be regarded as a SRAM.
Previous article:U--BOOT transplantation----S3C24X0_CLOCK_POWER and ICACHE_ENABLE, DCACHE_ENABLE functions
Next article:Talk about ARM interrupt nesting
- Popular Resources
- Popular amplifiers
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
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Changes that RF front-ends need to cope with in the 5G era
- TI C66x DSP Four Memory Protection Issues
- Flyback Transformer Wizard v1.2
- What does the last V in the second string of STM32F405RGT6 and STM32F405RGT6V mean? A newbie needs help!!!
- MSP430 MCU Development Record (10)
- MSP430 Smart Analog 4mA to 20mA RTD Temperature Transmitter Reference Design
- Isn't it best to have an open circuit between the positive and negative? Why do we need to connect a diode and a capacitor in reverse?
- MSP430 Simple Programming
- MSP432 GPIO configuration issues
- Feiling Embedded Technology Post | Application of OpenSSL on OKMX8MP-C Development Board