Hi,
I am a new User of Flowcode 7. In order to maintain the Firmware version, i want to view the Checksum produced by the Hex or bin file, so how that can be done in FlowCode 7?
want to get 2 or 4 byte Firmware Checksum
-
- Posts: 3
- Joined: Thu Feb 16, 2017 1:54 pm
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: want to get 2 or 4 byte Firmware Checksum
Hello,
Have you seen the Auto Version Identifier component available from the tools menu. This will provide you with an auto incrementing ID value every time you compile the project and can be easily accessed from inside the firmware. You also get the build time and date if this is useful.
If you just want a checksum of say the .hex firmware file then you can use something like this.
http://onlinemd5.com/
Have you seen the Auto Version Identifier component available from the tools menu. This will provide you with an auto incrementing ID value every time you compile the project and can be easily accessed from inside the firmware. You also get the build time and date if this is useful.
If you just want a checksum of say the .hex firmware file then you can use something like this.
http://onlinemd5.com/
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 3
- Joined: Thu Feb 16, 2017 1:54 pm
- Contact:
Re: want to get 2 or 4 byte Firmware Checksum
Thank you very much for reply Benj,partially your suggestion works, however if the checksum of the hex file would have been integrated in the generated hex file that would have been easier to maintain the version.Benj wrote:Hello,
Have you seen the Auto Version Identifier component available from the tools menu. This will provide you with an auto incrementing ID value every time you compile the project and can be easily accessed from inside the firmware. You also get the build time and date if this is useful.
If you just want a checksum of say the .hex firmware file then you can use something like this.
http://onlinemd5.com/
Can this request can be taken in the Flowcode, can i expect in the next release?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: want to get 2 or 4 byte Firmware Checksum
Hello,
We would basically have to compile the hex file, collect the checksum and then edit the hex file to add the calculated check sum which would essentially then break the checksum. I'm not sure how to do this in any other way then how the auto version ID is currently doing other than maybe having a routine to scan through all the flash memory and perform the check sum calculations on the micro. This would be possible on a fixed device but that is not the Flowcode philosophy and so would be complex if not impossible to do for all devices.
I'll have to think about this one, is the auto version ID component not doing it for you?if the checksum of the hex file would have been integrated in the generated hex file that would have been easier to maintain the version.
We would basically have to compile the hex file, collect the checksum and then edit the hex file to add the calculated check sum which would essentially then break the checksum. I'm not sure how to do this in any other way then how the auto version ID is currently doing other than maybe having a routine to scan through all the flash memory and perform the check sum calculations on the micro. This would be possible on a fixed device but that is not the Flowcode philosophy and so would be complex if not impossible to do for all devices.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel