Loading and Running a s-record using Code Warrior 8.8

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

Loading and Running a s-record using Code Warrior 8.8

931 Views
admin
Specialist II

Hi,

Is it a way to automate the loading and running of a test load with Code Warrior 8.8? Actually, I am performing manually the following procedure:

 

1. Create a template EPPC8315 project

a. From toolbar menu: File->New->EPPC Project Wizard

b. Select name and location of project

c. Linker: Select Freescale PowerPC EABI Linker and click Next

d. Target: Select 83xx tab, select Processor: PowerPC 8315 and Board: 8315 RDB and Click Next

e. Programming Language: Select C language and Click Next

f. Remote Connection: Select CodeWarrior USB TAP and Click Finish

 

2. Target Initialization .cfg file Selection

a. From toolbar menu: Edit->Debug Version Settings

b. Under Debugger Settings, select EPPC Debugger Settings

c. Check 'Use Target Initialization File' and browse to point to the .cfg file

d. Uncheck 'Use Memory configuration File'

e. Click OK to complete

 

3.Load in RAM

a. From toolbar menu: Debug->Connect

b. Click 'Yes' when prompted to execute initialization file

c. Load into Ram: Debug->EPPC->Load/Save Memory

d. Choose Settings and click 'OK'

e. From toolbar menu: Project->Run

 

4. Use debug terminal to issue load commands

 

Thanks,

Momo

Labels (1)
0 Kudos
1 Reply

201 Views
J2MEJediMaster
Specialist I

You can use tcl to perform some automation of the debug console commands. See FAQ-29061 for information on how to do this. As for the CodeWarrior project setup, COM can be used to do that, but it would seem that the better course of action would be to generate a pre-configured project file that you then supply to a tcl script.

 

---Tom

0 Kudos