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.

CCS/TMS320F28335: IEC60370 cmd integration with current project

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hi all,

I am trying to integrate the TI IEC60730 selftest library V4.00.01.00 in a current project, which already has a .cmd file (lets name it PROJECT.cmd).

I am having problems in order to combine PROJECT.cmd with the definitions provided by STL_F28335.cmd, which are used by the IEC libraries in order to run the different test cases, because several sections overlap. For instance, I have in PROJECT.cmd a single flash section called FLASH like this (in page 0):

FLASH : origin = 0x300002, length = 0x037FFD /* Internal flash (B-H) */

while STL_F28335.cmd defines multiple sections for the different flash parts like this (in page 0):

FLASHH : origin = 0x300000, length = 0x008000 /* on-chip FLASH */
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip FLASH */
FLASHF_1 : origin = 0x310000, length = 0x005554 /* on-chip FLASH */
PC_TEST_2 : origin = 0x315554, length = 0x000004 /* PC test function 2 */
FLASHF_2 : origin = 0x315558, length = 0x002AA8 /* on-chip FLASH */
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip FLASH */
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip FLASH */
FLASHC_1 : origin = 0x328000, length = 0x002AA8 /* on-chip FLASH */
PC_TEST_3 : origin = 0x32AAA8, length = 0x000004 /* PC test function 3 */
FLASHC_2 : origin = 0x32AAAC, length = 0x005554 /* on-chip FLASH */
FLASHA : origin = 0x338000, length = 0x007E80 /* on-chip FLASH */

How is the best way to have both section definitions without having overlap problems? I am currently struggling with trying subsections  with multilevel subsections (page 204 of SPRU513N) with no success.

Thanks in advance

Best Regards