📄 mpserv_eb40a.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_eb40A.dbs
# Object : Setup script for the Ateml AT91 board EB40A
# with specifc board initialisation
# - EBI
#
# 1.0 30/Oct/02 JPP : Creation
#--------------------------------------------------------------------------------------
# Setup script for the Atmel AT91 board
# jr: Reset the JTAG TAP controller.
jr
# immediately after reset could add handlers itself.
# tr: Reset the target system using JTAG reset pins. When no parameters are given
# the target will reset and stay in the reset state if possible.
tr
# halt: halt execution
halt
if (m 0xffe00020 == 0)
print AT91 reset
endif
print set the EBI value for load application
# 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
m 0xffe00000=0x01002539
# EBI_CSR1 connected to the External SRAM memory.
# AT91 REMAP Done
m 0xffe00020=0x00000001
# 2M bytes per Chip Select
m 0xffe00024=0x00000006
# Get the Chip ID
print Chip ID
m 0xfff00000
# Get the Lists all breakpoints.
print Get the Lists all breakpoints.
bl
print Display current target status information.
ti
# Set the mode register
reg cpsr 0xd3
#set All register for RESET
reg r0 0x0
reg r1 0x0
reg r2 0x0
reg r3 0x0
reg r4 0x0
reg r5 0x0
reg r6 0x0
reg r7 0x0
reg r8 0x0
reg r9 0x0
reg r10 0x0
reg r11 0x0
reg r12 0x0
# reg r13 0x0
# reg r14 0x0
# reg r15 0x0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -