Arduino ATmega1284p bootloader

Could this problem related to the one mentioned from this post and the following ones?

I had a lot of problems, then I solved using a non-scientific method: an RC filter, suggested here on AvrFreaks' forum.