Menu

Which Atmel chips are supported?

Help
lsmod
2012-06-06
2013-05-30
  • lsmod

    lsmod - 2012-06-06

    I don't know how to start, because there are no examples for Atmel?
    (I believe missing examples are the main problem for most of the people)

    What chips are supported?
    (I want to use ATMega8 and ATMega32)

    Will this parts be supported and how can i do this?
    * Timer 0, 1, 2
    * AD-Converter
    * Serial interface (RS232)

     
  • gcha44

    gcha44 - 2012-06-06

    Hi ,
    Yes ATMega8 and ATMega32 are supported . You can see what chips ATMEL are supported in GCBASIC/Chipdata/
    You can use all keywords and functions are used in GCBasic like for PICs Microchip .
    i.e: you can open mega8.dat or m8.dat and you'll see all you can use .
    regards
    GC

     
  • Hugh Considine

    Hugh Considine - 2012-06-06

    Timers, ADC and RS232 (both software and UART code) should all work. Timers and ADC worked on a mega168 a year or so ago, and RS232 worked last night when I was using it with my Arduino. There aren't a lot of examples for AVR, but GCBASIC is meant to be the same for PIC and AVR. Most of the PIC examples will work perfectly on an AVR if you change the chip model and possibly the pins used.

     
  • Nobody/Anonymous

    Hi gcha44,

    i work in Linux and so downloaded the standard Zip-File offered in sourceforge.
    http://dfn.dl.sourceforge.net/project/gcbasic/gcbasic/Great%20Cow%20BASIC%20v.0.9.3.0/GCBASIC_zip_0930.zip

    Here i could not find any mega8 oder mega32 in GCBASIC/Chipdata/ ???

    Another problem is to open gcbasic-it.chm in Linux with kchmviewer.
    Here i only get black pages!
    I must select all the text to invert it.
    All the text is written in italy!

    Is Cowbasic not intended to be used in Linux? ;-)

     
  • Nobody/Anonymous

    Ooops - of course there is a gcbasic.chm also.
    But the problem with the black pages remains.
    Is it possible to generate a "normal" CHM?

     
  • lsmod

    lsmod - 2012-06-07

    I could also solve the CHM viewing problem.
    In the settings of kchmviewer i changed from "Qtext Browser based widget" to "KHTML part based widget".
    Now everything is formatted correct.

     
  • lsmod

    lsmod - 2012-06-07

    I forgot to install the updates - sorry.
    Now the definitions of the Atmel µC are available.

    Maybe it is better to create a new version for the installation? :-)

    I will try to test Cowbasic now with Atmel.
    When it works i will publish examples.
    But this will take some time …

     
  • lsmod

    lsmod - 2012-06-07

    O.K. so far - it works and i am enthusiastic.
    There where only some problems to get fbc running native in Linux.
    But it works also perfect running the windows version in wine.

    Here my Tutorial to start:
    https://sourceforge.net/projects/gcbasic/forums/forum/629990/topic/5333321

    The main question for me is now: Has Cowbasic support for long integer and floating point variables and calculations?
    If not - is there a good workaround?

     

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.