HID USB on 18F87J50


Closed Thread
Results 1 to 40 of 57

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530

    Default Re: HID USB on 18F87J50

    I found this on page 81: But I guess you found that already.
    Note: Addresses, F40h through F5Fh, are not
    part of the Access Bank, therefore specifying
    a BSR should be used to access these
    registers.
    See, its a feature, not a bug!
    Last edited by ScaleRobotics; - 21st August 2011 at 23:03.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default Re: HID USB on 18F87J50

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default Re: HID USB on 18F87J50

    Quote Originally Posted by scalerobotics View Post
    I found this on page 81: But I guess you found that already.
    See, its a feature, not a bug!
    I tried to head off that question in my earlier post.
    I understand that it's outside of the access bank, but that only affects the "banked" opcodes (movf, movwf, bcf, bsf, iorwf etc). Banked opcodes are the only ones that work in that range on the 67J50.

    MOVFF and indirect addressing are not affected by the BSR register.
    They use the full address of the register.

    From the MOVFF Instruction definition ...
    Location of source ‘fs’ can be anywhere
    in the 4096-byte data space (000h to
    FFFh) and location of destination ‘fd’
    can also be anywhere from 000h to
    FFFh.
    DT

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts