Thanks, will checkout..

Sunish

On Mon, Mar 18, 2013 at 1:24 PM, mattschinkel <[email protected]>wrote:

> Hey Sunish,
>
> Check out this sample and the memory_pointer1.jal lib to see how POSTINC1
> works
> http://jallib.googlecode.com/svn/trunk/sample/18f67j50_memory_pointer.jal
>
> You'll need to make a array located at dst, then copy the data[] array to
> it.
>
> Matt.
>
>
> On Friday, March 15, 2013 10:38:29 PM UTC-4, Sunish Issac wrote:
>>
>> I was just trying to compile the usb hid keyboard demo on 16f1455. The
>> first error is at
>> (lib/usb_drv_core.jal) [Line 37]  "postinc1" not defined
>>
>> postinc is available only on 18f .
>>
>> How can this procedure be rewritten for 16f
>>
>> procedure _usb_copy_array_to_ram(word in dst, byte in data[], byte in
>> num_bytes ) is
>>     -- pragma inline
>>     var byte index
>>     var byte dst_ptr[2] AT dst
>>
>>     FSR1L = dst_ptr[0]
>>     FSR1H = dst_ptr[1]
>>
>>     for num_bytes using index loop
>>         POSTINC1 = data[index]
>>     end loop
>> end procedure
>>
>>
>> Not sure what are the other obstacles that would come once this is solved.
>>
>> I found this link
>> <http://www.eevblog.com/forum/microcontrollers/pic16f1455/15/>where
>> MikeK mentions he compiled the jal usb cdc sample on 16f1455, but source is
>> not available.
>> Is MikeK on jallib or jallist ?
>>
>>
>> Sunish
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/jallib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to