Menu

PIC18F4XK22 Bug in init code

Bug report
2015-01-16
2015-03-22
  • Christian Neubert

    There is a Bug in the file "Dan_tinybld18F23K22-43K22-24K22-44K22-25K22-45K22-26K22-46K22_int16MHz_19200.asm".

    To configure the analog ports as digital I/O you have to set the bsr to "0xF", so that the 2nd and 3rd instructions work as intended.
    Also do configure the "ANSELD" register you have to use "ANSELC+1" and not "ANSELC-1".

     
  • Dan

    Dan - 2015-01-16

    Hello Christian,

    Thank you very much for your bug reports !!!

    New firmwares are attached.

    I hope when you get to try if you have these devices.

    I do not have these devices.

    Best regards,
    Dan

     

    Last edit: Dan 2015-01-16
  • Dan

    Dan - 2015-03-22

    .

     

    Last edit: Dan 2015-03-22

Log in to post a comment.