Mini2440 memory initialization

Publisher:dadigtLatest update time:2017-11-19 Source: eefocusKeywords:mini2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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:

Mini2440 memory initialization


Keywords:mini2440 Reference address:Mini2440 memory initialization

Previous article:STM32 debugging-serial port printing function and usage
Next article:s3c2440 clock initialization

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号