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.

Compiler/TMS320F28235: Struct parameters in RAM/Flash allocation

Part Number: TMS320F28235

Tool/software: TI C/C++ Compiler

Hi,

Few doubts about struct parameters in RAM and Flash.

A struct parameter "zhixing" contains 30 16-bit int parameters. In the map, the start address is C5DC, with then end address C5FA. But in the memory map, there are something like holes after the struct. 

1 0000c5dc _zhixing
1 0000c600 _path_par

It appears in old compiler like 4.1.3, and in new one like 16.9.2.

Is it normal?

If there's the default value for the struct parameter, where will the be saved in Flash?

Is there something similar to RAM, like hole, with and without optimization?

Thanks a lot.

Br, Jordan