Debugging using CodeWarrior IDE & Code Warrior USB Tap

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

Debugging using CodeWarrior IDE & Code Warrior USB Tap

1,979件の閲覧回数
Farrukh
Contributor II

Greetings All,

 

I want to prepare a debugging environment for my target system for debugging Linux kernel as well as Linux applications. I need to purchase CodeWarrior IDE & Code Warrior USB Tap (or Ethernet tap), but first I need to evaluate its working. So far I am unable to communicate with my target machine via debugger. I have installed USB Tap drivers and ccs is able to see the USB Tap but I am unable to debug any linux application as well as kernel. I believe I am missing some applications / debugger components / kernel patches on my target machine. If someone can tell me what software tools / kernel patches and configuration I will need on my target machine or point me to some document it will be really helpful. 

 

Following is my setup.

 

Embedded Platform.

Freescale P1022DS / P1022RDK

Linux Kernel 2.6.32

 

Host Setup

CodeWarrior IDE 10.1.1

Ubuntu 10.04

 

ccs does gives me the serial number of the USB tap so it is configured at the host end I believe. Some documents in the installation of CW states AppTRK or HyperTRK (for kernel), from where I can get these packages. My kernel configuration does not show any such HyperTRK so I believe I am missing some patch. From where I can get this patch.

 

Any help is appreciated.

 

Regards,

Farrukh Arshad.

Mentor Graphics.

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

1,238件の閲覧回数
J2MEJediMaster
Specialist I

Go to this CodeWarrior for Power Architecture page, which shows two service packs for the Linux tools that you might need.

 

---Tom

0 件の賞賛
返信

1,238件の閲覧回数
Farrukh
Contributor II

Hi,

 

Thanks. I have downloaded the service pack 3 "CodeWarrior for Power Architecture 10.1.1, Service Pack 3 (Linux) " and I am successfull in doing linux application debugging with AppTRK running on target. But how would I be able to do kernel or kernel module debugging. It seems I need HyperTRK in the kernel but from where I can get kernel patch for HyperTRK as I can not see this option in the kernel configuration which I am building using ltib.

 

Regards,

Farrukh Arshad.

0 件の賞賛
返信

1,238件の閲覧回数
Farrukh
Contributor II

Ok, I made it working, now I am able to debug Linux user application as well as linux kernel. The document "Targeting_PA_Processors.pdf" found in <CW_Installation>/PA/Help/PDF/ says this all. 

 

I have one final question. I am debugging a Linux user application with AppTRK running on target machine, and I want to debug system calls (i.e mmap) my application is calling, how I would do that. Any pointer / help is appreciated.

0 件の賞賛
返信