Hi Aaron,

I am currently using a build with the patches I host at
http://homepages.inf.ed.ac.uk/mbarnes/msp_patch/
I dont know of any newer versions.

Currently this is working fine for me on a 2410, and can be used for
261x devices with an additional build step (see below for details or
my mail of 13th March for more...)

Instructions are in the readme file. In brief:
- Check out 'packaging', 'gcc', 'msp430-libc', 'msp430-libc4',
'binutils', 'gdb', 'libraries' from cvs (you may need others but I
think this is sufficient, I have a full checkout so I'm not certain
what is required)

- Ensure you have the dependencies listed in README-MAINTAINERS.txt
(in packaging, buildessentials etc.)

- download all files from
http://homepages.inf.ed.ac.uk/mbarnes/msp_patch/
and
http://homepages.inf.ed.ac.uk/mbarnes/msp_patch/headers

copy .patch files to packaging/patches directory
copy the contents of the headers directory to packaging/patches/headers
copy the makefile to the packaging directory

Continue with the step "make build" ...


Linking for 261x and 241x devices:
For some reason the patched gcc does not link correctly for these
devices and so the startup and vector table are not included.
This can be remedied by an extra build step to link using msp430-ld,
for a trivial example, assuming the toolchain is installed to
/usr/local,  with a single object main.o to produce ld_2619.elf (see
ld manual for more...) :

msp430-ld -mmsp430x2619 -Map="ld.map" -o"ld_2619.elf"
/usr/local/msp430/msp430/lib/crt430x2619.o main.o
/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a

>  Also, it seems that programming via JTAG is not working
The windows libraries for msp430-gdbproxy support the newer devices.

I hope this is helpful, good luck.

Mat

Reply via email to