I removed issue. It seems to be ok. In my instalation of mspgcc
(msp430-gcc (GCC) 4.6.1) are some scripts contained in
msp430/lib/ldscripts which seems to bellow appropriate mcu, but they do
not work. I firstly tested this script
(msp430/lib/ldscripts/msp430x2121.x). This script have not worked et al,
but then I noticed directory msp430f2121 and msp430.x and used these
ones and they seems to be ok.
Please note it is not possible that msp430x2121.x is from older install
because this build is from sources in special directory.
Miloslav
Either your installation has an mspgcc3 component somewhere, or
eraseFlash.S overrides the architecture with an inappropriate value
(viz., 110), or msp430xRAM.x doesn't work with the version of
msp430-ld you have. Or all three.
Here are the directives that the assembly file should use. .arch is
ignored; it's the .cpu and .mpy ones that matter.
llc[35]$ cat /tmp/test.c
int x;
llc[36]$ msp430-gcc -S -mmcu=msp430f2121 /tmp/test.c
llc[37]$ cat test.s
.file "test.c"
.arch msp430f2121
.cpu 430
.mpy none
.comm x,2,2
.ident "GCC: (GNU) 4.7.1 20120614 (mspgcc dev 20120911)"
On Sun, Dec 2, 2012 at 6:21 AM, Miloslav Semler <maj...@prepere.com
<mailto:maj...@prepere.com>> wrote:
Hello,
I tried to rebuild msp430-jtag and got following error:
msp430-gcc -mmcu=msp430f2121 -D_GNU_ASSEMBLER_ -c -o eraseFlash.o
eraseFlash.S
msp430-ld -mmsp430 -T msp430xRAM.x -o eraseFlash.elf eraseFlash.o
msp430-ld: cannot represent machine `msp:110'
I tried to copy original msp430-gcc script for that family,
unfortunatelly, error is the same. Have you any idea what to do
with it?
Miloslav Semler
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
<mailto:Mspgcc-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users