keymuu
- 7th November 2008, 11:54
Hello everyone!
Could somebody please point out what is wrong when you get error:
Error[113] c:\pbp\usbpro~1.asm 111: Symbol not previously defined (_FCMEN_OFF_1H)
I had a working code, experimented with a jump (@ bra ..., goto addr etc) and could not find the right solution and got error messages associated with the "real bra" instructions. Then suddenly the error changed to this _FCMEN_OFF_1H error that did not go away... :mad:
My configuration in the beginning of my program is like this:
asm ; PIC18F4550 configuration
__CONFIG _CONFIG1L, _PLLDIV_3_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_ON_2L & _BORV_2_2L & _VREGEN_ON_2L
__CONFIG _CONFIG2H, _WDT_OFF_2H
__CONFIG _CONFIG3H, _MCLRE_ON_3H & _LPT1OSC_OFF_3H & _PBADEN_OFF_3H & _CCP2MX_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L & _DEBUG_OFF_4L
endasm
And that configuration has bee working for a long time. Why can another error invoke this _FCMEN_OFF_1H error 113 ?? :confused:
I have seen that error before but can not comprehend it in this situation.
What is wrong? Please help...
Could somebody please point out what is wrong when you get error:
Error[113] c:\pbp\usbpro~1.asm 111: Symbol not previously defined (_FCMEN_OFF_1H)
I had a working code, experimented with a jump (@ bra ..., goto addr etc) and could not find the right solution and got error messages associated with the "real bra" instructions. Then suddenly the error changed to this _FCMEN_OFF_1H error that did not go away... :mad:
My configuration in the beginning of my program is like this:
asm ; PIC18F4550 configuration
__CONFIG _CONFIG1L, _PLLDIV_3_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_ON_2L & _BORV_2_2L & _VREGEN_ON_2L
__CONFIG _CONFIG2H, _WDT_OFF_2H
__CONFIG _CONFIG3H, _MCLRE_ON_3H & _LPT1OSC_OFF_3H & _PBADEN_OFF_3H & _CCP2MX_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L & _DEBUG_OFF_4L
endasm
And that configuration has bee working for a long time. Why can another error invoke this _FCMEN_OFF_1H error 113 ?? :confused:
I have seen that error before but can not comprehend it in this situation.
What is wrong? Please help...