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.


Reply via email to