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

Reply via email to