Menu

Chip Data

Help
2008-02-26
2013-05-30
  • Nobody/Anonymous

    If I open the Chipdata folder I see listed 10xXXX, 12xXXX, 16xXXX,18xXXX, etc., but when I click on the chip button in GCBIDE I only see 16xXXX and 18xXXX data.  How do I get the others to show up.

     
    • Nobody/Anonymous

      In the GCBIDE folder, edit chip.lst with notepad
      add whatever chips you want (thats listed in the chipdata folder in GCBASIC) at the beginning of the list (i have these extra 3 listed in mine)
      IE.
      12f629
      12f575
      12f583
      rest of the original list

      Keep in mind, you'll have to manually define each pin as an input or an output (as GCBIDE won't do that for you), but it's fairly simple because it has all the pins listed in the file it created noted out.

       
    • Nobody/Anonymous

      Thanks for the quick reply.  Seems pretty straight forward.  I will give it a try

       
    • Nobody/Anonymous

      OK, I got the file I wanted transfered (12F629), but I am having trouble defining the pins.  I am trying to adapt the LED-blink program to run on this chip,using pins6 & 7 as outputs. I've tried every combinition of ports, pin, etc. that I can think of,but I still get an error,"GPO. not a valid pin or port" or something to that effect.  Can you give me some hints as to how to do this program on this chip.  I converted it for 16F84 and it compiled OK.  Please understand that my understanding of what I am doing does not raise me to the level of "Newbie" yet.
      Thanks in advance
      Mel

       
    • Nobody/Anonymous

      I searched the arcives and found some code pretaining to the 12F629 that let me define the pins correctly.  The program compiled, but it didn't make the LEDS blink.  More research required!!!  I did, however, hook up the 16F84 and it worked as expected.  I guess that I am making progress.
      Mel

       
    • Nobody/Anonymous

      I've also had problems getting my code to compile and run on a 12f629
      I've setup a template for all GPIO pins if you wish to use it

      #define pin2 GPIO.5
      #define pin3 GPIO.4
      #define pin4 GPIO.3
      #define pin5 GPIO.2
      #define pin6 GPIO.1
      #define pin7 GPIO.0

      that compiles fine for my program, though I can't test my program cause my damn programmer overwrote the OSC calibration on all my 629 chips, so I gotta wait for a new batch.

       
    • Nobody/Anonymous

      Thanks for the reply.  That list of #define's is what I finally came up with.  But while the program would compile and download, it would not run.  I tried to use the internal OSC and I think perhaps that I may have done it wrong.  I later tried a 20Mhz resonator (had to wait for order to come), still no-go.  I had the 12F629 because of another project that I had worked on (www.shumatech.com)(QCC-100) so I thought that I would play with it until I receiver a 16F84 and resonators.  I plan to reprogram the 12F629 to the QCC-100 code and see if it will work with that.  (when time allows)
      Thanks again,
      Mel

       

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.