On Tue, Jun 26, 2012 at 4:53 PM, Simeon Felis <simeon.fe...@hs-regensburg.de
> wrote:

>
> > 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.
>
>
sounds like the design description needs to be specified in terms of bytes
not kiB.

But they probably nobody would do anything stoopid like the weird stuff
that TI does.


>
> >
> >> 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!
>

maybe.    depends on how reasonable the h/w designer is/was.



>
>
> 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
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
------------------------------------------------------------------------------
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

Reply via email to