This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use srfprog with -c efk(%file%, %address%)

Hi all,

srfprog -c efk(%file%, %address%) description is showing below

"Change(patch) flash image with Encryption Key data. A file with the encryption jey certification and the flash address must be given"

How to I get the encryption key dat and how do I decide flash address? Do you have more information about this function. Thanks

 

  • Hi kimi_hu,

    You are right, this is very poorly documented. It is feature used by some of the Smart Energy applications that is based on the ZigBee network. For these application there is a unique Encryption certificate for each device put in the network. The certificate contains encryption key data that will be written to flash together with the program code. The data are given in plain text and organised in pairs of key and value. The key is a fixed text string that only gives meaning for these specific applications. The address gives the start position in flash where the data should be programmed.


    The feature is very specific and should probably be left out of the documentation until it is implemented in a more general way. As it is now it is only useful for those that produce devices for this particular application.

    Regards,
    Øyvind

  • Hi Øyvind,

    thanks you for your help