This document shows how to setup CodeWarrior project to flash two .elf files into micro.
At first, create empty project for required processor. New project has to be created, because you need debug setup.
Second step is to create new target task.
Type Task Name, as run configuration, choose Flash configuration of the created project and set Task Type to Flash Programmer for Power Architecture.
On the next screen add device MPC5568G_VLE or MPC5668G_BOOKE and set base RAM address to 0x40000000 and size of the RAM at least 128KB (0x00020000)
Add first action Erase/Blank. You can choose, which sectors you want erase or you can choose all sectors.
Add two Program/Verify action. In each action, choose one of the .ELF file, which you want to flash.
If you have prepared these actions, click on the button Save All.
Save the Flash Action to the framework. Then choose the Target Task and click the Execute button.