Re: SYSRIVECT and MSP430F534x and suspect stack overlap

Hynek Sladký <[email protected]> Sun, 4 Nov 2018 08:21:20 +0100
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
I guess You have to find the linker script You are using, make a copy 
and modify it and then to use it for building Your app.

BR,
Hynek Sladky


Dne 3.11.2018 v 20:09 Daniele Banfi napsal(a):
> Dear All
>
> I'm using a board whit MSP430F534x and I would use the interrupt 
> vector RAM mapping via SYSRIVECT.
>
> Seems correct my assigment of address of interrupt procedure in the 
> ram (top of ram) , according different examples, but when I launch 
> application the debug goes in crash after __enable_interrupt() and I 
> suspect that stack RAM use top RAM (as remapped vector) and in fact.
>
> If is true my suspect of stack/heap corruption, I suppose is necessary 
> to modify the ld file
>
> Can someone else help me regarding ld file, to define in correct way 
> stack limit and reserved ram for SYSRIVECT action ?
>
> Thanks , Daniele