ocdserv_eb40a.dbs

来自「ATMEL AT91RM9200开发板配套光盘上的全部示例程序」· DBS 代码 · 共 44 行

DBS
44
字号
#--------------------------------------------------------------------------------------
#      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           : ocdserv_eb40A.dbs
# Object              : Setup script for the Ateml AT91 board EB40A with Raven Connection 
#			Or Wiggler
#			with specifc board initialisation
#				- EBI
#
# 1.0 08/Nov/02 JPP  : Creation 
#--------------------------------------------------------------------------------------
# Setup script for the Atmel AT91 board
delay fast

# Set CPSR such that:
# Supervisor mode is on
# Thumb mode is off
# IRQ and FIQ interrupts are disabled
reg cpsr 0xd3


# 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_7 / EBI_DBW_16
memwrite long 0xffe00000 0x01002539

# EBI_CSR1 connected to the External SRAM memory.

# AT91 REMAP Done
memwrite long 0xffe00020 0x00000001

# 2M bytes per Chip Select
memwrite long 0xffe00024 0x00000006

run
sleep 1
halt
delay fast

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?