Hi, everybody,
I have already used some MSP430 (F2274, F427, F157) for many
applications with mpsgcc. Now, I want to use the MSP430F4783 for a new
project.
I downloaded via CVS the last sources files for compiling a new
toolchain compatible with the last MCU.
I compiled binutils-2.18, gcc-3.2.3, gdb-6.8, msp430-libc without error
! :)
Then is my MSP project, I have no error (complier & linker). the EFL
file is generated !
So, my problem is the folowing :
when i link my project with «-mmcu=msp430x4783», the interrupt vector
section does not appear in the hex file (and EFL).
with -mmcu=msp430x4783 option :
Compile ./../src/minimain.c
Linkage [minimain.o]
msp430-gcc -ggdb -Wl,-Map=test_x4783.map --cref -mmcu=msp430x4783 -o
test_x4783.elf minimain.o
msp430-objdump -j .text -h -S test_x4783.elf > test_x4783.lst
msp430-objcopy -O ihex test_x4783.elf test_x4783.hex
msp430-size -A test_x4783.elf
test_x4783.elf :
section size addr
.text 22 16384
.debug_aranges 20 0
.debug_pubnames 2523 0
.debug_info 6499 0
.debug_abbrev 312 0
.debug_line 416 0
.debug_str 3957 0
Total 13749
test_x4783.hex :
:10400000B1C01000000000133140000A32D2FF3F5F
:0640100030401440FF3FA8
:0400000300004000B9
:00000001FF
without -mmcu=msp430x4783 option :
Compile ./../src/minimain.c
Linkage [minimain.o]
msp430-gcc -ggdb -Wl,-Map=test_x4783.map --cref -o test_x4783.elf
minimain.o
msp430-objdump -j .text -h -S test_x4783.elf > test_x4783.lst
msp430-objcopy -O ihex test_x4783.elf test_x4783.hex
msp430-size -A test_x4783.elf
test_x4783.elf :
section size addr
.text 76 64512
.vectors 32 65504
.stab 240 0
.stabstr 64 0
.debug_aranges 20 0
.debug_pubnames 2523 0
.debug_info 6499 0
.debug_abbrev 312 0
.debug_line 416 0
.debug_str 3957 0
Total 14139
test_x4783.hex :
:10FC000031408002B240805A20013F4000000F93F3
:10FC100005242F839F4F4CFC0002FB233F40000034
:10FC20000F9304241F83CF430002FC2330403EFC8B
:10FC3000304034FC0013B1C010000000001331400C
:0CFC4000800232D2FF3F30404AFCFF3F00
:10FFE00030FC30FC30FC30FC30FC30FC36FC30FCAB
:10FFF00030FC30FC30FC30FC30FC30FC30FC00FCD1
:040000030000FC00FD
:00000001FF
Thanks for reply