The idea that $5000 will pay for replacing a core component or system is just plain preposterous. A flash memory chip is a flash memory chip, whether it’s part of a USB stick or soldered to a custom board. You don’t need to replace the custom board, you need to solder on a new memory chip that contains the instructions you want it to.