⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ocdserv_eb40a.dbs

📁 ARM入门的好帮手.包含了从简单到相对较复杂的程序.
💻 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           : 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -