As I noted in earlier email, msp430-libc has new functionality that has increased the size of some programs built with newer versions of mspgcc. There are helpful hints about reducing program size in the thread beginning at:
http://www.mail-archive.com/mspgcc-users@lists.sourceforge.net/msg10968.html If you update to mspgcc 20120618 and use flags: -mmemory-model=medium -ffunction-sections -fdata-sections -Wl,-gc-sections the problems may be resolved. This would only work if your target chip supports the CPUX extensions and has memory above 64 kiB; if it's just a slightly larger sub-64 kiB MCU, then you'll want to try things like disabling 64-bit and maybe 32-bit printf support in msp430-libc. See the referenced thread above for information. Peter On Fri, Jun 15, 2012 at 5:21 AM, Mohammad Katmawi <m.katm...@hotmail.com> wrote: > > Dear All, > > > > I have a code which I compiled successfully to some wireless sensor node. > > Now I am trying to compile the same > code with a wireless sensor node which has MORE memory but I got an > error "region `rom' overflowed by 120 bytes". This means the size of > the code is bigger that the memory inside the node but this node has > more memory than the previous one which works fine. > > > > As a solution I tried to install MSP30xx but I got a lot of errors. I have > been advised to install mspgcc-20120606 from : > > http://sourceforge.net/projects/mspgcc/files/mspgcc/DEVEL-4.7.x/ > > This series is intended to add 20-bit support for integer operations, as > well as placing data and code in the memory areas above the 64KB boundary. > > > > But I still have the same problem. > > > > It is very strange. Do you have any idea how to fix this? > > > > Thanks, > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users