Advice please - Warning message


Results 1 to 40 of 51

Threaded View

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


    Did you find this post helpful? Yes | No

    Default OK I'm stummped

    I feel like I've experienced some form of memory loss and I'm having to learn how to ride a bike all over again !

    I've breadboarded the circuit as follows:
    Pin 20 = +5v
    Pin 19 and pin 8 = GND
    Pin 1 = +ve via a 10K resistor
    Pin 9 & 10 - 4 Mhz xtal with 22pf between pins and GND
    Pins 21 - 28 LED with 120 R resistor to GND

    When power is applied RB7, RB6, RB4 and RB3 faintly light and appear to be flickering randomly (like a candle effect)

    I'm getting 1.25v on the above pins, but RB5 is showing -1.1v, RB2 = -0.8 and -0.9v on RB1 and RB0

    Does the 2550 PIC require the USB components connect to RC4 -7 to function correctly ?

    EDIT:

    Can someone confirm that I have the correct settings in the application and INC files

    Program code
    Code:
    @WDT_ON
    @PWRT_ON
    @MCLR_OFF
    @BOD_ON
    @LVP_OFF
    @CPD_OFF
    @PROTECT_OFF
    @ errorlevel -202
    and INC file (in PBP folder)
    Code:
            INCLUDE "P18F2550.INC"	; MPASM  Header
            __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
            __CONFIG    _CONFIG1H, _FOSC_HS_1H
            __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
            __CONFIG    _CONFIG3H, _PBADEN_OFF_3H
            __CONFIG    _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
    Last edited by malc-c; - 10th December 2006 at 14:09.

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