Hello,
I´m currently testing utasker as a SD card loader and found out it is possible to generate the update binary with uTasker convert and only pass the magic number as an option. The crc16 is generated anyways, but which secret key is used to generate it ? I tried 0x00 and 0xFF but was not able to get the same crc16 in the loader application. Does anybody know which default secret key is applied by uTaskerConvert ?
Hi Joerg
uTaskerConvert generally is used with a magic number and a secret key (for basic header coding) [optionally also encryption settings as detailed at http://www.utasker.com/forum/index.php?topic=1445.0 ].
However, if only a magic number is specified (and no secret key) it performs a CRC over the raw code only. If you therefore don't add a secret key the check of the CRC should be done over the length of the file only and don't add any additional stream data (neither 0x00 nor 0xff, etc.)
Regards
Mark
Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market