P1010 Basic SW Example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

P1010 Basic SW Example

1,745 次查看
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,702 次查看
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 项奖励
回复