and probably not a bad idea to add what's in red, just to disable the warning message forever.
Code:LIST p = 18F4550, r = dec, w = -311, w = -230, f = inhx32
and probably not a bad idea to add what's in red, just to disable the warning message forever.
Code:LIST p = 18F4550, r = dec, w = -311, w = -230, f = inhx32
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Problem solve, the error 128 was gone forever.
But now I have another one, the error 113, can you tell me how can I fix it, it says something like this:
Error[113]: c\pbp246\pic18f4550.inc 20: Symbol not previusly defined (_PLLDIV_5_1L)
Error[113]: c\pbp246\pic18f4550.inc 20: Symbol not previusly defined (_CPUDIV_OSC1_PLL2_1L)
Error[113]: c\pbp246\pic18f4550.inc 24: Symbol not previusly defined (_ICPRT_OFF_4L)
Error[113]: c\pbp246\pic18f4550.inc 24: Symbol not previusly defined (_XINST_OFF_4L)
I guess the wrong lines areCode:;**************************************************************** ;* 18F4550.INC * ;* * ;* By : Leonard Zerman, Jeff Schmoyer * ;* Notice : Copyright (c) 2004 microEngineering Labs, Inc. * ;* All Rights Reserved * ;* Date : 12/31/04 * ;* Version : 2.46 * ;* Notes : * ;**************************************************************** NOLIST ifdef PM_USED LIST "Error: PM does not support this device. Use MPASM." NOLIST else LIST LIST p = 18F4550, r = dec, w = -311, w=-230, f = inhx32 INCLUDE "P18F4550.INC" ; MPASM Header __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L __CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H __CONFIG _CONFIG3H, _PBADEN_OFF_3H __CONFIG _CONFIG4L, _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L NOLIST endif LIST EEPROM_START EQU 0F00000h BLOCK_SIZE EQU 32
Code:__CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1LCode:__CONFIG _CONFIG4L, _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L
It's high likely a MPASM/MPLAB problem here. Doesn't return any error using your file above...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes mister_e you're rigth, the problem was the mpasm, i didn't notice that microdode studio was using another one, i just change it to the rigth one (it comes with mplab v8.10) and everything works perfetc... sorry
this forum is fantastic!!!
Last edited by damalu; - 17th November 2008 at 23:09.
Bookmarks