CW 56800/E Hybrid controller version 7.3
I need to know how many space my program and my program runtime variables uses in my freescale DSP 56F8367 memory.
And how mnuch space miss to full the DSP 56F8367 memory.
How can I do ?
Is there any tool that can I use to know these information ?
I need to evaluate it soon, so please come with solutions!
regards
Have you taken a look at the map file generated by the linker? That usually gives you the sizes of various parts of the program.
---Tom
Yes, I think you mean this:
0000F020 0000F020 00000000 .x_Peripherals
00040000 00040000 00000004 .p_Interruptsboot
00000000 00000000 000000AC .p_Interrupts
000000AC 000000AC 00009DFB .p_Code
00004264 00000001 00001E6F .x_Data
00004000 00004000 00000264 .x_internal_ROM
0004F800 0004F800 00000800 .p_internal_RAM
can you explain me the means of each row, please, and say me how much free space I have ?
(DSP56F8367)
Thanks!
You left off (or the linker left off) the most relevant part of the map file output:
v_addr p_addr size name
00000000 00000000 000000A4 .p_interrupts_flash_ROM
000000A4 000000A4 000004FE .p_flash_ROM
000005A2 00000001 0000008D .p_flash_ROM_data
00020000 00020000 0000008B .p_boot_flash_ROM
0002F800 0002F800 00000800 .p_internal_RAM
00000001 00000001 000006B5 .x_internal_RAM
The third column has the size of the particular element. You can check those values against a datasheet for the part. You may want to experiment with the linker settings to adjust the map file output; More information on linker and output settings can be found in the Targeting Manual. It is located in the Help folder in the CodeWarrior installation folder.
---Tom
Hi Tom,
you're right, the linker left off that part of map file output
I red the Targeting Manual, but I didn't undertsannd how to modify the linker setting in order to get the most relevant part of the map file output.
Can you please tell me how can I do?
thanks