One of the available commands is "-c", the verification.
If it is successful the return code is 0.
If it fails the return is code is 5.
The problem is that in case of failure there is always the same error code but actually there could be two different situations:
- It is not possible to perform the verification because for example the microcontroller does not respond or something like this.
- It is possible to perform the verification but the result is that the memory content does not match the expected hex file.
My proposition is that in case when verification is performed correctly but flash content doesn't match expectation the software should return a different error code than when verification could not be performed.
One of the available commands is "-c", the verification.
If it is successful the return code is 0.
If it fails the return is code is 5.
The problem is that in case of failure there is always the same error code but actually there could be two different situations:
My proposition is that in case when verification is performed correctly but flash content doesn't match expectation the software should return a different error code than when verification could not be performed.