2355538_en-US

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

2355538_en-US

2355538_en-US

From codewarrior to hardware

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.

Re: From codewarrior to hardware

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?

Re: From codewarrior to hardware

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

Re: From codewarrior to hardwareHi, I'm having the same problem. I'm using CodeWarrior for VSPA 10.3.10, but I don't see the “Tools - Flash Programmer” option there.

Under “Target Tasks,” the only options are “Import/Export/Fill Memory” and “HW Diagnostics.”
How can I program the VSPA image to the flash memory?

For the E200, I use the Flash Programmer from CWforARM. I successfully flash *xspi.bin with an offset of 0x0.
Tags (1)
No ratings
Version history
Last update:
3 weeks ago
Updated by: