That source is probably out of date.  In mspgcc4, low_level_init seems to
come from msp430-libc.  At any rate, the issue should not arise with
mspgcc4, unless you have an error in your build flags and the wrong MCU is
selected.

There appears to be a fairly recent windows build of mspgcc4 in the Windows
subdirectory of the files area on the mspgcc4 project, contributed by Oliver
Maye.  Nobody's stepped forward to regularly provide updated windows
packages.

Peter

On Sun, Jan 9, 2011 at 4:42 PM, Piotr Romaniuk <[email protected]> wrote:

> Hi,
>
> I found hardcoded address of the watchdog control register:
>
> gcc-*\gcc\config\msp430\libgcc.S:
>
> _low_level_init:
>    mov     #0x5a80, *&0x120 *
>
> or, when it is in decimal:
>
>    mov    #23168, *&288*
>
> It appears in all branches of gcc.
> Unfortunately, it is incorrect value for msp430f5438, where WDTCTL is at
>  0x15C  (base addr+offset.=0x150 + 0x0c).
> That core is compiled to crt*.o and then linked as a startup with compiled
> code.
>
> Would you be so kind to confirm that?
>
> Regards
> Piotr Romaniuk,
> ELESOFTROM
>
> PS
> By the way, is the windows package of mspgcc still maintained?
> or should I build it from sources?
>
>
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any
> company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to