Loading code on mpc5121e using apptrk with codewarrior v 5.9.0

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

Loading code on mpc5121e using apptrk with codewarrior v 5.9.0

1,329 Views
bbjh1
Contributor I

Hi,

 

I am trying to load a simple c code on the mpc5121e processor found on the ads5121 board. I am using codewarrior v 5.9.0 for linux. My only connection is the serial cable provided with the kit. I am trying to access some memory locations on the board in order to turn on the LEDs.

I have been told that I need the USBTAP or Ethernet TAP, but I was wondering if I can load the code using only the apptrk connection.

Any quick help will be very appreciated. Thank you.

Labels (1)
0 Kudos
Reply
3 Replies

598 Views
CrasyCat
Specialist III

Hello

 

appTrk can be used to load an application to be debug on top of a Linux kernel running on the hardware board.

 

The connection between the Host PC and the board is then an Ethernet cable. The Linux kernel is handling the Internet connection. And you need to have appTrk running as part of your embedded Linux Kernel.

 

If you have no Embedded Linux  running on your board you need a USBTAP or EthernetTAP to download and debug the application on the board.

 

CrasyCat

0 Kudos
Reply

598 Views
bbjh1
Contributor I

Can someone please help me with my issue. I have been trying to work on this board for the past month. My only connection to the board is through the serial cable and an ethernet cable, so I am only using the APPTrk. I am trying to write a code to turn on the LED on the ADS5121 board. Can you please tell me how to proceed?

Any kind of help is very appreciated.

0 Kudos
Reply

598 Views
bbjh1
Contributor I

Hey CrasyCat,

 

Thank you for your reply. You are right, the connection between my linux Host PC and the board is an Ethernet cable (and the serial null modem cable).  I have installed LTIB (Linux Target Image Builder) on the host PC and build it with option of file system as NFS. Then I downloaded JFFS2 on the target.

So whenever I try to debug my c code, the debugger never executes any memory access. I don't know what is the problem.

Thank you.

0 Kudos
Reply