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

Reply via email to