Flash two .elf files using CodeWarrior 10.6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash two .elf files using CodeWarrior 10.6

Flash two .elf files using CodeWarrior 10.6

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.

134811_134811.pngcreate_project.png

 

Second step is to create new target task.

134812_134812.pngtarget_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.

135209_135209.pngtarget_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)

135211_135211.pngset_size.png

 

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

135212_135212.pngerase.png

 

 

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

135213_135213.pngflash.png

 

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

135214_135214.pngsave.png

 

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

135215_135215.pngexecute.png

Labels (1)
Comments
jcy

Mandar‌          QSPI flash programming under CW10.x for MPC5645s/MPC5606s

我用CW2.10编写了MPC5644的工程,已经能在MPC5644开发板上成功运行,但是现在想把此工程移植到MPC5642芯片上运行,直接通过CW2.10把工程下载到MPC5642开发板时不能下载成功,下载工程停在了“loading programming algorithm....”,我查到CW2.10没有MPC5642的芯片驱动,就官网下载了最新的CW11.0,通过CW11.0新建了 MPC5642的工程(编写了几行代码验证可以下载到5642的目标板,且能正常运行),然后通过“target tasks”下载CW2.10上生成的MPC5644的*.elf文件,配置如下

1.png

但下载过程中报了如下的错误,

2.png

No ratings
Version history
Last update:
‎02-01-2016 07:26 AM
Updated by: