DSPRelated.com
Forums

CW 6 for DSP56858

Started by Kenneth Ciszewski January 8, 2005
I have been working with Metrowerks Codewarrior for MC9S12NE64 recently, and discovered a ".map" file (monitor.map, in this case), that shows the dependency of modules (how they are nested or called).
 
Does CW 6 for DSP56858 have any such feature?  One of my big problems in trying to use the DSP56858  SDK routines has that tracing through the nesting is tedious.  Is there a facility some where that makes this easier?




--- In , Kenneth Ciszewski <kenski@s...>
wrote:
> I have been working with Metrowerks Codewarrior for MC9S12NE64
recently, and discovered a ".map" file (monitor.map, in this case),
that shows the dependency of modules (how they are nested or called).
>
> Does CW 6 for DSP56858 have any such feature? One of my big
problems in trying to use the DSP56858 SDK routines has that tracing
through the nesting is tedious. Is there a facility some where that
makes this easier?
I've using Hybrid 7.0, but I still have the Targeting 56800E manual
for 6, and they're essentially identical in the * Settings
preferences > Linker > M56800E panel. See if the Generate Link Map
checkbox is checked (checked by default - BTW). Inside the output
folder in the project folder you may notice a .xMAP file.

The Targeting manual states:
A link map shows which file provided the definition of each object and
function, the address of each object and function, a memory map of
section locations, and values of linker-generated symbols. It also
lists unused but unstripped symbols.

The .map file for the HC12 does have the dependency feature that you
described:

