Menu

New AVR firmware ATtiny+ATmega

Dan
2013-07-22
2013-07-24
  • Dan

    Dan - 2013-07-22

    Dear Edorul.and All.

    I have updated the firmware of AVR.
    It will work on (v0.8.0).

    There is a need to change the piccodes.ini.

    ; AVR ATtiny family
    ; example: ATTINY 13A, Flash: 1024 bytes (512 words) = 400h
    ;-----------
    $11, 1, ATTINY 13A, $400, 64, 200, default,
    $12, 1, ATTINY 2313A, $800, 128, default, default,
    $13, 1, ATTINY 4313, $1000, 256, 200, 64,
    $14, 1, ATTINY 24A/25/261A, $800, 128, 200, default,
    $15, 1, ATTINY 44A/45/461A, $1000, 256, 200, 64,
    $16, 1, ATTINY 84A/85/861A, $2000, 512, 200, 64,

    ; AVR ATmega family
    ; example: ATMEGA w/16Kw flash & 1024B EEPROM: 32kB (16 kwords) = 8000h
    ;-----------
    $21, 2, ATMEGA w/2Kw flash & 256B EEPROM, $1000, 256, 200, 64,
    $22, 2, ATMEGA w/4Kw flash & 512B EEPROM, $2000, 512, 200, 64,
    $23, 2, ATMEGA w/4Kw flash & 512B EEPROM, $2000, 512, default, default,
    $24, 2, ATMEGA w/8Kw flash & 512B EEPROM, $4000, 512, default, default,
    $25, 2, ATMEGA w/16Kw flash & 1024B EEPROM, $8000, 1024, default, default,
    $26, 2, ATMEGA w/32Kw flash & 2048B EEPROM, $10000, 2048, default, 256,
    $27, 2, ATMEGA w/32Kw flash & 4096B EEPROM, $10000, 4096, default, 256,
    $28, 2, ATMEGA w/64Kw flash & 4096B EEPROM, $20000, 4096, default, 256,
    $29, 2, ATMEGA w/128Kw flash & 4096B EEPROM, $40000, 4096, default, 256,

    Best regards,
    Dan

     

    Last edit: Dan 2013-07-22
  • edorul

    edorul - 2013-07-23

    Hello Dan!

    Thanks for the updated firmwares and the modified "piccodes.ini" :-)
    I'll put them with the next release of TinyBootloader+ (but this won't be soon, may be one or two weeks).

    To modify the ATmega328P for another ATmega device, do we need to modify only the "IdTypeAVR" and "max_flash" #defines?

    See you soon,
    Edorul

     
  • Dan

    Dan - 2013-07-24

    Dear Edorul.

    I get the ATMEGA168A, it was confirmed normal operation.

    I will attach a source file.

    There is a bug in v0.8.0_r2.

    Please change the 0x100200 0x10200 at three locations. (//@1)

    Management is evaluating the current ATMEGA8.

    Best regards,
    Dan

     
  • Dan

    Dan - 2013-07-24

    Dear Edorul.

    I ended verification of ATMEGA8.

    Need to initialize the stack pointer ATMEGA8.

    I attach the source code.

    Best regards,
    Dan

     
  • edorul

    edorul - 2013-07-24

    Hello Dan!

    Good to hear that new ATmega firmwares operate normally :-)

    I've modified the address bug in PC software.

    See you soon,
    Edorul

     

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.