Debugging Linux Application on LS1043A using TAP debugger

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

Debugging Linux Application on LS1043A using TAP debugger

1,151 Views
jc_lanka
Contributor I

Hi All,
  I am new to working on the LS1043A. What is the procedure to debug linux application on the LS1043A using the CodeWarrior TAP debugger .

  Do we need AppTRK to debug the application.

 

Thanks,

Jayachandra

Tags (1)
0 Kudos
5 Replies

946 Views
jc_lanka
Contributor I

Sure.

From the ARMv8 Targeting  Manual procedure, it doesn't mention anymore about AppTRK program. So, is  the AppTRK interface not needed anymore between the CW and and target board ?

Thanks,

Jayachandra

0 Kudos

946 Views
AdrianOltean
NXP Employee
NXP Employee

AppTRK is being used only in CW-PA and CW-ARMv7. CW-ARMv8 requires a GDB server running in Linux userspace in order to perform Linux application debug. Long story short is that you'll need a CWTAP to perform JTAG debugging (e.g. bare metal apps, u-boot, Linux kernel/modules) and only a GDB server to perform Linux apps debug.

0 Kudos

946 Views
Pavel
NXP Employee
NXP Employee

NXP does not support debugging using Codewarrior TAP and GDB server.

Customers use GDB using different connection to the board.

 

Have a great day,
Pavel Chubakov

0 Kudos

946 Views
Pavel
NXP Employee
NXP Employee

NXP offers Codewarrior 11.4.0 (CW4NET):

https://nxp.flexnetoperations.com/control/frse/product?entitlementId=529066037&lineNum=1&authContact...

 

Evaluation version of this CodeWarrior provides full functionality during 15 days.

See instruction about debugging Linux Application project in the Section 2.5.2 in the ARMv8_Targeting_Manual.pdf file. This file is available using the following path in CodeWarrior folder:

C:\Freescale\CW4NET_v2019.01\CW_ARMv8\ARMv8\Help\PDF

 

This CodeWarrior supports connection to the board using CodeWarrior TAP. See the following pages:

https://www.nxp.com/design/software/development-software/codewarrior-development-tools/run-control-d...

 

and

 

https://www.nxp.com/design/software/development-software/codewarrior-development-tools/run-control-d...

 

This CodeWarrior TAP using JTAG/COP connection to the LS1043a.

Have a great day,
Pavel Chubakov

 

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

0 Kudos

946 Views
jc_lanka
Contributor I

Thank you Pavel for the information.

I see from the document that the Linux Application debug is done using the gdbserver. Does it mean that the application debug can also be done using other IDE's like Netbans or Eclipse with gdbserver ?

Thanks,

Jayachandra

0 Kudos