??? 02/19/11 09:46 Read: times |
#181194 - i tryed Responding to: ???'s previous message |
IAR EW 5.0 for MSP430 Linker answered with error ,that CHECKSUM segment is not defined. I defined in micro's configuration file (in IAR directory) and this makes linker happy. This is from .xcl file for linker, last line added due linker error // Code -P(CODE)CODE=2100-FFBF,10000-18FFF // --------------------------------------------------------- // Constant data //-Z(CONST)DATA20_C,DATA20_ID=2100-FFBF,10000-18FFF // --------------------------------------------------------- // Interrupt vectors // --------------------------------------------------------- -Z(CODE)INTVEC=FFC0-FFFF -Z(CODE)RESET=FFFE-FFFF -P(CODE)myCONST_HIGH=10000-1FFF0 //-P(CODE)myCONST_HIGH=10000-1FFFF -P(CODE)CHECKSUM=1FFF0-1FFFF //!!!!my new definition !!!!!!!!!!!!!!!!! ;----------------- ============================================================================= This is from .map file ?FILL1 F9B0 - FFBF 610 rel 0 <myCONST_HIGH> 1 00010000 - 000129A7 29A8 rel 1 ?FILL2 000129A8 - 00018FFF 6658 rel 0 ?FILL3 00019000 - 0001FFEF 6FF0 rel 0 <CHECKSUM> 1 0001FFF0 - 0001FFF1 2 rel 1 ?FILL4 0001FFF2 - 0001FFFF E rel 0 FFE0 - FFFF 20 aseg **************************************** * * * CHECKSUMS * * * **************************************** Symbol Checksum Memory Start End Initial value ------ -------- ------ ----- --- ------------- __checksum 0x9dd2 CODE 2100 - FFBF 0x0 (#0x0) CODE FFE0 - 1FFEF CODE 0001FFF2 - 0001FFFF **************************************** * * * END OF CROSS REFERENCE * * * **************************************** ============================================================================= And this is from output file (MSP430-txt format) ........ FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF D2 9D FF FF FF FF FF FF FF FF FF FF FF FF FF FF @FFE0 F8 D8 F6 DB B8 D0 6C D0 3A DB 14 DC 6E D8 70 DB A8 D0 8A D0 7E DB 80 DB 5C DC 48 DC 86 DB 80 21 |
Topic | Author | Date |
IAR query | 01/01/70 00:00 | |
i tryed | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 |