SNTT
Newbie level 1
PIC24FJ128GA006
Urgent!!! Help!!! I am new to PIC24, using MPLAB8.10 with Microchip C30 Toolsuite Microchip ASM30 Assembler (pic30-as.exe) to build my assembly source code, but Build failed...
c:/program files/microchip/mplab c30/bin/bin/../../lib\libpic30-coff.a(crt0_standard.o)(.init+0x1c):fake: undefined reference to `main'
Link step failed.
I put only 3 line in my assembly source code:
MOV.B #0X1E, W1
MOV.B #0X84, W1
MOV.B #0X80, W1
I have no idea why I got this error.
Do I miss out any important setting?
Is it because of my MPLAB version or my language toolsuite do not match or support PIC24?
Or, because I didn't put any configuration in my assembly source code?
In the MPLAB project, I did select PIC24F128GA006 under configuration device and include the header file p24FJ128GA006.h and p24FJ128GA006.inc. The linker script p24FJ128GA006.gld also added.
Is there any ways to solve the 'undefined reference to 'main''???
Please help.....

Urgent!!! Help!!! I am new to PIC24, using MPLAB8.10 with Microchip C30 Toolsuite Microchip ASM30 Assembler (pic30-as.exe) to build my assembly source code, but Build failed...
c:/program files/microchip/mplab c30/bin/bin/../../lib\libpic30-coff.a(crt0_standard.o)(.init+0x1c):fake: undefined reference to `main'
Link step failed.
I put only 3 line in my assembly source code:
MOV.B #0X1E, W1
MOV.B #0X84, W1
MOV.B #0X80, W1
I have no idea why I got this error.
Do I miss out any important setting?
Is it because of my MPLAB version or my language toolsuite do not match or support PIC24?
Or, because I didn't put any configuration in my assembly source code?
In the MPLAB project, I did select PIC24F128GA006 under configuration device and include the header file p24FJ128GA006.h and p24FJ128GA006.inc. The linker script p24FJ128GA006.gld also added.
Is there any ways to solve the 'undefined reference to 'main''???
Please help.....