Replacing 16F628A with 16F1827 - need help, please !


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2023
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: Replacing 16F628A with 16F1827 - need help, please !

    It looks like you have a 16F1826 selected instead of 16F1827.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Replacing 16F628A with 16F1827 - need help, please !

    Those errors comes from using the wrong syntax for the CONFIG block. The example Ioannis posted compiles just fine.

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Replacing 16F628A with 16F1827 - need help, please !

    Yes, the Config block generated errors.
    Solved by writing :
    Code:
    ASM
      __config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_ON & _CPD_ON & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_ON & _FCMEN_ON
      __config _CONFIG2, _WRT_ALL & _PLLEN_ON & _STVREN_ON & _LVP_OFF & _BORV_19 &  _LVP_OFF
    ENDASM
    Thank you all for your support.
    I am going to check if the assembly works correctly.

Similar Threads

  1. Replacing dtdp relay with mosfets
    By longpole001 in forum Schematics
    Replies: 2
    Last Post: - 3rd April 2015, 22:40
  2. Replacing pic16f627a from a 16f84(a)
    By PicNewbie in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd February 2009, 02:35
  3. Replacing existing pic
    By Freman in forum General
    Replies: 29
    Last Post: - 5th June 2008, 23:53
  4. Replacing shift register with PIC
    By TonyA in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 7th April 2008, 18:31
  5. replacing chips
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th February 2005, 18:01

Members who have read this thread : 3

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