From codewarrior to hardware

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

From codewarrior to hardware

319 Views
tianzc
Contributor I

I'm using CW_VSPA_v10.3.10. After successfully debugging my code, I don't know how to deploy it to the hardware. The board I'm using is LA1224. I noticed that all the example files include both .eld and .map files, but only the .eld file is generated in my project.

0 Kudos
Reply
2 Replies

305 Views
yipingwang
NXP TechSupport
NXP TechSupport

Deploying your code to the LA1224 board

There are two common deployment paths, depending on whether you want RAM loading or persistent Flash loading.


Option A: Load directly to hardware using the debugger (most common during development)

This is usually what you already did when debugging.

Steps:

  1. Connect the LA1224 board (JTAG / probe / USB as required)
  2. In CW_VSPA:
    Run → Debug Configurations
    
  3. Select your VSPA / LA1224 debug configuration
  4. Make sure:
    • The .eld file from your project is selected
  5. Click Debug

This already deploys your code into target RAM
It is not persistent (power cycle clears it)

 


Option B: Program the code into Flash (standalone operation)

If you want the LA1224 to boot your application automatically after reset:

Typical process:

  1. Build the project → obtain .eld
  2. Use the LA1224 Flash programming tool (varies by board support package):
    • Often launched from CW_VSPA:
      Tools → Flash Programmer
      
      or
      Run → External Tools
      
  3. Select:
    • Target: LA1224
    • Input file: your .eld
  4. Program to Flash
  5. Reset or power-cycle the board

Code now runs without debugger
.map file is irrelevant here

0 Kudos
Reply

192 Views
tianzc
Contributor I

Thank you. But I'm still wondering whether I can deploy my codes by using codewarrior Tap and how to use it. I tried to write a script but failed, so are there any examples or instructions that can tell me how to write a script?

0 Kudos
Reply