Menu

chipdata file mega328.dat

2015-09-23
2016-06-30
  • Paolo Iocco

    Paolo Iocco - 2015-09-23

    Hello,
    I think there's an error in the mega328.dat file. The specified flash memory size is not right:

    it is:

    [ChipData]
    Prog=8192

    it should be:

    [ChipData]
    Prog=32768

    the chipdata file mega328p.dat is correct

    ciao
    Paolo

     

    Last edit: Anobium 2015-09-23
  • Anobium

    Anobium - 2015-09-23

    Thanks for the information.

    This is good information for users of Great Cow Basic prior to September 2015. After this date we will have updated all the .dat files to remove errors and improve functionality. So, from Great Cow Basic version 0.95 the .dat files will be replaced.

     
    • Paolo Iocco

      Paolo Iocco - 2015-09-23

      you are welcome :-)

       
  • Anobium

    Anobium - 2015-09-24

    Fixed: This is resolved in Great Cow Basic v0.95 September 2015 or later.

    Please note. AVR memory values are specified in WORDS in the .dat file. The Great Cow Basic compiler uses words for consistency between PIC and AVR - this keeps some bits and pieces in the compiler simpler. Therefore, the section will be as follows:

    [ChipData]
    Prog=16384
    
     
  • Paolo Iocco

    Paolo Iocco - 2016-06-30

    Hello,
    in the version V0.95.007 there's the same error!

    I think you've included an old repository

    ciao
    Paolo

     
  • Anobium

    Anobium - 2016-06-30

    I will sort. More likely a data source issue and we hand crafted the previous version.

    Look for a revised file here soon.

     
  • Anobium

    Anobium - 2016-06-30

    The mega328 shipped with v0.95.007 is now correct.

    AVR memory values are specified in WORDS in the .dat file. The Great Cow Basic compiler uses words for consistency between PIC and AVR - this keeps some bits and pieces in the compiler simpler.

    [ChipData]
    Prog=16384
    
     

    Last edit: Anobium 2016-06-30

Log in to post a comment.