Flash two .elf files using CodeWarrior 10.6

Document created by Martin Kovar Employee on Feb 1, 2016Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

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.

create_project.png

 

Second step is to create new target task.

target_task1.png

 

Type Task Name, as run configuration, choose Flash configuration of the created project and set Task Type to Flash Programmer for Power Architecture.

target_task2.png

 

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)

set_size.png

 

Add first action Erase/Blank. You can choose, which sectors you want erase or you can choose all sectors.

erase.png

 

 

Add two Program/Verify action. In each action, choose one of the .ELF file, which you want to flash.

flash.png

 

If you have prepared these actions, click on the button Save All.

save.png

 

Save the Flash Action to the framework. Then choose the Target Task and click the Execute button.

execute.png

Attachments

    Outcomes