Hello!
I use CodeWarrior PA 10.5.1. I develop bareboard application for MPC8572DS board. My application have two parts, one part *.elf format, which i run by Code Warrior TAP over USB, second part i need to place in memory on specific address.
Maybe i need to use .tcl script, which will place my *.img in RAM within initialization?
How i can place my second *.elf part on specific memory in CodeWarrior?
Thanks.
Hi,
Try to use "restore" command (for more details type help restore in debugger shell). Basically, this will copy your application to the memory. If this is not working with elf files, you can generate also binary files directly from project properties:
Regards,
Marius
Hello Dmitr Shard,
You can try this in .lcf file.
If you create the bareboard project following the wizard in CodeWarrior, you can find there is a .lcf in the folder named 8572DS_RAM_core0.lcf. The file is a way of specifying segment addresses. You could relocate code and data in internal RAM.
See details in Power Arch Build Tools Reference.pdf. The doc is located in the CW installation path:
D:\Freescale\CW_PA_v10.5.1\PA\Help\PDF
See Section 14.8 Relocating Code and Data in Internal RAM.
Regards
Lunmin