Jump to content
Sign in to follow this  
kishanpatel

rom_overflow

Recommended Posts

hi,
i have also facing the ROM_OVERFLOW issue....: /msp430-elf/bin/ld: region `ROM' overflowed by 29894 bytes.......
my .ld file contains like this..........
MEMORY {
SFR : ORIGIN = 0x0000, LENGTH = 0x0010 /* END=0x0010, size 16 */
PERIPHERAL_8BIT : ORIGIN = 0x0010, LENGTH = 0x00F0 /* END=0x0100, size 240 */
PERIPHERAL_16BIT : ORIGIN = 0x0100, LENGTH = 0x0100 /* END=0x0200, size 256 */
RAM : ORIGIN = 0x1C00, LENGTH = 0x0FFE /* END=0x2BFD, size 4094 */
INFOMEM : ORIGIN = 0x1800, LENGTH = 0x0200 /* END=0x19FF, size 512 as 4 128-byte segments */
INFOA : ORIGIN = 0x1980, LENGTH = 0x0080 /* END=0x19FF, size 128 */
INFOB : ORIGIN = 0x1900, LENGTH = 0x0080 /* END=0x197F, size 128 */
INFOC : ORIGIN = 0x1880, LENGTH = 0x0080 /* END=0x18FF, size 128 */
INFOD : ORIGIN = 0x1800, LENGTH = 0x0080 /* END=0x187F, size 128 */
ROM (rx) : ORIGIN = 0x8000, LENGTH = 0x7F80 /* END=0xFF7F, size 32640 */
VECT1 : ORIGIN = 0xFF80, LENGTH = 0x0002
VECT2 : ORIGIN = 0xFF82, LENGTH = 0x0002
VECT3 : ORIGIN = 0xFF84, LENGTH = 0x0002
VECT4 : ORIGIN = 0xFF86, LENGTH = 0x0002
VECT5 : ORIGIN = 0xFF88, LENGTH = 0x0002
VECT6 : ORIGIN = 0xFF8A, LENGTH = 0x0002
VECT7 : ORIGIN = 0xFF8C, LENGTH = 0x0002
VECT8 : ORIGIN = 0xFF8E, LENGTH = 0x0002
VECT9 : ORIGIN = 0xFF90, LENGTH = 0x0002
VECT10 : ORIGIN = 0xFF92, LENGTH = 0x0002
VECT11 : ORIGIN = 0xFF94, LENGTH = 0x0002
VECT12 : ORIGIN = 0xFF96, LENGTH = 0x0002
VECT13 : ORIGIN = 0xFF98, LENGTH = 0x0002
VECT14 : ORIGIN = 0xFF9A, LENGTH = 0x0002
VECT15 : ORIGIN = 0xFF9C, LENGTH = 0x0002
VECT16 : ORIGIN = 0xFF9E, LENGTH = 0x0002
VECT17 : ORIGIN = 0xFFA0, LENGTH = 0x0002
VECT18 : ORIGIN = 0xFFA2, LENGTH = 0x0002
VECT19 : ORIGIN = 0xFFA4, LENGTH = 0x0002
VECT20 : ORIGIN = 0xFFA6, LENGTH = 0x0002
VECT21 : ORIGIN = 0xFFA8, LENGTH = 0x0002
VECT22 : ORIGIN = 0xFFAA, LENGTH = 0x0002
VECT23 : ORIGIN = 0xFFAC, LENGTH = 0x0002
VECT24 : ORIGIN = 0xFFAE, LENGTH = 0x0002
VECT25 : ORIGIN = 0xFFB0, LENGTH = 0x0002
VECT26 : ORIGIN = 0xFFB2, LENGTH = 0x0002
VECT27 : ORIGIN = 0xFFB4, LENGTH = 0x0002
VECT28 : ORIGIN = 0xFFB6, LENGTH = 0x0002
VECT29 : ORIGIN = 0xFFB8, LENGTH = 0x0002
VECT30 : ORIGIN = 0xFFBA, LENGTH = 0x0002
VECT31 : ORIGIN = 0xFFBC, LENGTH = 0x0002
VECT32 : ORIGIN = 0xFFBE, LENGTH = 0x0002
VECT33 : ORIGIN = 0xFFC0, LENGTH = 0x0002
VECT34 : ORIGIN = 0xFFC2, LENGTH = 0x0002
VECT35 : ORIGIN = 0xFFC4, LENGTH = 0x0002
VECT36 : ORIGIN = 0xFFC6, LENGTH = 0x0002
VECT37 : ORIGIN = 0xFFC8, LENGTH = 0x0002
VECT38 : ORIGIN = 0xFFCA, LENGTH = 0x0002
VECT39 : ORIGIN = 0xFFCC, LENGTH = 0x0002
VECT40 : ORIGIN = 0xFFCE, LENGTH = 0x0002
VECT41 : ORIGIN = 0xFFD0, LENGTH = 0x0002
VECT42 : ORIGIN = 0xFFD2, LENGTH = 0x0002
VECT43 : ORIGIN = 0xFFD4, LENGTH = 0x0002
VECT44 : ORIGIN = 0xFFD6, LENGTH = 0x0002
VECT45 : ORIGIN = 0xFFD8, LENGTH = 0x0002
VECT46 : ORIGIN = 0xFFDA, LENGTH = 0x0002
VECT47 : ORIGIN = 0xFFDC, LENGTH = 0x0002
VECT48 : ORIGIN = 0xFFDE, LENGTH = 0x0002
VECT49 : ORIGIN = 0xFFE0, LENGTH = 0x0002
VECT50 : ORIGIN = 0xFFE2, LENGTH = 0x0002
VECT51 : ORIGIN = 0xFFE4, LENGTH = 0x0002
VECT52 : ORIGIN = 0xFFE6, LENGTH = 0x0002
VECT53 : ORIGIN = 0xFFE8, LENGTH = 0x0002
VECT54 : ORIGIN = 0xFFEA, LENGTH = 0x0002
VECT55 : ORIGIN = 0xFFEC, LENGTH = 0x0002
VECT56 : ORIGIN = 0xFFEE, LENGTH = 0x0002
VECT57 : ORIGIN = 0xFFF0, LENGTH = 0x0002
VECT58 : ORIGIN = 0xFFF2, LENGTH = 0x0002
VECT59 : ORIGIN = 0xFFF4, LENGTH = 0x0002
VECT60 : ORIGIN = 0xFFF6, LENGTH = 0x0002
VECT61 : ORIGIN = 0xFFF8, LENGTH = 0x0002
VECT62 : ORIGIN = 0xFFFA, LENGTH = 0x0002
VECT63 : ORIGIN = 0xFFFC, LENGTH = 0x0002
RESETVEC : ORIGIN = 0xFFFE, LENGTH = 0x0002
BSL : ORIGIN = 0x1000, LENGTH = 0x0800
}

so ,how should i add .far_rom regeion?....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...