Am 26.06.2012 13:03, schrieb Peter Bigot: > On Tue, Jun 26, 2012 at 3:39 AM, Simeon Felis > <simeon.fe...@hs-regensburg.de> wrote: >> According to [1] page 12 the f1612 has 55k rom. But the >> msp430/lib/ldscripts/msp430f1612/memory.x >> indicates that it has about 54k rom: >> rom (rx) : ORIGIN = 0x2500, LENGTH = 0xdae0 /* END=0xffe0, size >> 56032 */ >> >> What is correct now? > > The linker script appears consistent with the device datasheet at > http://www.ti.com/product/msp430f1612; see page 15. The device does > not have 55 kiB ROM; that's been rounded up by 256 bytes.
That was what I was afraid of. >> >> How can I manipulate the linker script to fit the .elf into the device? > > Don't. Correct your device description to match the linker script. The design description makes it very hard to configure 54.75kiB ROM. I will choose another device. > >> I tried: >> >> MEMORY { >> sfr : ORIGIN = 0x0000, LENGTH = 0x0010 /* END=0x0010, >> ... >> But here I also receive an error about different rom sizes. How come? > > I don't know offhand, but what you have does not reflect the memory > layout of the F1612. I won't have difficulties with the default linker scripts from another device. Thanks for your help! Simeon -- M.Eng. Simeon Felis Fakultät Elektro- und Informationstechnik Laboratory for Safe and Secure Systems, LaS3 - a software engineering discipline (www.las3.de) Seybothstrasse 2 P.O. 12 03 27 93025 Regensburg Germany FON: +49 (0)941 / 943 9823 MOB: +49 (0)176 / 2323 8962
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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