On 10/10/02 12:55, patmat wrote:

I'm new on PIC world and in google groups, so i'm not sure if i'm
posting in the right place.

Since I have found "Bert Van Dam" book I'm trying to compile hex files
with JAL.
I'm using the old PIC16f84a, yes I no, he have very poor resources and
blá blá ... but I like this chip to start understand the registers
(even so I accept recommendations) ;-P.
I have download "jallib-pack-2.4n-0.6.0" with the "16f84a.jal" library
and the "16f84a_blink.jal" sample but for some reason that I do not
understand I get this message:

jal 2.4j (compiled Mar 12 2009)

[Error]  (libraries/16f84a.jal) [Line 52] unexpected token: 'id'
[Error]  (libraries/16f84a.jal) [Line 52] "id" not defined
[Error]  (libraries/16f84a.jal) [Line 52] '=' expected (got '0x2000')
[Error]  (libraries/16f84a.jal) [Line 52]  unexpected token "0x2000"
[Error]  (16f84a_blink.jal) [Line 29] unknown pragma target: osc
(...)

I haven't made any change on the files.

But you are using an old compiler version! In the top of the include file '16f84a.jal' you can see with which compiler version it is supposed to be used: JalV2 version 2.4n (4 versions later!) So why did you download the Jallib pack but not use the accompanying compiler version it contains?

I hope you are aware that the programs in Bert's book use a different set of libraries which do not mix/match with Jallib libraries. Either use one or the other, not together.

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