Hi,
i am using msp430f5438 with a USB fet430UIF emulator. I am using IAR Workbench Evaluation Version.. i just started with the basic led flash code..but the code is giving me two error. Plzz help me out in this. Thanks in advance
My code is :-
#include "msp430.h"
;-------------------------------------------------------------------------------
ORG 0FC00h ; Progam Start (1K Flash device)
;-------------------------------------------------------------------------------
RESET mov.w #0150h,SP ; Set stackpointer (128B RAM device)
StopWDT mov.w #WDTPW+WDTHOLD,&WDTCTL ; Stop watchdog timer
SetupP1 bis.b #001h,&P1DIR ; Set P1.0 to output direction
;
Mainloop XOR.b #001h,&P1OUT ; Toggle P1.0
Wait MOV.w #050000,R15 ; Delay to R15
L1 DEC.w R15 ; Decrement R15
JNZ L1 ; Delay over?
JMP Mainloop ; Again
;
;-------------------------------------------------------------------------------
; Interrupt Vectors
;-------------------------------------------------------------------------------
ORG 0FFFEh ; MSP430 RESET Vector
DW RESET ;
END
It is giving me a error:-
Error[e77]: The absolute segment on the address fffe-ffff in the module Flash_led (E:\MSP\Workspace\Debug\Obj\Flash_led.r43) overlaps the absolute
segment on the address fffe-ffff in the module main (E:\MSP\Workspace\Debug\Obj\asm.r43)
Error while running Linker