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]
Bookmarks