This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28386S: More details on map file

Part Number: TMS320F28386S

Hi,

I am building a support software on the PC for debugging.

For that, I am reading and analyzing the .map file.

Currently, the .map files lists name of tokens and address.

for example:

GLOBAL SYMBOLS: SORTED BY Symbol Address

page address name
---- ------- ----
0 00000400 __stack
0 00000500 __TI_STACK_END
0 00001500 pan_speed_pi_out
0 00001502 tilt_speed_pi_out
0 00008800 Cla1ConstLoadStart
0 00008800 Cla1ConstRunStart
0 00008900 panDir
0 00008901 tiltDir
0 00008902 halPan
0 00008903 halTilt
0 00008904 adcBitVal
0 00008906 g_current_ref
0 00008908 Ipan_LPF
0 00008912 Itilt_LPF
0 0000891c pi_Pan_Current
0 0000892e pi_Tilt_Current

However, some of the tokens are complex types. (like structs)

like:

typedef volatile struct {
float32_t Kp; //!< Proportional gain
float32_t Ki; //!< Integral gain
float32_t i10; //!< I storage
float32_t Umax; //!< Upper control saturation limit
float32_t Umin; //!< Lower control saturation limit
float32_t i6; //!< Saturation storage
float32_t i11; //!< I storage
float32_t Imax; //!< Upper integrator saturation limit
float32_t Imin; //!< Lower integrator saturation limit
} DCL_PI_CLA;

Is there a way to have the .map file list a more detailed output?

One option is to have a list of every member and it's memory address.

Other option is to have the type of token displayed.

Thanks!