Test scripting capabilities to automate bare execution on CodeWarrior for PAv10.5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Test scripting capabilities to automate bare execution on CodeWarrior for PAv10.5

968件の閲覧回数
jacopa
Contributor I

Hello everyone,

 

We are using CodeWarrior development environment (version CodeWarrior_PA_10.5 Linux distribution) on a T4240 PowerPC platform.
Since we are performing testing of a firmware on the T4240, we require test scripting capabilities to automate the load,
and, execution of testcases.

We have found the interface provided by the module cdde/bin/components/tcf/dbg/boot.py offers functionality to initialise
the T4240 and load an ELF file from python scripts. However, under the CodeWarrior version PAv10.5 the elfreader.py module
used by boot.py is missing...

So, we would like to know which scripting capabilities are available in CodeWarrior for the automation of testcases running on bare machine.

And we would like to know if the module cdde/bin/components/tcf/dbg/boot.py distributed is usable, and maintained as part of CodeWarrior releases.

 

Thanks in advance.

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

866件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Javier O. Coronel Parada,

You could create a tcl script and execute this script in CodeWarrior debugger shell(or CCS), please refer to the following.

cd <initialization file folder>
source <platform>_init.tcl
load <path>/<your_elf>
go

Please refer to C:\Freescale\CW_PA_v10.5.0\PA\Help\PDF\CodeWarrior Common Features Guide.pdf for debug shell commands.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

866件の閲覧回数
addiyi
NXP Employee
NXP Employee

One way is to use Debugger Shell. This way you can automate your tests using tcl commands.

0 件の賞賛
返信