Ohhh - checked the config screen after doing that and see the attached - that was not there before - all those listings !!
Ohhh - checked the config screen after doing that and see the attached - that was not there before - all those listings !!
Loading the following:
into winpic now displays the attached settingsCode:ASM __CONFIG _CONFIG1L, _PLLDIV_1_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_1_1L __CONFIG _CONFIG1H, _FOSC_XT_XT_1H & _FCMEN_OFF_1H & _IESO_OFF_1H __CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_ON_2L & _BORV_1_2L & _VREGEN_OFF_2L __CONFIG _CONFIG2H, _WDT_OFF_2H __CONFIG _CONFIG3H, _MCLRE_ON_3H & _LPT1OSC_OFF_3H & _PBADEN_OFF_3H & _CCP2MX_OFF_3H __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L & _DEBUG_OFF_4L ENDASM ADCON1=$0F TRISB=%00000000 'set PORTB as all output PORTB=0 ByteA var byte main: for bytea=0 to 7 PORTB=DCD BYTEA PAUSE 250 NEXT PORTB=255 PAUSE 250 goto main
AAAAARRRRRRGHHH!!!!<img src="http://www.mister-e.org/Pics/not_happy_thumb.gif"><img src="http://www.mister-e.org/Pics/RollinEyes.gif"><img src="http://www.mister-e.org/Pics/Mecontent08.gif">
OK the config are good, but the software/hardware don't program it the right way... do you have another machine but with WIN98 ?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yep I agree - time to get a new programmer - I've been trying to find a PicKIT2 in the UK - one place has them for £44 another for £12 !! - both are out of stock. The only thing I don't like about the PicKIT2 is that is ISCP - but I 'spose I'll get used to it...
Oh and I tried those changed - guess what.......... ?
It ERRORED !!!!!! -
Thanks mate for all your help.. I've picked up a thing or two along the way, so it hasn't all been in vien.....
Too bad, i don't know any UK supplier but usually Microchip Direct is pretty fast. 2-3 business days here.
Why you don't like ICSP? it's handy no? OR you can still build some ICSP to DIP adapters?... easy, hack your Olimex sockets
kinda learning opportunities
EDIT:
Yeah that's what i thought too... i have the bootloader .HEX file too but...Yeah... I downloaded the manual with the shematic at the back... and the firmware is avaialble... For a moment of insanity I thought I would look at making one... there's just one problem... I can't program the PIC !! - sorta chicken and egg thing![]()
Last edited by mister_e; - 12th December 2006 at 00:49.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve,
Well it must be either something querky with either the programming software or the 18F series of chips (or just the 18F2550)
I tried repeating some of the things here but using a 16F873A PIC (just happened to have a couple in my hobby box - no other reason) I compiled the following code (edited version of your test code)
It compiled with out error and loaded without error (using either application, Winpic or PICpgm). This was using the default INC files I also tried my original code (in post 1 I think) and that too loaded fine. But try as I might, even though the programmer, both software and hardware claim to support 18F2550's I can't get it to work with this PIC.Code:ADCON1=$0F TRISB=%00000000 'set PORTB as all output PORTB=0 ByteA var byte main: for bytea=0 to 7 PORTB=DCD BYTEA PAUSE 250 NEXT PORTB=255 PAUSE 250 goto main
I've yet to breadboard and test the PIC - and I need to swatt up on the datasheet to see what this 16F873A offers, but as I don't need anything too fancy I'm sure it will do just fine (assuming I can get the hardware running)
Well using the 16F873A I have flashing LEDs so that rules out things like faulty components, or a suspected problem with the breadboard.
Looking at the datasheet, I think the only possible limitations will be the memory for data storage, other than that it has AtoD so I should be able to connect up a music source and get the LEDs to act like a VU meter![]()
Nice! Depending how fancy you want to be and from what i understand about your project, F873 should be enough indeed. F876 could be the update one.
Gooooood ol' 16F
You said you had 3 18F2550... Microchip demo or not? If they are Microchip demo... well they COULD be faulty... on the other hand i never had any faulty one from microchip myself... Still possible.
Well, since you have something's working... over 40 post and 10 page later but at least somethings work
Good luck!
Last edited by mister_e; - 13th December 2006 at 03:10.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks