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

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

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

390 Views
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.

Labels (1)
0 Kudos
2 Replies

288 Views
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 Kudos

288 Views
addiyi
NXP Employee
NXP Employee

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

0 Kudos