project with MSP430F4783

first problem solved here :
http://sourceforge.net/mailarchive/forum.php?thread_name=49BF8544.7090708%40ap3.fr&forum_name=mspgcc-users
Thanks 'Sergey A. Borshch'

In my projects, I use my own startup routine (in assembler) ! I use several interrupts :
NMI_VECTOR, WDT_VECTOR, BASICTIMER_VECTOR, PORT1_VECTOR
but all of theses are ignored (see below) only _reset_vector__ is correct

00008008 <__ctors_end>:
8008: 30 40 0c 80 br #0x800c

0000800c <_unexpected_>:
800c: 00 13 reti

0000800e <_reset_vector__>:
800e: 31 40 ee 05 mov #1518, r1 ;#0x05ee
8012: d2 c3 31 00 bic.b #1, &0x0031 ;r3 As==01
8016: d2 d3 32 00 bis.b #1, &0x0032 ;r3 As==01
...
00008144 <vector_60>:
8144: d2 d3 32 00 bis.b #1, &0x0032 ;r3 As==01
...
00008314 <vector_40>:
8314: f2 c0 40 00 bic.b #64, &0x0023 ;#0x0040
8318: 23 00
...
0000832a <vector_32>:
832a: 00 13 reti
...
0000832c <vector_52>:
832c: 12 12 70 01 push &0x0170

part of HEX file :
*:10FFE00008800880088008800880088008800880D1*
*:10FFF00008800880088008800880088008800E80BB*

reset vector : good (0x800E) !
all others vectors are wrong : point to 0x8008 !!!

Thanks for reply!




Reply via email to