Yeah, I think we should share the code, except it's a commercial project. However, as you say, nigel, they can hack the chip, thus, they can copy all the source code (hex file) or they only know what it does inside the chip and they have to reprogram?
If measuring voltages inside, I think they have to reprogram as identically as what they see inside. But I was told that they can copy the code. So can they do that?
May we crack the protection of the chip, even open the chip, but we only crack the protection, not doing as you say that measure all the voltages.