Advice please - Warning message - Page 2


Closed Thread
Page 2 of 2 FirstFirst 12
Results 41 to 51 of 51
  1. #41
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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.....

  2. #42
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e

    And guess what's inside the PICKIT 2??? a PIC8F2550
    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

    Thanks mate - I'm off to bed as its gone midnight

  3. #43
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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... 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
    Yeah that's what i thought too... i have the bootloader .HEX file too but...
    Last edited by mister_e; - 11th December 2006 at 23:49.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #44
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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)

    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
    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.

    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)

  5. #45
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default Update

    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

  6. #46
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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 02:10.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #47
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default Pic's not programming.

    Have you tried the .1uf across both sets of Vdd & Vss pins? Not on the programmer, I mean right across the pins, right at the PIC, like within a couple of mm of the pins themselves, even if they're only temporary.

    I've got a Warp13a and none of my 18F1230's, 18F2550's (basically anything with the 'Nanowatt' feature) will program correctly without those cap's in place, right at the PIC.

    I know you've tried the cap's as mentioned in earlier posts, but, I didn't see any mention of being right at the PIC.

    JDG

    EDIT: Another thought...
    A totally seperate issue that has tripped me up with the Warp13a and it's associated software/firmware is various pieces of background Windows software messing with the serial and USB ports. Specifically, all those programs that monitor hardware temperature, voltages, fan speeds, etc. Every time one of those would update, it would cause my programmer to crash, not the firmware, but the actual programmer itself. Dont' ask why...I don't know. Suffice to say, I shut all that crap off when I'm PIC'ing, and all is good.
    Last edited by skimask; - 13th December 2006 at 03:39.

  8. #48
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yup and Warp13 is not the only one suffering of those missing or needed caps... some device need it with PICSTART when using the ZIFF socket.

    Interesting point about the background Windows Software so far.

    One thing i didn't asked to Malcom...

    Malcom, are you using a USB to Serial converter or not? I heard that some model may don't work... kind of bad timing, speed issue or whatsoever when using/creating a virtual COM port.

    But yeah, it work with some other PIC model...

    We can still talk about Ambient light.. neon ballast or incandescent bulb but... i think it's pushing the limit... i remind to have some programming issue with PICSTART awhile back when he was too close of the PIC...
    Last edited by mister_e; - 13th December 2006 at 06:23.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #49
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Hi guys, and thanks for the replies.

    Yes I did fit the 0.1uf capacitor as close to the PIC as I could (pins 19 & 20), as well as across the main power rails on the breadboard. The PG-02 programmer is connected direct to Com1 via a standard 9 way serial cable - no convertor is used.

    The three '2550's were sample chips from Microchip, I've sinced tried one that I purchased this week from RS and that too shows the same issues, so my guess is that there is something the 18f2550's need (either physical hardware configuration, or software) that either my hardware or the software can't provide. Like I said the 16F873A programmed 1st time and works fine...

    I'll have a look at the other chips you mentioned Steve, and maybe a few others. Just need to brush up on my rusty skills and try out some new things in PBP (LCD and A to D )

    Whilst agree that after all these posts, and what has turned out to be a long thread we didn't actually resolve the issue, but I did learn from the experience and have a better understanding of what to lookfor and how to edit INC files etc. I just hope that others can also learn from the topics covered in this thread too.

    Thanks for your time and input

  10. #50
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Yup and Warp13 is not the only one suffering of those missing or needed caps... some device need it with PICSTART when using the ZIFF socket.

    Interesting point about the background Windows Software so far.

    One thing i didn't asked to Malcom...

    Malcom, are you using a USB to Serial converter or not? I heard that some model may don't work... kind of bad timing, speed issue or whatsoever when using/creating a virtual COM port.

    But yeah, it work with some other PIC model...

    We can still talk about Ambient light.. neon ballast or incandescent bulb but... i think it's pushing the limit... i remind to have some programming issue with PICSTART awhile back when he was too close of the PIC...

    I've heard about problems with the USB-serial converters also. Something related to the fact that there was no direct 'ground' between the PC and the programmer as a result.
    JDG

  11. #51
    Join Date
    Oct 2004
    Location
    Zagreb, Croatia
    Posts
    27


    Did you find this post helpful? Yes | No

    Default

    Have you tried put the line
    ADCON0=0

Similar Threads

  1. PIC16F690 PBP boundary crossing warning message
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th May 2008, 11:17
  2. Micro Code Studio - Warning message
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2006, 21:17
  3. MicroCode Studio Boundary Warning Message
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th March 2006, 09:13
  4. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 10th July 2005, 23:17
  5. warning message
    By pic beginner in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd July 2004, 02:53

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts