Code Warrior - Code in RAM / PIC

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

Code Warrior - Code in RAM / PIC

2,419件の閲覧回数
yoavbaryoseph
Contributor I

Hi,

I am looking into the Code Warrior and trying to understand how can I execute my code from RAM (P1010 platform).

I found some documentation sepcifying how to edit the .lcf file, however it seems that I have to declare for each function that it has to be assigned to the section allocated to the RAM (via the .lcf file).

How can I do it for the entire code, without specifying it for each function

Or - should I use Position Independent Code (PIC) - how to exactly specify it in the IDE? This way I will perform copy of the entire SW to the RAM (using some boot application SW that will copy the secondary application to the RAM and execute it).

Thanks,
Yoav

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

2,373件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Yoav Bar Yospeh,

Please refer to CodeWarrior sample bareboard project. CodeWarrior connects to the target board through JTAG, initializes the target board with CodeWarrior initialization file, then CodeWarrior downloads the executable file to ARM and execute it in ARM.

Please refer section B in the attached document to create and debug a bareboard project.

Thanks,

Yiping

0 件の賞賛
返信