You must mean 18F4455, so just use the files in attachment. Tested and work as expected here. i just forgot to change the device name in the top comments...
@Darrel... link to this one too![]()
You must mean 18F4455, so just use the files in attachment. Tested and work as expected here. i just forgot to change the device name in the top comments...
@Darrel... link to this one too![]()
Last edited by mister_e; - 14th April 2008 at 22:39.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
There is an error:
ERROR Line 78: Syntax error. (USBDemo_4455.pbp)
this line : UCFG = %00010100 ' enable internal USB pull-up, Full speed USB
but when I comment it , it's compiled without any errors
HA! so that mean you may use V2.47 of the compiler right?
I thought i would remove the
line because some had 'Redefinition of VAR' problem with V2.50.. anyways, it should work, unless you know what else to addCode:UCFG var byte EXT
I'm a bit mixed-up... your thread name is Need Help with USB using PIC18F2455![]()
Last edited by mister_e; - 14th April 2008 at 22:53.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
yes I'm use PBP247 , oky I compile and load the hex file but the same problem
I have some questions:
1)Can I use any type of the 470nF capacitor because I'm not use ceramic I use mica
2) Does I need special way to load my hex file to pic or any programmer, I use superpro 280U programmer.
You shouldn't have any problem with mica cap.
In your device programmer software you may have an option to program the config fuses setting or not. I don't have this specific programmer and seems their software refuse to install on my machine... so i can't really help you on that.
Have you already program other PICs with this one?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I don't have any problems with this programmer , I used it many times and it has a high performance , and you can set config fuses using programmer software or from PICBASIC , and here we add them using picbasic so it's updated automatically in programmer software
I will attach the configuration fuses photos
' Pic Configuration
' =================
asm
__CONFIG _CONFIG1L, _PLLDIV_1_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
; ; ; USB clock source comes from the 96 MHz PLL divided by 2
; ; [OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]
; No prescale (4 MHz oscillator input drives PLL directly)
__CONFIG _CONFIG1H, _FOSC_XTPLL_XT_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
; ; ; Oscillator Switchover mode disabled
; ; Fail-Safe Clock Monitor disabled
; XT oscillator, PLL enabled, XT used by USB
__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 & _XINST_OFF_4L & _DEBUG_OFF_4L
endasm
anyone can help ??
Bookmarks