there will be many reasons.

i think the problem is about your config settings.

compare the orginal .hex file configurations with your new .hex file.