Menu

Can not sew atmega1284p

seotavr
2012-11-22
2012-11-23
  • seotavr

    seotavr - 2012-11-22

    Good day!
    Thanks for the great prgrammator. He's much sews PIC & AVR, but ran into a problem.
    Can not sew atmega1284p, wrote "Code size exceeds limits".
    What is the problem. help please.
    Thanks in advance. With respect VUK.
    PS: Sorry for the curve English - http://translate.google.ru/)))

     
  • Alberto Maccioni

    You're right; there is a code limit of 0x10000 and the device size is 0x20000. I never tried the device so I couldn't find this bug.
    Anyways, you can fix function WriteATmega in progAVR.c:
    in place of
    if(dim>0x10000||dim<0){ ....
    write
    if(dim>0x20000||dim<0){ ....

     
  • seotavr

    seotavr - 2012-11-23

    Thank you!
    all turned out)))

     

Anonymous
Anonymous

Add attachments
Cancel