Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#27 Add support for 16F887 and 18F4455

closed
Roy Rankin
None
5
2010-06-06
2010-02-01
Anonymous
No

How difficult would it be to add support for these two processors?

Altough I'm no expert C++ programmer I might try to add support with a little guidance.

Discussion

  • Roy Rankin
    Roy Rankin
    2010-02-12

    I have looked at the 16F887 and found it has yet another variant for ADC. So far I have seen 5 variants of ADCON0 and 4 of ADCON1. I am looking to see if I can put together a more unified approach to ADC.

    In the SVN, gpsim already has the 18F4455. However, this processor supports USB which is not included in the gpsim support. If you understand, or can learn, the USB protocol I invite you to try to add USB support for this processor.

     
  • I would also like the 16f887. How difficult is it to add a processor? Can it be added through modification of an existing processors module? I am willing.

     
  • Roy Rankin
    Roy Rankin
    2010-03-28

    In many cases, you can find a similar processor, copy it and modify it or use it as a base class. I encourage anyone who feels they have the skills to give it a try. However, the 16f887 has several features such as extended PWM and a slightly different ADC not currently supported in gpsim. I have been working on the 16f88x processors family, and in a few days time I will commit what I have done, although not complete and some features may not work. It will be several weeks before I can do any further work on it.

     
  • Roy Rankin
    Roy Rankin
    2010-04-21

    I have added the 16f88x family to the gpsim svn. I still need to do an audit of functionality and enhanced PWM auto-shutdown mode is not yet supported. Please report any other issues as bug reports.

     


Anonymous


Cancel   Add attachments