
Originally Posted by
Mike2545
My configs:
Code:
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_INTOSC_HS_1H & _FOSC_INTOSCIO_EC_1H & _FCMEM_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2L, _PWRT_OFF_2L & _BOR_ON_2L & _BORV_3_2L & _VREGEN_ON_2L
__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
__CONFIG _CONFIG3H, _CCP2MX_ON_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _MCLRE_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L
Any Ideas?
The only difference I see between your configs, and the default configs is you have two processor configs configured. I am a little surprised you got no errors. Maybe only the last one would take, I am not sure. I take it you are using internal OSC? Here is the description of each:
_FOSC_INTOSCIO_EC_1H EQU H'F8' ; Internal oscillator, port function on RA6, EC used by USB
_FOSC_INTOSC_HS_1H EQU H'FB' ; Internal oscillator, HS used by USB
Default is _FOSC_HSPLL_HS_1H (or at least that what mine is now)
As far as ICD, A bootloader has nothing to do with ICD compile. But the bootloader files are located here: C:\Program Files\Mecanique\MCSP\MCLoader\LoaderHEX
Is your program blinking the led?
http://www.scalerobotics.com
Bookmarks