📄 jnand_alt_msm_init.cmm
字号:
;============================================================================
; Name:
; JNAND_MSM_INIT.CMM for Saber
;
; Description:
; Script to initialize the MSM for JNAND program to run. No h/w init
; is done in JNAND
;
; Execution:
; Called by jnand.cmm and jnandtest.cmm to init the MSM
;
; Copyright (c) 2003 by QUALCOMM, Incorporated. All Rights Reserved.
;----------------------------------------------------------------------------
;============================================================================
;
; EDIT HISTORY FOR MODULE
;
; $Header: //depot/asic/msm6250/tools/jnand/jnand_msm_init.cmm#8 $ $DateTime: 2003/10/30 07:41:25 $ $Author: dionh $
;
; when who what, where, why
; ------- --- --------------------------------------------------------
; 10/30/03 drh Save current directory so we can return to it.
; 07/28/03 drh Minor cosmetic cleanup, no functional changes
; 07/23/03 sr Added call to setupgpll.cmm as a workaround for enabling
; searcher RAM after power UP. Also changed script to run
; common .cmm files like constants.cmm, setupebi2.cmm,
; setupmemmap.cmm and setupxmemc.cmm from build/ms directory
; 07/08/03 drh Integrate change by dl to turn off camera flash
; Remove erroneous error message
; 06/10/03 drh Saber - taken from Jaguar jnand_msm_init.cmm
; ------- --- --------------------------------------------------------
; ------- --- --------------------------------------------------------
; 07/05/02 drh Created - taken from Cougar JFINIT.CMM directly with
; minor changes to account for NAND
;============================================================================;
; --------------------------------------------
; --- Debugger System Setup ---
; --------------------------------------------
; Turbo mode of debug state accesses - CPU makes no checks of
; memory access in debug mode.
System.Option TURBO off
; Usage of TRST in system - Must be off if reset tied to trst.
System.Option.TRST on
System.Option.CFLUSH on
System.Option.ResBreak on
System.Option.ENRESET on
System.Option.WAITRESET on
SYSTEM.CPU ARM926EJ
SYSTEM.OPTION BIGENDIAN OFF
SYSTEM.JtagClock RTCK
; Disable "Emulator berr error"
System.Option ShowError off
; Disassembler selection - Automatically selects correct one.
System.Option DisMode Auto
; Generate a reset
SYSTEM.DOWN
SYSTEM.UP
;Because MSM does not always reset to correct address
r.s PC 0xFFFF0000
b.s 0x0 /onchip
go
wait !run()
break.delete /all
enddo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -