Error when compiling msp430-jtag tools

Pedro Helou <[email protected]> Tue, 24 Jun 2014 13:51:35 +0200
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <CA+3KGrt25ruhKhkJw02pftGY6FzLcH_jn4+OK0K6Ffk3mu+nQg@mail.gmail.com>
--===============2877791029899412720==
Content-Type: multipart/alternative; boundary=089e01227ee4eb5de404fc939428

--089e01227ee4eb5de404fc939428
Content-Type: text/plain; charset=UTF-8

after downloading the msp430-jtag tools, I tried to compile it with make
but received an error. How to fix it?

*$ cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc
co jtag*

*$ cd jtag*
*$ make*

*cd hardware_access; make all*
*make[1]: Entering directory `/home/stage/jtag/hardware_access'*
*make[1]: Nothing to be done for `all'.*
*make[1]: Leaving directory `/home/stage/jtag/hardware_access'*
*cd funclets; make all*
*make[1]: Entering directory `/home/stage/jtag/funclets'*
*msp430-gcc -mmcu=msp430x2121   -c -o eraseFlash.o eraseFlash.S*
*In file included from eraseFlash.S:20:0:*
*/usr/lib/gcc/msp430/4.6.3/../../../../msp430/include/io.h:1:2: warning:
#warning <io.h> is deprecated, please include <msp430.h> [-Wcpp]*
*In file included from
/usr/lib/gcc/msp430/4.6.3/../../../../msp430/include/io.h:2:0,*
*                 from eraseFlash.S:20:*
*/usr/lib/gcc/msp430/4.6.3/../../../../msp430/include/msp430.h:813:2:
warning: #warning Unable to identify and include MCU header, use -mmcu=MCU
[-Wcpp]*
*eraseFlash.S: Assembler messages:*
*eraseFlash.S:31: Error: invalid immediate operand: #WDTPW|WDTHOLD*
*eraseFlash.S:34: Error: invalid immediate operand: #FWKEY|0x44*
*eraseFlash.S:44: Error: invalid immediate operand: #FWKEY|LOCK*
*make[1]: *** [eraseFlash.o] Error 1*
*make[1]: Leaving directory `/home/stage/jtag/funclets'*
*make: *** [funclets] Error 2*


-- 

Pedro Issa Helou

Network Communication Engineering

+ 36 20 262 9274

--089e01227ee4eb5de404fc939428
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">after downloading the msp430-jtag tools, I tried to compil=
e it with make but received an error. How to fix it?<br><br><div><b>$ cvs -=
z3 -d:pserver:[email protected]:/cvsroot/mspgcc co jtag<=
/b></div>
<div><b>$ cd jtag<br></b></div><div><b>$ make</b></div><div><br></div><div>=
<div><i>cd hardware_access; make all</i></div><div><i>make[1]: Entering dir=
ectory `/home/stage/jtag/hardware_access&#39;</i></div><div><i>make[1]: Not=
hing to be done for `all&#39;.</i></div>
<div><i>make[1]: Leaving directory `/home/stage/jtag/hardware_access&#39;</=
i></div><div><i>cd funclets; make all</i></div><div><i>make[1]: Entering di=
rectory `/home/stage/jtag/funclets&#39;</i></div><div><i>msp430-gcc -mmcu=
=3Dmsp430x2121 =C2=A0 -c -o eraseFlash.o eraseFlash.S</i></div>
<div><i>In file included from eraseFlash.S:20:0:</i></div><div><i>/usr/lib/=
gcc/msp430/4.6.3/../../../../msp430/include/io.h:1:2: warning: #warning &lt=
;io.h&gt; is deprecated, please include &lt;msp430.h&gt; [-Wcpp]</i></div>
<div><i>In file included from /usr/lib/gcc/msp430/4.6.3/../../../../msp430/=
include/io.h:2:0,</i></div><div><i>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0from eraseFlash.S:20:</i></div><div><i>/usr/lib/gcc=
/msp430/4.6.3/../../../../msp430/include/msp430.h:813:2: warning: #warning =
Unable to identify and include MCU header, use -mmcu=3DMCU [-Wcpp]</i></div=
>
<div><i>eraseFlash.S: Assembler messages:</i></div><div><i>eraseFlash.S:31:=
 Error: invalid immediate operand: #WDTPW|WDTHOLD</i></div><div><i>eraseFla=
sh.S:34: Error: invalid immediate operand: #FWKEY|0x44</i></div><div><i>era=
seFlash.S:44: Error: invalid immediate operand: #FWKEY|LOCK</i></div>
<div><i>make[1]: *** [eraseFlash.o] Error 1</i></div><div><i>make[1]: Leavi=
ng directory `/home/stage/jtag/funclets&#39;</i></div><div><i>make: *** [fu=
nclets] Error 2</i></div></div><div><i><br></i></div><div><br></div>-- <br>
<div dir=3D"ltr"><div><br></div>Pedro Issa Helou<div><br><div><div>Network =
Communication Engineering</div><div><br></div><div>+ 36 20 262 9274</div></=
div></div></div>
</div>

--089e01227ee4eb5de404fc939428--


--===============2877791029899412720==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
--===============2877791029899412720==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mspgcc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-commits

--===============2877791029899412720==--