18F458 and 20MHz osc problem...


Results 1 to 6 of 6

Threaded View

  1. #1
    batee's Avatar
    batee Guest

    Unhappy 18F458 and 20MHz osc problem...

    Got a problem with an 18F458 and an oscillator higher than 4MHz. Using a PICDEM 2+ protoboard.

    Typical blinky LED program:

    DEFINE OSC 20
    LED VAR PORTB.1
    main: HIGH LED
    PAUSE 100
    LOW LED
    PAUSE 100
    GOTO main

    Works for a 16F877 and a 20MHz osc. Works fine with a 4MHz osc and 18F458, doesn't work with anything higher (including the defined 20MHz).

    Using PBPv2.45 and MPLAB v6.5.

    Compiling calls PBPW with this line:
    Executing: "C:\PIC\PBP\PBPW.EXE" -p18F458 -ampasmwin -oq -c -z -v "test.bas"

    I've tried other "Configuration Bits" in MPLAB, but I can't seem to make them stick. Do these do anything for PBP?

    Thanks,

    Bryan A. Thompson
    [email protected]
    Last edited by batee; - 16th October 2004 at 19:45.

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