Hello ??? (I usually don't react on anonymous mail)

On 25-10-11 11:11, electro_phunk wrote:

I have searched high and low and it seems no one really uses Jal
anymore and thus no one could help me. I have a problem with Jalv2,
when I compile the following code:

  include 16f628a


pin_b1_direction = output
pin_b2_direction = output
pin_b3_direction = output

pin_a1_direction = input
var byte leds = 0
portb = 0


forever loop

if pin_a1 then

leds = leds<<1

leds = leds + 1

delay_1s(1)

portb = leds


     end if

end loop

It compiles ok, but when I try to program it then I get an error:
error write config - w, wrote 3D02 read 3F02.

Since you present your problem in the Jallib mailing list, I assume you are using Jallib libraries (otherwise use the Jallist mailing list).

I don't see any config bit pragma's?
I don't see enable_digital_io()

A problem with loading a hex file into a PIC has nothing to do with JALV2. And when loading fails (even only partly, but especially of config words) it is useless to draw any conclusions from the behaviour of your target.

Regards, Rob,

--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to