1. Please describe in details, what you exactly doing to change RCW?
<Ans> I am just bringing up our board. RCW_SRC is set to Hardcoded option. I am using T32 script, to override the RCW value. I am attaching T32 script with this mail.
2. Please verify CFG_RCW_SRC pins are configured to load this particular RCW which you are trying to change, but not RCW from any other source.
<Ans> CFG_RCW_SRC is hard coded option (0x9A).
3. Please check if you are not using RCW override function in your debugger.
<Ans> RCW override function is enabled.
*********************RCW T32 script******************************
;At first set the system mode to "Prepare" (if the current RCW is valid you can also use the modes Go, Attach or Up)
SYStem.BdmClock 18.MHz ;try lower debug frequencies if problems occur
SYStem.CPU T4160
SYStem.Mode.Prepare
;After that set the option to overwrite the RCW with the set values at a SYStem.Up
SYStem.Option.HRCWOVR ON
;Set the whole 64 Byte RCW (used only bit 0 to 387).
;Please notice: it is also possible to set just parts (4 byte); all remaining values are unchanged then.
;this example depends on the default values
Data.Set DBG:0x01000000 0x1406000F
Data.Set DBG:0x01000001 0x0A080808
Data.Set DBG:0x01000002 0x00000000
Data.Set DBG:0x01000003 0x00000000
Data.Set DBG:0x01000004 0x6C6E2848
Data.Set DBG:0x01000005 0x20548c00
Data.Set DBG:0x01000006 0xFC02F000
Data.Set DBG:0x01000007 0x09000000
Data.Set DBG:0x01000008 0x00000000
Data.Set DBG:0x01000009 0x00000000
Data.Set DBG:0x0100000A 0x00000000
Data.Set DBG:0x0100000B 0x00038002
Data.Set DBG:0x0100000C 0x00000000
Data.Set DBG:0x0100000D 0x00000000
Data.Set DBG:0x0100000E 0x00000000
Data.Set DBG:0x0100000F 0x00000010
;Start the system with the specified RCW values.
SYStem.Up
;If you leave this option ON it is possible to manipulate the RCW during operation (to overtake it a SYStem.Up is required again)
SYStem.Option.HRCWOVR OFF
**************************************************************