we are running an SRAM build for p3041 and the cpu is working and I can step through programs. However the platform clock is not right. I am starting the debug session with an RCW override file following the instructions but when I enter the debug session and inspect the DCFG_RCWSRn registers they do not reflect the values from the RCW override file. We have not programmed or enabled flash on the board yet. We have configured the cfg_sys_rcw[0:4] pins to the value for hard-coded-rcw 1_0010 (just a placeholder to have a known value there) I saw in another thread a recommendation to not use a hardcoded RCW value when doing RCW override with the TAP. So my question is what should we configure those pins to when doing an RCW override? attached are the debug console output and the rcw override file. Our RCW override file is based on the P3041DS with some changes for SERDES configuration.
Original Attachment has been moved to: RCB_RCW_1500-750-1333.txt.zip
Original Attachment has been moved to: console.txt.zip
thanks for the responses. we changed the rcw source back to NOR flash, but it did not work until I set the rcw override option in the jtag file from '1' (rcw override) to '0x80000001', rcw override + pll ovveride. not sure why that fixed it but we are up and running.
thanks again
Hi Deavid,
Because the board didn't have any RCW source, using 0x80000001 (full rcw + pll override) option should to be used. When the board have a valid RCW source, then option 1 (rcw override) is recommended to be used, because we assume that existing pll settings can be used.
Adrian
Thanks. That answers why the settings '1' worked on a p3041ds and not our board. It would be nice if the Codewarrior documentation had this information in the help or in the sample RCW jtag files.
Hi,
RCW override does not work with hard-coded RCW option. Please do as Stoica has suggested, and update if problem.
Have a great day,
Lunmin
Indeed, using hardcoded RCW when trying RCW override is not recommended, You should use NOR boot , even you don't have a NOR device enable.
Adrian