P1010 Basic SW Example

cancel
Showing results for 
Search instead for 
Did you mean: 

P1010 Basic SW Example

210 Views
yoavbaryoseph
Contributor I

Hi,

I am evaluating the CodeWarior for an embedded platform having P1010 processor.

Currently we are using OS and considering moving without OS.

The P1010 starts at the end of the flash - where we program the boot SW.

Today, out boot SW copies the application SW to the ram and executes it.

So it already configures the processor (TLBs etc) in asm - so it ca be reused in the codewarior (as it has no OS).

The question is - as I want to create an Application to be loaded by the boot.

How should I do it?

Should I create a the second application and just jump to the start of it, then it will be copied to the ram - per the linker files (.lcf)?

Since I also want the .text and everything to reside in the RAM so will fully execute from RAM.

Maybe can reference to an example project from which I can start?

Thanks,

Yoav

Labels (1)
0 Kudos
1 Reply

168 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Yoav,

Please download and install CodeWarrior 10.5.1 for PowerPC architecture.

Then create a sample bareboard project from File->New->CodeWarrior Bareboard project Wizards, please refer to "Section B: Creating, Building, and Debugging a Project" in the attached document.

Thanks,

Yiping

0 Kudos