15-11-2013, 03:01 PM
(15-11-2013, 01:53 PM)pwdrive Wrote: Nick...the point I was making was that if it is a clone design then maybe the software has been cloned as well as the hardware.
I suspect its not a clone for a couple of reasons - mainly that the manufacturer, Huanyang, is well known and long established, but also because the binary code in the microprocessor is generally "Locked" so cannot be read once its been programmed in - this is generally the case for all commercial products with embedded processors - all modern (last 15 years or so) microprocessors have "read code disable" bits in their configurations which, once set, disable read-back from the chip of the binary program code inside, If the flag is reset to re-enable reading, a side-effect is that the program memory of the microprocessor is zeroed. i.e. from an external viewpoint, programming a uP with this bit set makes the uP "write only" where the program memory can only be read as instructions by the processor itself as its running.
This protects the intellectual property (IP) of the designer...
NOTE: Given sufficient resources (and funds) any chip "read-back" protection can be overcome - this will give you the machine code that you then need to disassemble (using a tool like IDA) back to assembler, turn the assembler into pseudo-code and then re-write in C (or whatever high(er)-level language you're using). i.e. its a lot of effort and rarely worth it - in this case, I suspect it'd be easier (and safer) just to do your own thing from scratch...
sıʌǝɹq ɐʇıʌ `ɐƃuol sɹɐ
ʞɔıu
ʞɔıu







