P1010 Basic SW Example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

P1010 Basic SW Example

1,742件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 返信

1,699件の閲覧回数
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 件の賞賛
返信