Hi, I have a project with multi-target. Each target has its own electronic. Each target generate a hex file which can be copied on a USB key and can be download on its right product. To avoid errors i'd like to have a file : X241TG.HEX for first target and X241TG.HXX for secund target.
How could i change extension of hex file for a target. I have read tips in forum but i haven't found solution.
Thanks for your help
I agree, but maybe that's not what the OP meant by "secure"?
So, Gilles, what did you mean by "secure" in this context?
Why is changing the extension OK, when changing the name isn't?
I can't really see how it makes any difference to the users whether they change the name or the extension, but having loads of non-standard extensions to manage is certainly going to cause grief for the developers & maintainers...
Using the file name also gives you more scope for including descriptive elements such as version, etc...
Yes actually name is used to insert version, ... so when you download a file in our product you can entry name. So you can entry a bad name (name of other product). If i have an extension by product, error can only be made if you rename the file on your key, it's so a voluntary error.
To complete :
New software, check checksum, identification before accepting firmware update.
Some old products had not this future, no check, no id. So for these old products (some isolated case) i would change extension to avoid error (very exceptionnal use).
New products are secured.