The S3C2440 chip only provides 27 address lines on the pins provided to the outside. The 27 pins on the chip can only access 128MB of peripheral space. In order to expand the access range of peripherals, the S3C2440 chip provides 8 chip select signals nGCS0~nGSC7. When a chip select signal nGSCx is valid, the 128MB space corresponding to this chip select can be accessed through 27 address lines. Since there are 8 chip selects, the total peripheral space that 2440 can access is 128*8=1G, and the space above 1G (0X40000000) is allocated to the internal registers of 2440. Accessing these internal registers is done through the 32-bit processor internal bus.
Check the S3C2440 chip manual, Chapter 5 Memory Control, to initialize the memory of the chip, you need to configure 13 register addresses from 0X48000000 to 0X48000030. When writing assembly code, you can store the value of each register to be configured in an array, and then assign the numbers in the array to the registers with the corresponding addresses in turn.
The reference assembly code is as follows:
Previous article:STM32 debugging-serial port printing function and usage
Next article:s3c2440 clock initialization
- 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
- [ESP32-Audio-Kit Audio Development Board Review]——(2): Questions about play_mp3_control
- Is it popular to reduce the size of laptop keyboards now?
- (Bonus 5) GD32L233 Review - CRC (with the clearest article explaining CRC in history)
- Recruiting MCU development engineers (workplace: Beijing, Wuhan)
- ST FOC electrical angle problem
- Altium Designer software is abnormal, please solve it! ! !
- Unboxing
- 5G frequency band division among the three major operators
- TMS320F28335 and its minimum system design
- 2022 Digi-Key Innovation Design Competition + ESP32-S2-KALUGA1 Unboxing