Have a great day,
Yes if there is if there is no the RCW source on board then it is supposed that the hard-coded RCW can be used. The manual says: "One envisioned use of the hard-coded RCW options is to facilitate booting with enough basic functionality to allow reprogramming of a corrupted (or perhaps uninitialized) non-volatile memory device that originally contained RCW information." Hence it is good when board supports changing the rcw_src[0:4] to the hard-coded RCW.
If the JTAG/COP interface is implemented on the board then the h/w debugger also can override the RCW. You should refer to the corresponding documentation. For example if you have installed CodeWarrior then in the CW folder see PA\ Help\PDF\Targeting_PA_Processors.pdf. Where section "Using a JTAG configuration file to override RCW" says:
You can use a JTAG configuration file to override Reset Configuration Word (RCW) for a processor, such as P4080.
The JTAG configuration files are used in the following situations for:
• Target boards that do not have RCW already programmed
• New board bring-up
• Recovering boards with blank or damaged flash
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------