Menu

I need chip file for PIC16F18445

2018-07-31
2018-08-27
  • Clint Koehn

    Clint Koehn - 2018-07-31

    I don't know if this is the right place to post this, but I need the dat file for this chip. It has 12 bit adc in a 20 pin package plus other good stuff.

    Later,
    Clint

     
    • Anobium

      Anobium - 2018-08-01

      @Clint. The correct place to post. I am aware this device does not have a .dat file. Since Feb this year.

      Currently we are short on support for the following as there is not support in MPASMX 4.10 Feb 2018 and IDE 4.20 Jul 2018

      PIC16F18424
      PIC16F18425
      PIC16F18444
      PIC16F18445
      PIC16F18455
      PIC16F18456

      The way to resolve.

      Someone installs MPLAB-X 4.xx Beta. Looks in this installation of MPASMX and a file called p16f18445.inc. I need the file called p16f18445.inc as we currently use this as the input source file to create the .dat file. (I cannot do this as the internet here is very poor!).

      So, I need the following files to create the dat files.
      p16F18424.inc
      p16F18425.inc
      p16F18444 inc
      p16F18445.inc
      p16F18455.inc
      p16F18456.inc

      Anobium

       

      Last edit: Anobium 2018-08-01
      • Anobium

        Anobium - 2018-08-01

        I added support for the 12-bit ADC early this year. Hopefully, it works as expected.

        The change improves support for 12bit ADCs to return 10bit values. Adding a new parameter to the dat file called ChipReadAD10BitForceVariant. Where ChipReadAD10BitForceVariant is the divisor for the max value returned.

        All very boring but it means that the devices with 12bit ADCs are compatible with the READADC10 command.

         
        • Anobium

          Anobium - 2018-08-01

          Final thought - anyone know of a 20pin device with 12 bit ADC if we cannot source the required INC file.

           
  • Clint Koehn

    Clint Koehn - 2018-08-01

    My internet is the slowest you can have and still call it DSL I think. I have time so I started the download, looks like a little over 2hrs. 731MBs. I'm using the internet, so that slows it down too.
    I'll see if I can get you those files. the one I'm downloading is the 5.00.

     
    • Anobium

      Anobium - 2018-08-01

      I am not downloading.   Toooo slow here. :-(

       
  • Clint Koehn

    Clint Koehn - 2018-08-01

    OK, finally got back. They do not have the .inc files, BUT.....
    The PIC xml files say that they are cloned from other chips, I'll list them.

    16F18424 is cloned from 16F18426
    16F18425 is cloned from 16F18426
    16F18444 is cloned from 16F18445
    16F18445 is cloned from 16F18446
    16F18455 is cloned from 16F18456
    16F18456 is cloned from 16F18446

    Does that make any sense to you? Are they just duplicating the chip data and changing the name?

     
  • Anobium

    Anobium - 2018-08-01

    That makes sense to me, however, we need a proper data source. The method to generate .dat files is fully automated so it is hard to inject a clone method for one family of parts.

    But, if they are cloned.. what is the actual difference? I mean why have two part numbers for same set of PIC capabilities?

     
  • Clint Koehn

    Clint Koehn - 2018-08-01

    I know what you mean, but sometimes it seems my logic and other peoples logic is different. I might try to copy the 16F18446.dat file and rename it 16F18445.dat and see if it works.

     
  • Clint Koehn

    Clint Koehn - 2018-08-01

    The only thing different between those chips is:
    prog flash mem words prog flash Kb Data SRAM
    16F18445 8192 14 1024
    16F18446 16384 28 2048

    That is at least all I could see.

     
  • Anobium

    Anobium - 2018-08-01

    Clint if you send me a complete list of these differences. I will generate the dat files. Please do for all chips.

     
  • Clint Koehn

    Clint Koehn - 2018-08-01

    Here are the 16F18445 and 16F18446 from the data sheet

     
  • Anobium

    Anobium - 2018-08-02

    https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/chipdata/16lf18445.dat?format=raw

    The 16F18445 is based in the existing 16F18446. With the Program and RAM parameters updated. I do not have the INC files from MPASMX yet. But, these INC files will be included in the MPASMX 5.80. When MPASMX 5.80 is released I will reissue this file and the other family devices dat files at the same time.

     
  • Clint Koehn

    Clint Koehn - 2018-08-02

    Doesn't look like I'm going to get to it today. Probably not this week even. Got too busy.

     
  • Anobium

    Anobium - 2018-08-02

    Formal response from Microchip

    PIC16F18445 is not supported under MPLAB X IDE v5.00.

    However, this device is going to be beta supported with the next version of the IDE - MPLAB X IDE v5.05, which is currently under testing, and due for release by end of August.
    These devices will be fully supported under MPASM, with the future versions of the IDE.


    So, proceed with the dat file I   have   posted. I will   update when v5. 05 is released.

     
  • Clint Koehn

    Clint Koehn - 2018-08-02

    Thank you very much Evan.

     
  • Anobium

    Anobium - 2018-08-04

    Formal release of DAT file

    I have just posted a formal release of the following DAT files for the 16f184xx devices. See https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/chipdata/

    Microchip have sent me over night a ZIP of the upcoming MPLAB-X 5.05 to enable me to create these DAT files. That is service for you!

    16f18424.dat
    16f18425.dat
    16f18444.dat
    16f18445.dat
    16f18455.dat
    16f18456.dat
    

    I have not produced the LF version as I do not have the correct INC file. These will be included when MPLAB-X 5.05 is formally released.

     
  • William Roth

    William Roth - 2018-08-27

    Attached is a zip that also includes the "LF" INC files. From release version of MPLAB X 5.05

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.