Hi, all,
Thanks for your answers. Finally, I figured out the problem.
1. As theo said, the project was built in 6.2, and then built in 6.3 without any probklem. Now when I use the importer for classic CodeWarrior project, the code can be imported, but the ProcessorExpert files were not imported. Because I have several configurations in the project, some worked and some not, I can't switch to another configurations.
I solved this problem by generate a new PE file in the 10.2 project, and use the PE file in the old 6.3 project to overwrite it.
2. Mac, Although I didn't try your idea, I belive your are right!
I found, if I set -OnB=b in Compiler settings, the problem can also be solved.
Another method is changing the PLACEMENT in prm file to:
PLACEMENT
DEFAULT_RAM /* non-zero page variables */
INTO RAM;
DEFAULT_ROM, ROM_VAR, STRINGS INTO ROM;
_DATA_ZEROPAGE, /* zero page variables */
MY_ZEROPAGE INTO Z_RAM;
TEST_ROM INTO ROM_HWTEST;
END
Now the problem is: each time I run "Generate Processor Expert Code", this change is overwritten.
Does anyone know how to configure in CW10 GUI so that the generated prm file looks like above?
Thanks and best regards,
--Hong