130 lines
4.1 KiB
Plaintext
130 lines
4.1 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: Layerscape RCW RCW-Override Assistant
|
|
; @Props: Released
|
|
; @Author: AME
|
|
; @Manufacturer: NXP
|
|
; @Doc: confidential
|
|
; @Copyright: (C) 1989-2016 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: perls_rcw.per 11842 2020-04-15 08:07:57Z bschroefel $
|
|
|
|
width 10.
|
|
TREE.close "RCW HRCWOVerRide Flow - with RESET line"
|
|
wgroup avm:0++3
|
|
line.long 0 ","
|
|
button "SYStem.Option HRCWOVerRide OFF" "SYStem.Option HRCWOVerRide OFF"
|
|
textline " "
|
|
button "SYStem.Mode.Down" "SYStem.Mode.Down"
|
|
textline " "
|
|
button "CORE.ASSIGN 1." "CORE.ASSIGN 1."
|
|
textline " "
|
|
button "SYStem.Option EnReset ON" "SYStem.Option EnReset ON"
|
|
textline " "
|
|
button "SYStem.Option HRCWOVerRide ON /NONE" "SYStem.Option HRCWOVerRide ON /NONE"
|
|
textline " "
|
|
button "SYStem.Mode.Prepare" "SYStem.Mode.Prepare"
|
|
textline " Now override RCW_SRC / RCW"
|
|
textline " "
|
|
button "DIAG MODE" "Data.Set EDBG:0x4200f00c %Long 0x1"
|
|
textline " "
|
|
button "SYStem.Mode.Up" "SYStem.Mode.Up"
|
|
textline " "
|
|
button "SYStem.Option HRCWOVerRide OFF" "SYStem.Option HRCWOVerRide OFF"
|
|
TREE.end
|
|
TREE.open "RCW HRCWOVerRide Flow - without RESET line"
|
|
wgroup avm:0++3
|
|
line.long 0 ","
|
|
button "SYStem.Option HRCWOVerRide OFF" "SYStem.Option HRCWOVerRide OFF"
|
|
textline " "
|
|
button "SYStem.Mode.Down" "SYStem.Mode.Down"
|
|
textline " "
|
|
button "CORE.ASSIGN 1." "CORE.ASSIGN 1."
|
|
textline " "
|
|
button "SYStem.Option EnReset OFF" "SYStem.Option EnReset OFF"
|
|
textline " "
|
|
button "SYStem.Option HRCWOVerRide ON /PORESET" "SYStem.Option HRCWOVerRide ON /PORESET"
|
|
textline " "
|
|
button "SYStem.Mode.Prepare" "SYStem.Mode.Prepare"
|
|
textline " Now override RCW_SRC / RCW"
|
|
textline " "
|
|
button "DIAG MODE" "Data.Set EDBG:0x4200f00c %Long 0x1"
|
|
textline " "
|
|
button "SYStem.Mode.Up" "SYStem.Mode.Up"
|
|
textline " "
|
|
button "SYStem.Option HRCWOVerRide OFF" "SYStem.Option HRCWOVerRide OFF"
|
|
TREE.end
|
|
tree.open "RCW_SRC HRCWOVerRide"
|
|
if (SYStem.MODE()!=0.)
|
|
if Per.Long(EDBG:0x4200f004)!=0
|
|
textline "RCW_SRC Override set"
|
|
endif
|
|
if Per.Long(EDBG:0x4200f000)==0x40
|
|
group.long EDBG:0x42000040++0x3
|
|
line.long 0x0 "RCW_SRC,RCW_SRC"
|
|
elif Per.Long(EDBG:0x4200f000)==0x80
|
|
group.long EDBG:0x42001080++0x3
|
|
line.long 0x0 "RCW_SRC,RCW_SRC"
|
|
endif
|
|
endif
|
|
tree.end
|
|
tree.open "RCW HRCWOVerRide"
|
|
if (SYStem.MODE()!=0.)
|
|
if Per.Long(EDBG:0x4200f008)!=0
|
|
textline "RCW Override set"
|
|
endif
|
|
if Data.Long(EDBG:0x4200f000)==0x40
|
|
group.long EDBG:0x42000000++0x3f
|
|
line.long 0x0 "RCW[0] ,"
|
|
line.long 0x4 "RCW[1] ,"
|
|
line.long 0x8 "RCW[2] ,"
|
|
line.long 0xc "RCW[3] ,"
|
|
line.long 0x10 "RCW[4] ,"
|
|
line.long 0x14 "RCW[5] ,"
|
|
line.long 0x18 "RCW[6] ,"
|
|
line.long 0x1c "RCW[7] ,"
|
|
line.long 0x20 "RCW[8] ,"
|
|
line.long 0x24 "RCW[9] ,"
|
|
line.long 0x28 "RCW[10],"
|
|
line.long 0x2c "RCW[11],"
|
|
line.long 0x30 "RCW[12],"
|
|
line.long 0x34 "RCW[13],"
|
|
line.long 0x38 "RCW[14],"
|
|
line.long 0x3c "RCW[15],"
|
|
elif Data.Long(EDBG:0x4200f000)==0x80
|
|
group.long EDBG:0x42001000++0x7f
|
|
line.long 0x0 "RCW[0] ,"
|
|
line.long 0x4 "RCW[1] ,"
|
|
line.long 0x8 "RCW[2] ,"
|
|
line.long 0xc "RCW[3] ,"
|
|
line.long 0x10 "RCW[4] ,"
|
|
line.long 0x14 "RCW[5] ,"
|
|
line.long 0x18 "RCW[6] ,"
|
|
line.long 0x1c "RCW[7] ,"
|
|
line.long 0x20 "RCW[8] ,"
|
|
line.long 0x24 "RCW[9] ,"
|
|
line.long 0x28 "RCW[10],"
|
|
line.long 0x2c "RCW[11],"
|
|
line.long 0x30 "RCW[12],"
|
|
line.long 0x34 "RCW[13],"
|
|
line.long 0x38 "RCW[14],"
|
|
line.long 0x3c "RCW[15],"
|
|
line.long 0x40 "RCW[16],"
|
|
line.long 0x44 "RCW[17],"
|
|
line.long 0x48 "RCW[18],"
|
|
line.long 0x4c "RCW[19],"
|
|
line.long 0x50 "RCW[20],"
|
|
line.long 0x54 "RCW[21],"
|
|
line.long 0x58 "RCW[22],"
|
|
line.long 0x5c "RCW[23],"
|
|
line.long 0x60 "RCW[24],"
|
|
line.long 0x64 "RCW[25],"
|
|
line.long 0x68 "RCW[26],"
|
|
line.long 0x6c "RCW[27],"
|
|
line.long 0x70 "RCW[28],"
|
|
line.long 0x74 "RCW[29],"
|
|
line.long 0x78 "RCW[30],"
|
|
line.long 0x7c "RCW[31],"
|
|
endif
|
|
endif
|
|
tree.end
|