Menu

Errors in 12f635.dat

bell
2007-05-09
2013-05-30
  • bell

    bell - 2007-05-09

    I couldn't understand why my code didn't run 12F635 chips but I think I've found the problem (still haven't tried it).

    The datasheet says that the 12F635 (unlike the 12F629,675 and 683) has it's ram at 0x40-0x7F while 12F635.dat has it as 0x20-0x5F. I've changed my 12F635.dat and I'm going to try it out as soon as I get time. Also it may be a good idea to remove the TRISA and PORTA references in 12F635 since at least the PORTA line results in clearing both GPIO and PORTA in the INITSYS subroutine (and GPIO and PORTA is the same in a 12F635). As a comparison the 12F683.dat only has GPIO and TRISIO.

     
    • bell

      bell - 2007-05-09

      FYI: I've just tried my code the my modified 12F635.DAT and now it works perfectly.

       
    • Hugh Considine

      Hugh Considine - 2007-05-12

      Thanks for letting me know, I'll fix the 12F635 file and check the others.

       

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.