Extra 380 bytes are added into end of build Hex file.

Hello All,

One of our project using keil IDE with ARM compiler  V6.23 to develop SW.

Code/text section is end at  0x000216b0  as per the map file.

Image$$ER_m_text$$Limit  0x000216b0  Number 0 anon$$obj.o ABSOLUTE
Region$$Table$$Limit  0x000216b0   Number 0 anon$$obj.o(Region$$Table)
Image$$VECTOR_RAM$$Base  0x1fff8000   Number 0 anon$$obj.o ABSOLUTE

But, in generated hex file there is extra ~380 bytes are present at the end.

Not added any code or changes in SCT file related to these extra 380 bytes.

SCT: 

#define m_text_start 0x0000B410
#define m_text_size 0x0007FBF0

ER_m_text_const m_text_start FIXED ALIGN 0x4 { ; load address = execution address
.ANY (+RO-DATA)
}

ER_m_text +0 m_text_size  { ; load address = execution address
* (InRoot$$Sections)
.ANY (+RO)

}

Hex file data:

Please support what is the reason for this extra ~380 bytes.

Parents Reply Children
No data