Hi Robert,
I can give you the following idea.
Take binutils with version >= 2.15 FROM GNU site (noone knows what RedHat have
done and if it really works). Apply my patch to add msp430x1611 support from
https://sourceforge.net/tracker/download.php?group_id=42303
<https://sourceforge.net/tracker/download.php?group_id=42303&atid=432703&file_id=100003&aid=1020679>
&atid=432703&file_id=100003&aid=1020679
This works on our site. Feel free to contact me if you have problems with this.
We also forced TI guys to add the real support for msp430x16x devices in their
msp430-gdbproxy. You may download it from ftp://ftp.opencall.org/pub/. But this
server is really slow and often fails, so feel free to contact me if you need a
Linux version of this server.
Best regards,
>Hi
>
> I"ve noticed that R1 is not intialized to the top address of RAM on the
> 1611. This MSP430 model has 10 kB RAM placed on the adress range
> 0x1100-0x38FF. But it seems mspgcc thinks the range is 0x0000-0x27FF.
>
> int main(void)
> {
> return 0;
>}
>
> compiled with the -mmcu=msp430x1611 flag generates this code
>
> 00004040 <main>:
> 4040: 31 40 00 28 mov #10240, r1
> ;#0x2800
> 4044: 0f 43 clr r15
> 4046: 30 40 4a 40 br #0x404a
>
> I"ve used a temporary solution by specifying -minit-stack=14592 when
> compiling.
>
> /Robert
Dmitriy