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.

TMS570LC4357: Unable to perform a cold reset when flashing code using the make file with TI tool chain

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Hi 

I am unable to perform the system reset (should go to resetvector but after that exception is happening) of the code which is build from make set up.

using the same files (driver, cmd and asm) i am able to flash and work properly in ccs studio

When analysed found that map file of the both were different.

Diff is :-

the one which is generated from ccs :

MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
VECTORS 00000000 00000020 00000020 00000000 X
KERNEL 00000020 00008000 00005300 00002d00 R X

.....

SECTION ALLOCATION MAP

output attributes/
section page origin length input sections
-------- ---- ---------- ---------- ----------------
.intvecs 0 00000000 00000020
00000000 00000020 sys_intvecs.obj (.intvecs)

.kernelTEXT
* 0 00000020 00005290

.....

and which is geneartad from make file:-

MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
VECTORS 00000000 00000020 00000000 00000020 X

KERNEL 00000020 00008000 00005300 00002d00 R X

.....

SECTION ALLOCATION MAP

output attributes/
section page origin length input sections
-------- ---- ---------- ---------- ----------------

.kernelTEXT 
* 0 00000020 00005290

..

the intvect section is not coming and from MEMORY CONFIGURATION , VECTORS is showing as unused.

i am using same cmd file.

the code is generated from halcogen,

whether i need to use any compiler/linker flag for it.

and HL_sys_intvecs.asm file where reset vector is there , if i copy the whole line of code from that file and paste in another asm file say HL_sys_core then its working properly.

i have checked that HL_sys_intvecs.asm is compiling and .obj is generated , i am using same tool chain in both ccs and make environment.

Halcogen version:04.06.00

ccs version 7

can you please check and provide your feedback.

Thank you.