New code not running despite flawless flash

You might be able to just reprogram the existing chip, say with a USBtinyISP, which is only $22. If you don't want to assemble it, you could buy an AVRISP mkII, but those are more like $60.