View Full Version : fusses info in PB3
MOUNTAIN747
- 12th June 2022, 14:58
After upgrading to PB3 I've been opening some of my old 2.60 programs to see if they will run on PB3. My first try failed.
@ DEVICE INTRC_OSC,MCLR_OFF,BOD_OFF,WDT_OFF,LVP_OFF
Compiling for 16F886 I get this message "illegal opcode (INTRC_OSC)
This worked in 2.60.
I can't seem to find the listing of codes for PB3. Directions please!
MOUNTAIN747
- 12th June 2022, 15:19
OK, so I found part of the problem.
I should have changed the old fusses to
@ __CONFIG _CONFIG1,_INTRC_OSC_NOCLKOUT & _MCLRE_ON & _LVP_OFF & _WDT_OFF
to use PB3 & MPASM. Now i'm getting "Overwriting address contents (2007)"
not sure about this yet.
mpgmike
- 12th June 2022, 20:27
When I bought PBP3.1 I spent a few bucks extra and got the paper version of the Manual. I read through many times, underlined things, wrote in the margins, and highlighted excerpts in different colors. I had to laminate the front & rear covers as they no longer stayed on the binding. I suggest spending some time with the PBP3 Reference Manual. You have your first question now, but will have more later. You may be surprised how much "stuff" you can do with PBP3.1.
MOUNTAIN747
- 12th June 2022, 22:12
Thanks Mike, I'll go through the manual looking for overwrite comments.
wayne
Ioannis
- 14th June 2022, 22:38
Use #config and #endconfig like this for example:
#CONFIG
__CONFIG _CP_OFF & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
#ENDCONFIG
Ioannis
josepic
- 3rd August 2022, 00:51
in those mentioned pages they refer to the fuses of the pics, also take into account the .inc file of each pic of the pbp and use the DEFINE OSC instruction to define the oscillator to use in the pic and by default the pbp assigns crystal 4 mhz .
read page 100 section 4.9 and read page 22 section 2.1.
I send you a link to the pbp manual.
https://pbp3.com/downloads/PBP_Reference_Manual.pdf
:cool:
josepic
- 3rd August 2022, 01:07
After upgrading to PB3 I've been opening some of my old 2.60 programs to see if they will run on PB3. My first try failed.
@ DEVICE INTRC_OSC,MCLR_OFF,BOD_OFF,WDT_OFF,LVP_OFF
Compiling for 16F886 I get this message "illegal opcode (INTRC_OSC)
This worked in 2.60.
I can't seem to find the listing of codes for PB3. Directions please!
in those mentioned pages they refer to the fuses of the pics, also take into account the .inc file of each pic of the pbp and use the DEFINE OSC instruction to define the oscillator to use in the pic and by default the pbp assigns crystal 4 mhz .
read page 100 section 4.9 and read page 22 section 2.1.
I send you a link to the pbp manual.
https://pbp3.com/downloads/PBP_Reference_Manual.pdf
(https://pbp3.com/downloads/PBP_Reference_Manual.pdf)
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.