My board is MPC8308ERDB, and I'm using Codewarrior 8.8(patched) on my project.
S1:all OFF S2:all ON ,so it will read RCW and image from NOR flash. After create sample project "Welcome to CodeWarrior", select ROM Version, and then make all to generate "test.bin" , and flash it to NOR. But still didn't work. here are some of my configurations, can anyone help me?
Use JTAG Configureation file: "E300 (1 1) (2 0x44060000) (3 0xA0606C00)"
I changed RCWHR[BMS] to logical '1' for boot high (RCWHR=0xA4607800), but still failed.
Hello McFarland gong,
Please refer to the attached CW initialization file and flash programmer configuration file for NOR flash programming.
If the ROM Image Address is configured as 0xfff00000, please program ROM image at this address in the Flash Programmer panel.
For RCW configuration, please refer to the following u-boot configuration.
#define CONFIG_SYS_HRCW_HIGH (\
HRCWH_PCI_HOST |\
HRCWH_PCI1_ARBITER_ENABLE |\
HRCWH_CORE_ENABLE |\
HRCWH_FROM_0X00000100 |\
HRCWH_BOOTSEQ_DISABLE |\
HRCWH_SW_WATCHDOG_DISABLE |\
HRCWH_ROM_LOC_LOCAL_16BIT |\
HRCWH_RL_EXT_LEGACY |\
HRCWH_TSEC1M_IN_RGMII |\
HRCWH_TSEC2M_IN_RGMII |\
HRCWH_BIG_ENDIAN |\
HRCWH_LALE_NORMAL)
For these macros definition, please refer to mpc83xx.h.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------