1 SDRAM addressing:
The board uses a modern sdram chip 4M×16b×4Bank, which is 32MB. It should have 25 address lines, but the chip only provides 13 address lines, 2 bank select lines (BA0, BA1), and two chip select signals. How to address it?
Answer from: http://www.52rd.com/Blog/Archive_Thread.asp?SID=11206
Let's take the HY57V561620 film as an example.
From the chip data sheet, we can learn that: 4M×16b×4Bank, that is, a total of 32MB, providing 13 address lines (row address lines RA0-RA12, column address lines CA0-CA8 shared by row and column address lines), 2 bank select lines (BA0, BA1).
Two bank selection lines (BA0, BA1) can select four banks, which means we can analyze only one bank.
One bank is 4Mx16bit, which requires 23 address lines. According to the above addressing method, the space of one bank = the space accessible by the row address x the space accessible by the column address.
The size of 1 Bank = 2^13 x 2^9 = 2^22.
There are only 22, how come there is still one missing? J (Hehe)
This is because the chip uses half-word as a storage unit. That is, two words at a time, so 2^22 x 2=2^23. You can access the entire bank.
2 nand flash
1) The address line and data line of nandflash are shared, and it is read and written in blocks, and is mapped to ngcs1 (the 0 address of ngcs0 only hangs 4k of internal ram), so you can't run programs directly on it. And when the board is set to start from nandflash, it actually copies the first 4k of the content on nandflash to the internal ram, and then runs the program from the internal ram. The advantage of nand is that it is relatively large and can be used as a storage device like a hard disk.
3 nor flash
The advantage of nor flash is random reading, and programs can be run directly on it. The disadvantage is that the cost is relatively high. The Ulong board only has 2M.
Previous article:ARM exceptions and interrupts
Next article:S3C2410 clock part summary
- 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
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- [Creative Collection] MPS Exploration Camp "Serious Technology Play" | Unlock the infinite ways to play with lithium battery charging!
- [CH579M-R1] Problems encountered in ADC
- To solve the problem of impedance continuity in PCB design, just read this article!
- [Gizwits Gokit3 Review] Part 1: Some problems encountered during unboxing test
- Power-on issue with bq40z50-r1
- Ensure the quality and safety of child safety seats to protect children's travel
- Why is there so little information about MPU chips?
- Compensation Method for High-Precision Temperature Measurement Using MSP430 Microcontroller
- Machine A sends control command characters
- [Review of Arteli Development Board AT32F421] + Raising a Watchdog