Code verification errors 16F1847


Results 1 to 26 of 26

Threaded View

  1. #6
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Code verification errors 16F1847

    Are you sure you’ve changed the destination device in the project from the 18F to the 16F part?
    The only reason I can think of to blame software being written to the device for the device not programming, is writing invalid data to the device.

    16F devices have a 14 bit instruction set, and 18F have 16 bit instruction set. That’s not a hard rule, but generally true.
    Given that it’s chopping one of the upper two bits off, that’s suspicious.
    The first example you gave looks like a specific subtract instruction op code that is not supported with 16F.
    They both have subtract instructions, but the 16F can’t subtract from RAM, and load the destination in a single instruction.

    I’m a little baffled though because I wouldn’t expect an 18F hex file to be able to load in the programmer software when a 16F part is selected or detected.
    Just in case, why not read the program hex from he 18F part and try to load that straight to the 16F part to check the result?
    Last edited by Art; - 27th April 2018 at 18:01.

Similar Threads

  1. 16F1847 Usart and I2C
    By Seahound1 in forum Serial
    Replies: 6
    Last Post: - 18th December 2012, 20:41
  2. Replies: 3
    Last Post: - 1st July 2008, 21:07
  3. DTMF verification
    By lerameur in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st May 2008, 23:28
  4. Data verification
    By Daniel Simões in forum Serial
    Replies: 5
    Last Post: - 26th August 2006, 02:59
  5. Timing verification.
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2004, 15:44

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