I found the problem. It was the name of the program I chose. I called it Blink i.bas once I changed its name to Blink_i.bas the whole thing compiled then I could build it in MPLAB.
I should have...
Type: Posts; User: wbubel; Keyword(s):
I found the problem. It was the name of the program I chose. I called it Blink i.bas once I changed its name to Blink_i.bas the whole thing compiled then I could build it in MPLAB.
I should have...
I tried it with PBP setup in MPLAB and I got a bunch of compile errors
I've already posted them (See above Posts 410, 414, and 415 in this thread)
Ok, I'm about to give up. Ive tried everything on Darrel's program that was suggested. I'm still getting the same Build errors as before. I'm using a 18F1220 Pic and MCS to compile with MPLAB to...
Just how do I do that in MPLAB? I tried looking and found nothing to make PBP the language tool?
Yes, that is the way I have always built .asm files. I never encounted errors to this magnatude before.
Warning[207] C:\PIC PROGRAMS\BLINK I.ASM 657 : Found label after column 1. (ASM?)
Error[116] C:\PIC PROGRAMS\BLINK I.ASM 657 : Address label duplicated or different in second pass (ASM?)...
Here is the rest of the errors
Error[116] C:\PIC PROGRAMS\BLINK I.ASM 1501 : Address label duplicated or different in second pass (ENDASM?)
Warning[207] C:\PIC PROGRAMS\BLINK I.ASM 1506 :...
I am using MPLAB for Building
Here is a copy of the config file
;****************************************************************
;* 18F1220.INC ...
Here is the errors I get
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Pic Programs\Blink i.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM...
Dave
I am using MPASM.
; Initialize your hardware first.
INCLUDE "DT_INTS-18.bas" ' Base Interrupt System
INCLUDE "ReEnterPBP-18.bas" ' Include if using PBP interrupts
DEFINE...
Sorry Darrel about calling you dave.
I can compile but not Build. I use a IDC2 with MPLAB to run the PIC 18F1220. I use Microcode studio to write code and compile it to create a .asm file for...
Hello dave
Ok, I found all my files I need however I am using PicBasic Pro Compiler Ver. 2.46. (I'm one of those poor saps that lost his receipt and cannot upgrade.)
When I compile it works but...
where can I get a copy of ReEnterPBP.bas so I can test interupts?
How's this for Spaghetti Code
PORTA.1 = 0 :PORTA.2 = 0 :PORTA.3 = 0 :PORTA.4 = 0 :PORTA.5 = 0 :PORTA.6 = 0
I finally found the solution. You cannot clear PORTA
when I removed the code
'PORTA = %01000000 ' Clear PORTA
It worked on the first 'release from reset'. Now all I need is to indivually...
Setting ADCON1 makes no difference. Always on the first 'release from reset' it misbehaves.
I am using the 18F1220 PIC.
This piece of code made it work
DEFINE OSC 4 'Define the Osc to 8 MHz
asm
bsf OSCCON, SCS1 ; 1x = Internal Block
bcf OSCCON, SCS0 ; 00...
I disabled the A/D converter ADCON0 = 0, but the problem remains. Strange.
I have a weird PORTA problem. I set PORTA Bit 7 to digital input. The pin is pulled up with a resistor to VCC. When I first start the PIC after programing and release from reset, PORTA Bit 7 is at...
Joe S. and Bruce
Thanks for your valuable help. Sorry its been a while since I've been able to get back to this project. Here is the status. I have set the CONFIG1H fuse to
_INTIO2_OSC_1H as...
Hello
I am new to this forum, I am a RF Engineer trying to use a 18F1220 with its internal oscillator. So far I have been unsucessfull in doing this. When using MPLAB and a IDC2 in debugger mode...