Hi,
Probably it's an off topic (forum) question but I'd think that would be a really interesting question:
Is there a possible way to open/read a code from a Chip/ATmega that's been already uploaded?
Hi,
Probably it's an off topic (forum) question but I'd think that would be a really interesting question:
Is there a possible way to open/read a code from a Chip/ATmega that's been already uploaded?
You can download the machine code as a HEX file. Reading it is pretty much impossible for a human. You can use a "decompiler" program to turn it back into C code but that's a pretty advanced topic and it never recovers the actual code the original programmer saw.
and it never recovers the actual code the original programmer saw.
Like trying to make a cow out of a cooked hamburger.
Domino60:
Probably it's an off topic (forum) question but I'd think that would be a really interesting question:Is there a possible way to open/read a code from a Chip/ATmega that's been already uploaded?
If you'd like to read many lines of HEX numbers, you could read a HEX file from a controller.
This is not the source code (you cannot retrieve the source code from the controller), but you can use the HEX file to program another controller board with exactly the same program.
The only exception is, that if the "lock bits" of the controller are set after programming (will need an ISP programmer to do so), then you even cannot read the HEX file. You'd first have to use a special erase procedure, before the chip can be reprogrammed after setting the lock bits.
MorganS:
You can download the machine code as a HEX file. Reading it is pretty much impossible for a human. You can use a "decompiler" program to turn it back into C code but that's a pretty advanced topic and it never recovers the actual code the original programmer saw.
I know this is further off topic
if there was a chip like the arduino running a piece of equipment that has a limit for min and max adjustable temperature do you think that you could decompile to a point where knowing the min max numbers you could find them and change them then reload the code ?
PaulS:
Like trying to make a cow out of a cooked hamburger.
Yeah. You can only make the head with that.
...R
gpop1:
if there was a chip like the arduino running a piece of equipment that has a limit for min and max adjustable temperature do you think that you could decompile to a point where knowing the min max numbers you could find them and change them then reload the code ?
In theory you could. In practice almost any other solution would work out cheaper when you cost the time required.
...R
Robin2:
Yeah. You can only make the head with that....R
PaulS:
Like trying to make a cow out of a cooked hamburger.
Or in the case of UK supermarket burgers, the last runner in the 3:45 at Kempton.