AIOP debugging with CodeWarrior

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

AIOP debugging with CodeWarrior

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

When I follow the application note http://cache.nxp.com/files/soft_dev_tools/doc/app_note/AN5165.pdf?fsrch=1&sr=1&pageNum=1 to debug AIOP reflector source level application from CW4NETv2015.08.

CodeWarrior for APP Version: 10.1.1 Build Id:150805

Board used : LS2085RDB

I want to debug AIOP from system entry point referring to the section " 6 Debugging AIOP APP using CodeWarrior", with the following approach.

1: CW_APP Debug->Attach AIOP

2: CW_ARMv8 ->Inspect

3:CW-ARMv8 reset

4:CW_APP debugger shell bp __sys_start

5:CW_ARMv8->Resume

But AIOP sys_start breakpoint is not hitting

 

Please refer to section B given below and let me know what I may be missing.

Building AIOP:

Added  dwarf symbolic info  in meta-fsl-networking/recipes-dpaa2/aiop-refapp/aiop-refapp_git.bb.

::::::::::::::::::::::

DEPENDS = "aiopsl"

 

S = "${WORKDIR}/git/${BPN}"

 

inherit deploy

CFLAGS += "-sym dwarf-2, full"

LDFLAGS += "-sym dwarf-2, full"

SRC_URI = " \

::::::::::::::::::::::::

Build AIOP Reflector App

$bitbake aiop-refapp -c cleansstate

$bitbake aiop-refapp

Program AIOP Reflector Application ELF

tftp 0x80000000 ls2085-ear5/aiopapp/aiop_reflector.elf

erase 0x584900000 +$filesize

cp.b 0x80000000 0x584900000 $filesize

 

What could be the probable reason?

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

401件の閲覧回数
marius_grigoras
NXP Employee
NXP Employee

Hi Yiping,

I added some auxiliary steps to avoid using of the CW for ARMv8 (keeping just CW for APP) and the problem should disappear now. Please use the attached AN.

Also, I just bitbake -ed the application, not added/modified the recipe - please note that the debug symbols are added by default. Also, I recommend to build the app with CW and to set the optimization level to -O0 (Project Properties > C/C++ Build > Settings > Compiler > Optimization > Optimization Level 0)

pastedImage_0.png

Thank you,

Marius

0 件の賞賛

401件の閲覧回数
sanjaykumar-r56
NXP Employee
NXP Employee

Hello Marius,
              I followed the application note shred by you with Codewarrior for APP 10.1.1 build 150805.
After enabling "Trace and Profice" in step 7, The "Upload Trace" Tab is disabled in my CW for APP.
What can be the reason ?

7. Collect hardware trace
Upload Trace tab is disabled

Thanks
Sanjay

0 件の賞賛