Loading ...
Sorry, an error occurred while loading the content.
 

Re: [jallist] Is there a library for a PIC16F688

Expand Messages
  • Hans de Rijck
    Hi Jon You could try defining it as a 877 if you intend to use more than 2k flash, or a 628 if you re using less. Most likely this will get you on the road
    Message 1 of 6 , Aug 1 11:49 AM
      Hi Jon

      You could try defining it as a '877 if you intend to use more than 2k flash,
      or a '628 if you're using less. Most likely this will get you on the road
      but check the datasheet for obvious differences. Of course you can't use the
      pins that are not there ;-)

      B.t.w. it seems Microchip has developed the nasty habit of no longer
      publishing the pin diagrams in the datasheet. Anyone why this is?

      Regards,

      Hans.


      ----- Original Message -----
      From: "jon_merrill" <jon_merrill@...>
      To: <jallist@yahoogroups.com>
      Sent: Sunday, August 01, 2004 2:33 AM
      Subject: [jallist] Is there a library for a PIC16F688


      > Hello. My name is Jon Merrill. I just got started with PICs and JAL.
      > I have been successful blinking an LED with JAL and a 12F675 chip. I
      > would like to move to the 16F688 chip that has more memory and more
      > pins.
      >
      > I would like to use JAL with the *new* 16f688 chip. It is a 14 pin
      > package and has 4k of memory. How can I get started programming JAL
      > with this chip? So far I have not found a library file that will
      > work. I read one of the BAK files and it mentioned that the file was
      > automatically generated from a Microchip include file, but I have not
      > found information on how to generate it. I have copied the
      > P16F688.INC file into C:\Pic-tools\JAL\inc directory. What else needs
      > to be done? Thank you for your help.
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
    • Eur van Andel
      ... This is hard to imagine for a chip company. Which datasheet, for instance? -- Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
      Message 2 of 6 , Aug 1 1:04 PM
        On Sun, 1 Aug 2004 20:49:41 +0200, "Hans de Rijck" <hans@...> wrote:

        >B.t.w. it seems Microchip has developed the nasty habit of no longer
        >publishing the pin diagrams in the datasheet. Anyone why this is?
        This is hard to imagine for a chip company. Which datasheet, for instance?

        --
        Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
        Wierdensestraat 74, NL-7604 BK Almelo, The Netherlands eur@...
        phone +31-546-491106 fax +31-546-491107 mobile +31-653-286573
      • Jon
        Thank you for the tip. I have tried this without success, but this is probably due to my inexperience. The project will compile fine, but the porta I/O did not
        Message 3 of 6 , Aug 1 2:02 PM
          Thank you for the tip. I have tried this without success, but this is
          probably due to my inexperience. The project will compile fine, but
          the porta I/O did not behave like it did when the target is a 12F675.
          Where can I find more documentation about making a library, or better
          still tailoring what someone has created so it matches my target chip
          perfectly? For example if I type:

          pragma target chip 16f688

          JAL responds with error: target not recognized

          How would I auto-create 16f688_inc for this chip and then use the
          jpic library? Would this work or am I really wishful in my thinking?
          Thank you to anybody that can shed some light on this.


          --- In jallist@yahoogroups.com, "Hans de Rijck" <hans@o...> wrote:
          > Hi Jon
          >
          > You could try defining it as a '877 if you intend to use more than
          2k flash,
          > or a '628 if you're using less. Most likely this will get you on
          the road
          > but check the datasheet for obvious differences. Of course you
          can't use the
          > pins that are not there ;-)
          >
          > B.t.w. it seems Microchip has developed the nasty habit of no longer
          > publishing the pin diagrams in the datasheet. Anyone why this is?
          >
          > Regards,
          >
          > Hans.
          >
          >
          > ----- Original Message -----
          > From: "jon_merrill" <jon_merrill@y...>
          > To: <jallist@yahoogroups.com>
          > Sent: Sunday, August 01, 2004 2:33 AM
          > Subject: [jallist] Is there a library for a PIC16F688
          >
          >
          > > Hello. My name is Jon Merrill. I just got started with PICs and
          JAL.
          > > I have been successful blinking an LED with JAL and a 12F675
          chip. I
          > > would like to move to the 16F688 chip that has more memory and
          more
          > > pins.
          > >
          > > I would like to use JAL with the *new* 16f688 chip. It is a 14 pin
          > > package and has 4k of memory. How can I get started programming
          JAL
          > > with this chip? So far I have not found a library file that will
          > > work. I read one of the BAK files and it mentioned that the file
          was
          > > automatically generated from a Microchip include file, but I have
          not
          > > found information on how to generate it. I have copied the
          > > P16F688.INC file into C:\Pic-tools\JAL\inc directory. What else
          needs
          > > to be done? Thank you for your help.
          > >
          > >
          > >
          > >
          > >
          > > Yahoo! Groups Links
          > >
          > >
          > >
          > >
          > >
        • Vasile Surducan
          You are on the right way. Cheat the compiler to believe you work with a 16F87x. Then will works. include 16F688 but the 16F688.jal will have pragma target chip
          Message 4 of 6 , Aug 2 1:26 AM
            You are on the right way. Cheat the compiler to believe you work with a
            16F87x. Then will works.

            include 16F688

            but the 16F688.jal will have
            pragma target chip 16F87x

            There is an executable for autocreation on Stef Mientky's site
            or on the file section if I do not wrong. I never use it.

            best from
            Vasile


            On Sun, 1 Aug 2004, Jon wrote:

            > Thank you for the tip. I have tried this without success, but this is
            > probably due to my inexperience. The project will compile fine, but
            > the porta I/O did not behave like it did when the target is a 12F675.
            > Where can I find more documentation about making a library, or better
            > still tailoring what someone has created so it matches my target chip
            > perfectly? For example if I type:
            >
            > pragma target chip 16f688
            >
            > JAL responds with error: target not recognized
            >
            > How would I auto-create 16f688_inc for this chip and then use the
            > jpic library? Would this work or am I really wishful in my thinking?
            > Thank you to anybody that can shed some light on this.
            >
            >
            > --- In jallist@yahoogroups.com, "Hans de Rijck" <hans@o...> wrote:
            > > Hi Jon
            > >
            > > You could try defining it as a '877 if you intend to use more than
            > 2k flash,
            > > or a '628 if you're using less. Most likely this will get you on
            > the road
            > > but check the datasheet for obvious differences. Of course you
            > can't use the
            > > pins that are not there ;-)
            > >
            > > B.t.w. it seems Microchip has developed the nasty habit of no longer
            > > publishing the pin diagrams in the datasheet. Anyone why this is?
            > >
            > > Regards,
            > >
            > > Hans.
            > >
            > >
            > > ----- Original Message -----
            > > From: "jon_merrill" <jon_merrill@y...>
            > > To: <jallist@yahoogroups.com>
            > > Sent: Sunday, August 01, 2004 2:33 AM
            > > Subject: [jallist] Is there a library for a PIC16F688
            > >
            > >
            > > > Hello. My name is Jon Merrill. I just got started with PICs and
            > JAL.
            > > > I have been successful blinking an LED with JAL and a 12F675
            > chip. I
            > > > would like to move to the 16F688 chip that has more memory and
            > more
            > > > pins.
            > > >
            > > > I would like to use JAL with the *new* 16f688 chip. It is a 14 pin
            > > > package and has 4k of memory. How can I get started programming
            > JAL
            > > > with this chip? So far I have not found a library file that will
            > > > work. I read one of the BAK files and it mentioned that the file
            > was
            > > > automatically generated from a Microchip include file, but I have
            > not
            > > > found information on how to generate it. I have copied the
            > > > P16F688.INC file into C:\Pic-tools\JAL\inc directory. What else
            > needs
            > > > to be done? Thank you for your help.
            > > >
            > > >
            > > >
            > > >
            > > >
            > > > Yahoo! Groups Links
            > > >
            > > >
            > > >
            > > >
            > > >
            >
            >
            >
            >
            >
            > Yahoo! Groups Links
            >
            >
            >
            >
            >
          • Hans de Rijck
            ... longer ... instance? ... Hi Eur, I was about to write 16F630 and 16F688 but I looked a little closer. The pin diagrams are still there, but no longer in
            Message 5 of 6 , Aug 2 2:58 AM
              --- In jallist@yahoogroups.com, Eur van Andel <eur@f...> wrote:
              > On Sun, 1 Aug 2004 20:49:41 +0200, "Hans de Rijck" <hans@o...>
              wrote:
              >
              > >B.t.w. it seems Microchip has developed the nasty habit of no
              longer
              > >publishing the pin diagrams in the datasheet. Anyone why this is?
              > This is hard to imagine for a chip company. Which datasheet, for
              instance?
              >

              Hi Eur,

              I was about to write '16F630 and 16F688' but I looked a little
              closer. The pin diagrams are still there, but no longer in the table
              of contents. You have to look page by page from the beginning of the
              datasheet.

              Regards,

              Hans.
            Your message has been successfully submitted and would be delivered to recipients shortly.