problem is found. custom made programmer cable too long. Using the three inch ribbon cable, it works!
Case closed.
Type: Posts; User: hvacrtech; Keyword(s):
problem is found. custom made programmer cable too long. Using the three inch ribbon cable, it works!
Case closed.
Odd behavioral now... cant program 18f2550 but can program 16f886 no problem.
I am using PBP 2.60 and MSASMWIN 5.20 and programmer 4.31.
the other code used for 16f886 and programmed fine on...
AFter reading other forum, I put default for the programmer U2 and the problem solved! Now that my completed unit is back to life! The TRIS has to do nothing with for using with LCD but the unused...
I use LCDOUT with DB4-DB7 on PORTB.0-PORTB.3, RS on PORTC.1, Ebit on PORTC.0 on 16F886. Starting BIT is set to 0. Will setting TRISB and TRISC even not set correctly can damage the LCD as well the...
That way it been erratic behavior and You are right about that the led should not blink when GPIO.5 is opened. that way when I opened the path from ground, the led still blinks. After I added...
Got it working, added INTCON=7. changed input to PULSIN. Everyting is working well.
OOPS should be INTCON=0 not INTCON=7.
Seems that internal pull up resistors not working?
Simple code to work with. I am using GPIO.5 as input as digital. The LED still blinks from GPIO.2. The internal pull up dont work as expected to...
Is CM1CON0=0 the same as CM1CON0.7 = 0?
Got it working partially. Will work on it tomorrow.
Somehow the RA.5 randomly stays high since I use RA.5 as pulseout. Even that ADC is disabled, comparator disabled.
Include "bs2defs.bas"
define lcd_dreg portc
define lcd_dbit 0 '0
define...
I need help on 16F886, is there config to disable MSSP?
After reviewing all posts on INT14.
Added
RBIF = RABIF
RBIE = RABIE to after ASM and just before INT_LIST.
@ INT_ENABLE RBC_INT
My code works. This is really interesting difference between typing in ports on 16F689 and 16F886 like 6 on 16F689 while porta.6 on 16F886 (lower cap works!) and will be sure all are Upper Cap.
I...
Here is the code,
Similar idea as first post and still cant get LED flashing even after adding a line for device, i do get RA.6 low but still dont flash yet. without this device line, the pin...
I upgraded from 16F689 to 16F886 due to memory space. Complied fine and i am stuck with all RA's ports. I had no plm with 16F689 using RA5 as clock for shiftin command on RC.6 and RC.7. LCD commands...
Yeah. I read a thread relating to this error and i just actually ignore it all the times.
I will have the checkbox marked disable errors in MCS.
I noticed that programming 16F689 and the MicroCode Suite showed me that code crosses boundary at 0800h. Well the PIC ran fine with no problems. I read the 16F68x manual and I see that 16F689 has...
I had it working before anyone posted my question. I using code what was used for 8x2 and 16x2, it filled out correctly but uses more codes to do this instead of regular 16x2.
I have no problem with 16x2 LCD but when I swap to 16x1 unit, cannot do whole 16 character fill in and cuts off after 8th charactor on a single line.
Any solution?
Code: Default for 16x2,
...