Garst R. Reese wrote:
Frederic Beaulieu wrote:
Hi all,
Is there someone who can explain some curiosities in the linker file
for the
new msp430f1612?
1- Why the origin of the text section begin at 0x2800 instead of
0x2500 like
in the datasheet.
2- Why the data length is 0x13ff instead of 0x1400 (begin @ 0x1100
and end @
0x24ff)?
3- What is the impact of RAM mirrored? Is it include in the linker
file? How
its works? etc
Thanks a lot in advance and hope this help others!
Fred
Your binutils is out of date:
if [ "${MSP430_NAME}" = "msp430x1612" ] ; then
ARCH=msp:16
MACHINE=
SCRIPT_NAME=elf32msp430
OUTPUT_FORMAT="elf32-msp430"
MAXPAGESIZE=1
EMBEDDED=yes
TEMPLATE_NAME=generic
ROM_START=0x2500
ROM_SIZE=0xdae0
RAM_START=0x1100
RAM_SIZE=0x1400
STACK=0x2500
More than a little out of date, too. This was only wrong before the 1612
was launched, when I had to use preliminary data to create initial
support for the device. The above settings were introduced about the
time the preliminary 1612 silicon became available, and a solid data
sheet was made available.
Regards,
Steve