Target Task .abs files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Target Task .abs files

1,921 次查看
brandondoucette
Contributor I

Codewarrior v.10.7

I go into Calc.c and configure the code to meet the requirements.

Ctrl+S, Ctrl+B, debug.

Everything is fine.

then Flash File to Target with Save as Target Task (and assign a name, let's call this Target Task 1.abs

Flash file to target.

Everything is fine.

then Execute Target Task 1.abs on additional targets (of the same MCU part number)

Target Task flashes file to target.

Everything is fine.

then I go back into Calc.c and reconfigure the code to meet other requirements.

Ctrl+S, Ctrl+B, debug.

Everything is fine.

then Flash File to Target with Save as Target Task (and assign a new name, let's call this Target Task 2.abs

Flash file to target.

Everything is fine.

then Execute Target Task 2.abs on additional targets (of the same MCU part number)

Target Task flashes file to target.

Everything is fine.

Now here's the problem.

I come back and Execute Target Task 1.abs on targets but I end up with Target Task 2.abs on the target.

It seems regardless of which Target Task I Execute, I end up with the last .abs file I saved on the system.

Is there a configuration setting within Codewarrior which I'm overlooking?

What could I possibly be doing wrong?

This makes no sense.

Many thanks in advance.

标签 (1)
0 项奖励
回复
7 回复数

1,554 次查看
brandondoucette
Contributor I

Thanks Alice but that's exactly what we're doing.

It seems no matter which Target Task we select, the file which goes on the chip is the last file configured, regardless of which file we select.

0 项奖励
回复

1,554 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Brandon,

How do you know "the file which goes on the chip is the last file configured" ?

Also does  the "file " meaning the binary file that you want to flash into chip ?

BR

Alice

0 项奖励
回复

1,554 次查看
brandondoucette
Contributor I

Because each file has different behavior.

If 1.abs flashes a LED and 2.abs sounds a buzzer, and I flash 1.abs to the MCU, I get a buzzer and no flashing LED. 

0 项奖励
回复

1,554 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Brandon,

Please check the binary file on “Flash Programmer Actions” of Tasks,

configure it is the right file that you want to download . Have a look at

my attachment .

Hope it helps

Alice

0 项奖励
回复

1,554 次查看
brandondoucette
Contributor I

That may be the problem. When I build the flash tasks I'm only saving in the workspace. When it flashes I get what's in the workspace, even if it changed since I saved the task. I'm going to start savings tasks in a separate folder. Thanks for the guidance.

0 项奖励
回复

1,554 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Brandon,

Thanks ok.

BR

Alice

0 项奖励
回复

1,554 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Brandon Doucette,

You can choose Tasks on "Target Tasks" view :

pastedImage_1.png

You can also choose on below:

pastedImage_2.png

Hope it helps

Alice

0 项奖励
回复