After a "make sf build", I noticed some problems in mspgcc on new FG461x 
devices.
1) ldscripts files
They look wrong:
MEMORY
{
  text   (rx)           : ORIGIN = 0x1100,  LENGTH = 0xeee0 
        /* origin must be 0x2100 or 0x3100, length TBD */
  data   (rwx)          : ORIGIN = 0x0200,      LENGTH = 0x0800
        /* origin must be 0x1100,  length 4K (what about extended & mirrored?) 
*/
  vectors (rw)          : ORIGIN = 0xffe0,      LENGTH = 0x20
        /* origin must be 0xffc0,  length 0x40 */
  bootloader(rx)        : ORIGIN = 0x0c00,      LENGTH = 1K
  infomem(rx)           : ORIGIN = 0x1000,      LENGTH = 256
  infomemnobits(rx)     : ORIGIN = 0x1000,      LENGTH = 256
}

2) Interrupt vector
Since interrupt vector has been extended, mspgcc enum vectors in the right way 
(BASICTIMER_VECTOR, that is 0 in, say, MSP430F4xx, becomes 32 in 
MSP430FG461x) but does not remap the vector start address to 0xffc0.

Can somebody help me to find a solution?

Regards.

-- 
Paolo Zebelloni
C-Labs S.r.l.
Via Livorno 60 - 10144 - Torino
c/o Environment Park - Edificio A1 Laboratori - Livello 2
Tel. +39.011.225.7761
FAX. +39.011.225.7769
WEB: http://www.c-labs.it

CONFIDENTIALITY NOTE

The information contained in this transmission (and/or in any
documents accompanying it) is intended for the addressee only
and is privileged and confidential. Disclosure, interception,
copying or any other use of this transmission by anyone other
than the intended recipient is strictly prohibited. If you receive
this transmission in error, please notify the sender immediately
and destroy all copies. Thank you.

Le informazioni contenute in questa trasmissione (e/o in qualsiasi
documento allegato) hanno carattere strettamente riservato e
confidenziale e sono indirizzate esclusivamente al destinatario.
E' fatto divieto assoluto a chiunque altro di divulgare, intercettare,
copiare o altrimenti utilizzare questa trasmissione. Qualora si riceva
questa trasmissione per errore, si prega di darne avviso immediato
al mittente e di distruggerne ogni copia. Grazie.

Reply via email to