Eur van Andel wrote:
> On 16 Sep 2008, at 21:49 , Rob Hamerling wrote:
>
>> As far as I can see all our Jallib issues with 2.4g are fixed, and I
>> have closed 'm (I think Eur can close also issue 23).
>
>
> Hmm.
>
> (from b18f452.asm)
>
>> v_lata EQU 0x0f89
>> v_trisa EQU 0x0f92
>> [..]
>> ; 38 led_direction = output
>> bcf v_trisa, 0,v__access ;
>> pin_a0_direction, 0,v__access
>> ; 40 forever loop
>> l__l166
>> ; 41 led = on
>> movlb 31
>> bsf v_lata, 0,v__banked ; x19,
>> 0,v__banked
>
> TRISA is accessed via the access bank, and LATA is accessed via
> bank_31. How strange.
This was exactly the problem with 2.4g (and maybe earlier versions) for
teh 18F series. You may see in the asm file also a variable (x_76?)
declared as lata+3977, which was also an error.
Did you pickup the latest source release? The initial source release
didn't contain the 2.4h sources, see my message in Jallist. The current
archive does contain 2.4h.
http:/www.casadeyork.com/jalv2/archive/jalv24hsrc.zip
With this release my blink sample/test programs (tested 18F242) work out
of the box.
Regards, Rob.
--
Rob Hamerling, Vianen, NL (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
-~----------~----~----~----~------~----~------~--~---