Advice please - Warning message


Closed Thread
Results 1 to 40 of 51

Hybrid View

  1. #1
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Ohhh - checked the config screen after doing that and see the attached - that was not there before - all those listings !!
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    Loading the following:

    Code:
    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
    into winpic now displays the attached settings
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    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.

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

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

  6. #6
    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; - 12th December 2006 at 00:49.
    Steve

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

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

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

  9. #9
    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 03:10.
    Steve

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

Similar Threads

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