📄 rdiserv_eb42.dbs
字号:
#--------------------------------------------------------------------------------------
# ATMEL Microcontroller Software Support - ROUSSET -
#--------------------------------------------------------------------------------------
# The software is delivered "AS IS" without warranty or condition of any
# kind, either express, implied or statutory. This includes without
# limitation any warranty or condition with respect to merchantability or
# fitness for any particular purpose, or against the infringements of
# intellectual property rights of others.
#--------------------------------------------------------------------------------------
# File Name : mpserv_eb42.dbs
# Object : Setup script for the Ateml AT91 board EB42 (Multi ICE probe)
# with specifc board initialisation
# - PLL
# - EBI
#
# 1.0 21/Nov/02 JPP : Creation
#--------------------------------------------------------------------------------------
#Disable External Watchdog assertion
m 0xffff8008=0x0
# At reset, the main clock is the output of the Slow clock oscillator, i.e 32,768KHz
# Set up the Clock frequency to run at 32,768 Mhz with PLLA
m 0xffff4020=0xC503E700
# Wait for PMC_PLL_LOCK Bit in the PMC_SR equals 2.
sleep 2
# Commuting from Slow Clock (32,768Khz) to PLLA (32,768Mhz)
m 0xffff4020=0xC503E790
# --------------------------------------------------------
# Now the Master clock is the output of PLL @ 32,768Mhz -
# --------------------------------------------------------
# EBI_CSR0 connected to the flash memory.
# Settings : EBI_BA=0x01000000 / EBI_CSEN / EBI_BAT_BYTE_WRITE / EBI_TDF_2 / EBI_PAGES_16M / EBI_NWS_3 / EBI_DBW_16
m 0xffe00000=0x01002529
# EBI_CSR1 connected to the External SRAM memory.
# Settings : EBI_BA=0x02000000 / EBI_CSEN / EBI_BAT_BYTE_WRITE / EBI_TDF_0 / EBI_PAGES_16M / EBI_NWS_1 / EBI_DBW_16
m 0xffe00004=0x02002121
# REMAP Done
m 0xffe00020=0x00000001
#2M bytes per Chip Select
m 0xffe00024=0x00000006
#Get chip id
m 0xFFF00000
echo off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -