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
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