Go Down

Topic: atmega1284 uploading problem (Read 1 time) previous topic - next topic

miros

i§m using atmega1284 with ''mighty atmega1284 using optiboot'' burnloader. I have problem with uploading code. sometimes i upload code sometimes not but mostly not. Can the problem be that i'm using atmega1284 instead of atmega1284p? thanks for everyones help.


succesfull upload with max232(just the end):
Code: [Select]

avrdude: Recv: . [10]
######## | 100% 0.18s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0016
        0xa5 != 0xf5
avrdude: verification error; content mismatch
avrdude: Send: Q [51]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done.  Thank you.


unsuccesfull upload with max232(just the end):
Code: [Select]

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x62
avrdude: Send: V [56] @ [40] . [00] . [00] . [0c]   [20]
avrdude: Recv:
avrdude: stk500_cmd(): programmer is out of sync


unsuccesfull upload with uno rev3(just the end):
Code: [Select]

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: Send: V [56] @ [40] . [00] . [00] . [0c]   [20]
avrdude: Recv:
avrdude: stk500_cmd(): programmer is out of sync

retrolefty

Many people were having problems with reliable serial communications on their 1284P chips. Several hardware 'fixes' were tried with varying results. But what finally seems to really solve the problem was changing the low fuse byte value to use 'full swing' crystal option, this seemed to fix the problem for everyone that was having the problem.

So check what value of your low fuse byte is and if it presently has a value of 0xFF change it to 0xF7

Lefty


miros

Thanks lefty, unfortunatlly it didn't help much. first upload with max232 worked but others didnt work.
even when i uploaded it i got this:
Code: [Select]
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x003b
         0x00 != 0x80
avrdude: verification error; content mismatch
avrdude: Send: Q [51]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done.  Thank you.

oric_dan

I don't know what you're using with a MAX232, but that's an older system.
I've only used FTDI USB serial interfaces.

1. if you're having sync errors, that's probably not related to 1284 vs 1284P,
    but to possible non-recognition of the COMPORT by the IDE related to
    driver installation, or lack thereof. So, the first question is the MAX232
    port showing up in the IDE "Tools > Serial Port" menu?

2. secondly, there is an issue with trying to burn bootloaders and sketches to
    1284 chips using the 1284 "P" bootloaders, which is related to the different
    signatures of the two chips. See the first couple of posts here,

http://arduino.cc/forum/index.php/topic,144625.0.html

miros

bootloader isn't problem. it was ok without problems. i changed signature and it works. max232 is fine. i can upload codes to uno with it without problems everytime.

Go Up