<snippage>
DEPENDENCY TREE
**********************************************************************
***********************
main and _Startup Group
|
+- main
| |
| +- startTimeBase
| | |
| | +- RTIInit
| |
| +- SCI0Init
| |
| +- WriteToSCI0
| |
| +- increaseSpeed
</snippage; continued However, the Hybrid 7 (CW 6 should also) produces a link map, such as
the following:
(It's lengthy, even for a puny project...)

Gary Schnabl
(Southwest) Detroit
2 miles NORTH! of Canada - Windsor, that is... # Link map of Finit_sim_
1] interrupt_vectors.text found in DSP56800E_vector.asm
2] sim_intRoutine (notype,local) found in DSP56800E_vector.asm
2] Finit_sim_ (func,global) found in DSP56800E_init.asm
3] Fexit_halt (func,global) found in Runtime 56800E.lib
exit_dsp.o
4] Fexit_hsst_hostio (func,global) found in Runtime 56800E.lib
hostio_asm.o
5] rtlib.bss.lo (section,local) found in Runtime 56800E.lib
hostio_asm.o
5] rtlib.data (section,local) found in Runtime 56800E.lib
hostio_asm.o
5] F__dbg_io_ready (object,global) found in MSL C 56800E.lib
hostio.o
4] Ffflush_console (func,global) found in Runtime 56800E.lib
console_asm.o
5] rtlib.data (section,local) found in Runtime 56800E.lib
console_asm.o
5] rtlib.bss.lo (section,local) found in Runtime 56800E.lib
console_asm.o
4] Ffflush (func,global) found in MSL C 56800E.lib
file_io.o
5] F__flush_all (func,global) found in MSL C 56800E.lib
ansi_files.o
6] F__files (object,global) found in MSL C 56800E.lib
ansi_files.o
7] F__close_file (func,global) found in MSL C 56800E.lib
hostio.o
7] F__write_file (func,global) found in MSL C 56800E.lib
hostio.o
7] F__read_file (func,global) found in MSL C 56800E.lib
hostio.o
8] FtxtbinFlag (object,global) found in MSL C 56800E.lib
hostio.o
8] FsavedTxtBinFlag (object,global) found in MSL C
56800E.lib hostio.o
7] Fstderr_buff (object,local) found in MSL C 56800E.lib
ansi_files.o
7] Fstdout_buff (object,local) found in MSL C 56800E.lib
ansi_files.o
7] Fstdin_buff (object,local) found in MSL C 56800E.lib
ansi_files.o
5] Fftell (func,global) found in MSL C 56800E.lib
file_pos.o
6] F_ftell (func,global) found in MSL C 56800E.lib
file_pos.o
7] Ferrno (object,global) found in MSL C 56800E.lib
errno.o
5] F__flush_buffer (func,global) found in MSL C 56800E.lib
buffer_io.o
6] F__convert_from_newlines (func,global) found in MSL C
56800E.lib buffer_io.o
6] F__prep_buffer (func,global) found in MSL C 56800E.lib
buffer_io.o
3] Fmain (func,global) found in main.c
4] F@27 (object,local) found in main.c
4] F@42 (object,local) found in main.c
4] Fprintf (func,global) found in MSL C 56800E.lib
printf.o
5] F__FileWrite (func,global) found in MSL C 56800E.lib
printf.o
6] F__fwrite (func,global) found in MSL C 56800E.lib
direct_io.o
7] F__stdio_atexit (func,global) found in MSL C 56800E.lib
misc_io.o
8] F__close_all (func,global) found in MSL C 56800E.lib
ansi_files.o
9] Ffclose (func,global) found in MSL C 56800E.lib
file_io.o
10] Ffree (func,global) found in MSL C 56800E.lib
alloc.o
11] Finitialized (object,local) found in MSL C 56800E.lib
alloc.o
11] F__malloc_pool_ptr (object,global) found in MSL C
56800E.lib alloc.o
12] F__malloc_pool (object,global) found in MSL C
56800E.lib alloc.o
11] F__pool_free (func,global) found in MSL C 56800E.lib
pool_alloc.o
12] Fmerge_block (func,local) found in MSL C 56800E.lib
pool_alloc.o
13] Flist_remove (func,local) found in MSL C 56800E.lib
pool_alloc.o
12] Flist_insert (func,local) found in MSL C 56800E.lib
pool_alloc.o
8] F__stdio_exit (object,global) found in MSL C 56800E.lib
abort_exit_dsp5
7] F_fseek (func,global) found in MSL C 56800E.lib
file_pos.o
7] F__memrchr (func,global) found in MSL C 56800E.lib
mem.o
7] Fmemcpy (func,global) found in MSL C 56800E.lib
mem.o
7] ARTDIVU16UZ (notype,global) found in Runtime 56800E.lib
artdivu16uz.o
5] F__pformatter (func,local) found in MSL C 56800E.lib
printf.o
6] Fstrchr (func,global) found in MSL C 56800E.lib
string.o
6] Fstrlen (func,global) found in MSL C 56800E.lib
string.o
6] Fparse_format (func,local) found in MSL C 56800E.lib
printf.o
7] F__ctype_mapC (object,global) found in MSL C 56800E.lib
ctype.o
6] Flong2str (func,local) found in MSL C 56800E.lib
printf.o
7] ARTREMU32Z (notype,global) found in Runtime 56800E.lib
artremu32z.o
8] ARTDIVU32UZ (notype,global) found in Runtime 56800E.lib
artdivu32uz.o
6] Ffloat2str (func,local) found in MSL C 56800E.lib
printf.o
7] F__num2dec (func,global) found in MSL C 56800E.lib
ansi_fp.o
8] ARTEQF32 (notype,global) found in Runtime 56800E.lib
artcmpf32.o
9] FPE_state (notype,global) found in Runtime 56800E.lib
fp56800e.o
8] FIsInf (func,global) found in MSL C 56800E.lib
dsp_float.o
8] FIsNan (func,global) found in MSL C 56800E.lib
dsp_float.o
8] Ffrexp (notype,global) found in MSL C 56800E.lib
ffrexp.o
9] ARTMPYF32U (notype,global) found in Runtime 56800E.lib
artmpyf32u.o
10] ARTf_coerce (notype,global) found in Runtime
56800E.lib fcoerce.o
11] ARTf_result_is_INF (notype,global) found in Runtime
56800E.lib result_is.o
10] ARTf_unpack2z (notype,global) found in Runtime
56800E.lib utilities.o
8] ARTDIVREC_S32 (notype,global) found in Runtime 56800E.lib
artdivrec_s32_0
8] Fbit_values (object,local) found in MSL C 56800E.lib
ansi_fp.o
8] ARTDIVF32UZ (notype,global) found in Runtime 56800E.lib
artdivf32uz.o
8] Fdigit_values (object,local) found in MSL C 56800E.lib
ansi_fp.o
8] ARTF32_TO_S32U (notype,global) found in Runtime
56800E.lib artfconv.o
8] ARTS32_TO_F32 (notype,global) found in Runtime 56800E.lib
artwconv.o
8] ARTSUBF32U (notype,global) found in Runtime 56800E.lib
artaddf32u.o
7] F@532 (object,local) found in MSL C 56800E.lib
printf.o
7] Fstrcpy (func,global) found in MSL C 56800E.lib
string.o
7] F@533 (object,local) found in MSL C 56800E.lib
printf.o
7] F@534 (object,local) found in MSL C 56800E.lib
printf.o
7] F@535 (object,local) found in MSL C 56800E.lib
printf.o
7] F@536 (object,local) found in MSL C 56800E.lib
printf.o
7] F@537 (object,local) found in MSL C 56800E.lib
printf.o
7] F@538 (object,local) found in MSL C 56800E.lib
printf.o
7] F@539 (object,local) found in MSL C 56800E.lib
printf.o
7] Fround_decimal (func,local) found in MSL C 56800E.lib
printf.o
6] F@959 (object,local) found in MSL C 56800E.lib
printf.o
6] Fmemchr (func,global) found in MSL C 56800E.lib
mem.o
4] F@43 (object,local) found in main.c
4] F@44 (object,local) found in main.c
4] Fprint_array (func,global) found in main.c
5] F@58 (object,local) found in main.c
5] F@59 (object,local) found in main.c
5] F@60 (object,local) found in main.c
4] Fswap (func,global) found in main.c
4] F@45 (object,local) found in main.c
3] F__init_sections (func,global) found in Runtime 56800E.lib
initsections.o
4] Fmemset (func,global) found in MSL C 56800E.lib
mem.o
5] F__fill_mem (func,global) found in MSL C 56800E.lib
mem_funcs.o
1] Finit_sim_ (func,global) found in DSP56800E_init.asm