DDR1 clock problems, DDR1 clock Problems
I encountered a problem recently. I had a hard time tossing for a week and had a special crash! When the board is powered on, when reading data from Flash, sometimes an error occurs when writing data to DDR. For occasional errors, it is difficult to use reveal to locate the error online, and the location of each error is not the same.
Today, the hardware engineer t
1. Storage Controller IntroductionThe Storage Manager in s3c2440 provides the signals needed to access external devices, with the following features:1. Support small byte order, large byte order (through software selection)2. Each bank is 128M, a total of 8 bank, a total of 1G3.BANK0~BANK5 can support external ROM, SRAM, etc.,bank6~bank7 in addition to support ROM, SRAM and support SDRAMThe starting address of the 4.BANK0~BANK7 is fixed.5. Support Self-refresh and Power save mode when external S
The system uses two pieces of K4M51163-BG75 of SDRAM, the size is 2*64 m.
1. How SDRAM works
1.1 SDRAM Overview
SDRAM: synchronous dynamic random access memory, synchronous dynamic random memory. Synchronization means that the clock frequency (CLK) is the same as the CPU's AHB Bus clock frequency (hclk), and internal c
data to be written to the storage queue. In a read pipeline, the required data arrives after a fixed number of clock frequencies after the read instruction is issued, and the waiting process can issue additional instructions. This delay is called the wait Time (Latency), which is an important parameter when purchasing a computer for storage.SDRAM is widely used in computers, from the initial SDRAM to the subsequent generation of DDR (or
Concept Introduction:
sdram:synchronous dynamic random Access memory, which is synchronized with the RAM. Synchronization refers to its clock frequency and the CPU front-end bus system clock is the same, and the internal command of the transmission and data transfer are based on it, dynamic refers to the storage array needs to constantly refresh to ensure that the data is not lost, random refers to the data is not linear storage, but the freedom to specify the address to read and write data.
I
I wrote two blogs about Modelsim simulation. The naming of the module PINs may be a bit strange. In fact, the previous two articles are designed to simulate the SDRAM operation.
Because the simulation process of SDRAM is relatively complicated and cumbersome. Therefore, more than one blog may be required.
Before starting the simulation, if you are not familiar with the principle and timing of
Application of SDRAM in Arbitrary Waveform Generator
[Date:]
Source: Electronic Technology Application Author: Chu Fei Huang Yang Jing Huang
[Font:Large Medium Small]
Arbitrary Waveform generators play an important role in the radar and communication fields. However, most arbitrary waveform generators currently use static memory. This makes it difficult to increase the operating frequency of any waveform generator, and thus cann
UDQM, LDQM: Data input and output shielding pin.Used to control output buffering in read mode and to mask input data in write mode.LDQM,UDQM these signal lines are for byte access and half-word access, LDQM control low eight-bit, UDQM control high eight-bit, so when to write in bytes, the high eight-bit screen off.This paper introduces the addressing principle of SDRAM before the design of SDRAM circuit
Disclaimer: This article is an original work and copyright belongs to the author of this blog.
All. If you need to repost, please indicate the source
Http://www.cnblogs.com/kingst/
I. Introduction
In this section, let's talk about SDRAM. As the most important external device in the system, the system plays an important role and everyone should be familiar with it. Each time you power on, FPGAProgramThe reason for this is that it is fast, b
Http://www.cnblogs.com/spartan/archive/2011/05/06/2038747.htmlSdramSDRAM (Synchronous dynamic random access memory), synchronous, refers to the memory work requires a step clock , The transmission of internal commands and the transfer of data are based on it, dynamic refers to the storage array needs to be constantly refreshed to ensure that the data is not lost, random refers to the data is not linear storage , but by the specified address to read and write data. The current 168-wire 64bit band
ADSP-BF533 to realize the SDRAM read and write, BF533 to connect to the SDRAM, so I found the BF533 on the related pin, the following is the BF533 on the SDRAM interface signal and the corresponding function description:
1. Data []: external data bus;
2. ADDR [], ADDR [16]: External address bus, connected to the address pin of
Reprinted from: http://tanatseng.blog.163.com/blog/static/17499162920101022323130/
S3C2440 has 27 address lines ADDR [26:0], 8 chip selection signal nGCS0-nGCS7, corresponding to the bank0-bank7, when accessing bankx address space, ngcsx pin for low level, select peripherals.
2 ^ 27 = 2 ^ 7*2 ^ 10*2 ^ 10 = 128 Mbyte
8*128 Mbyte = 1 Gbyte
Therefore, the total addressing space of S3C2440 is 1 Gbyte.
There are few 32-Bit Single-Chip SDRAM on the market.
, easy to integrate, often as a computer memory to make the original. For example: The memory of the PC, SDRAM, DDR, DDR2, DDR3, etc., disadvantage: Due to periodically refresh the storage media, access speed is slow.SRAM: It is a memory with a static access function, it can save the data stored in it without needing to refresh the circuit. Therefore, its access speed is fast, but large size, power consumption, high cost, commonly used for storage cap
SDRAM (Synchronous dynamic Random Access Memory, synchronous dynamically random memory) is what is commonly called memory. In the PC we use now, the memory referred to is, in fact, SDRAM, but it is his upgraded version, such as DDR memory, DDR2 memory, DDR3 memory, and so on, most graphics card on the video memory is also SDRAM.
Memory is the execution space of t
Start norflash and start nandflash. Summary of SDRAM
The first command read during the startup of S3C2440 is 0x00, which can be started on NAND Flash and nor flash.
Nand flash: suitable for large-capacity data storage, similar to hard disks;
Nor FLASH: suitable for small-capacity programs or data storage, similar to small hard disks;
SDRAM: Mainly used for program storage, execution, or computing during pr
DRAM, Dynamic Random Access Memory, must be constantly refreshed to save data. In addition, the row and column addresses are reused, and many of them have the page mode.SRAM, static random access memory. When powered on, data does not need to be refreshed, and data will not be lost. In addition, it is generally not reused by row and column addresses. SDRAM, synchronous DRAM, that is, data read/write requires clock synchronization.DRAM and
CB early in 2012 on the introduction of the VIP Video Development Board V1.4 This set of development Board is EP2, the camera is ov7670, although not as powerful as the current VIP20, but also the embryonic form.In the late VIP20, the CB was encapsulated with SDRAM and other modules, making it more reliable and more stable.Obviously, SDRAM to be more stable, more reliable, verification, need to carry out a
The following bare metal program is based on gt2440 and the compiler is a arm-linux-gcc-4.4.3.
Program Structure: The program consists of SDRAM. S and Main. C consists of two files, SDRAM. s file to complete some initialization work, such as clock initialization, memory controller initialization, copy the second-stage code to SDRAM, and so on; Main. C is responsi
First, the SDRAM initialization process:1, send _PR (precharge) command.2, meet the TRP time requirements of at least 20ns.3. Send _ar (Auto Refresh) command.4, Meet TRFC (Trpc aka TRCC) time requirements of at least 63ns.5. Send _ar (Auto Refresh) command.6, Meet TRFC (Trpc aka TRCC) time requirements of at least 63ns.7, send _LMR (lode moderegister) command and related configuration information.8, meet the TMRD time requirements of at least 1 clocks
[emailprotected]:~/my03$lltotal12-rw-rw-r--1chunlichunli2703 Apr1303:49head. s-rw-rw-r--1chunlichunli532apr1303:50leds.c-rw-rw-r-- 1chunlichunli312apr1303:50makefile[emailprotected] : ~/my03$cathead. s@*************************************************************************@file:head.s@ Function: Set SDRAM, copy the program to SDRAM, then skip to SDRAM to conti
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.