HELP,, old firmware still run after flashing new one

Hello guys

I have a strange problem regarding my Flight Controller using atmega 2560.

Recently i connected the board via bluetooth with andriod app and it kind of missed things and doesnt work any more.

So i am trying to reflash the firmware to solve the problem but i found the problem still exists,, after many attempts i found that after uploading the firmware the old one still exists and run, for example, i change the type of the drone from quad to hex, then upload and when connect with gui i found the old frame still exist, i even upload clear eeprom file and the board still run the old firmware..

How to solve this issue?