Electronics > Projects, Designs, and Technical Stuff
Codewarrior V4.7 can no longer load projects
<< < (4/4)
donotdespisethesnake:

--- Quote from: filssavi on January 10, 2020, 11:05:49 am ---try to update to a newer version of the tool.

--- End quote ---

That is obviously good advice, and is what I tried to do with our projects. Unfortunately file formats changed a lot, and the so called "Processor Expert Beans" are a particular problem.
We are using a Freescale DSP, not Coldfire but I suspect similar issues apply. Supposedly there is way to import projects from 4.7 to 6.3 then to latest Eclipse based version, but that garbled the project so much it was unusable.

Initially, I migrated projects by getting the 4.7 GUI up on one monitor, the CW10 GUI on another, and literally going through every tab of every window to migrate the bean settings, that took several days, the settings are not one to one. Compiling the source then does not produce an identical binary, since the compiler changes between versions. However tests on the target seemed to be correct.

After that I looked into the file formats, seeing as we have several projects to migrate. I discovered the file content was in fact very similar, but redefined as XML. I then spent a while writing a C# tool to read a CW4.7 project, and spit out a CW10 project, with only minimal cleanup required.

Then the remaining task was to persuade the other developers to leave their comfort zone and upgrade to CW10 :)
RoGeorge:
Alternatively, you can create a virtual machine and run it inside any OS you want, but isolated from the Internet.  Keep it for Codewarrior v4.7 only.  No need to migrate and no need to upgrade.

It will take about an our or so to install your preferred version, and once you have it, you can run it on any other computer, save the machine as a file, take snapshots of it when you want to test OS changes, revert in an instant, allocate as many procs or RAM you want, and so on.
donotdespisethesnake:

--- Quote from: RoGeorge on January 10, 2020, 01:18:38 pm ---Alternatively, you can create a virtual machine and run it inside any OS you want, but isolated from the Internet.

--- End quote ---

We also tried that, too much difficulty. Maybe, OK if you have admin rights and necessary OS skills. Or a decent IT dept  |O
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod