How to protecting *.prm file using processor expert?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to protecting *.prm file using processor expert?

ソリューションへジャンプ
560件の閲覧回数
nakchoonlee
Contributor I

Hi. I'm working using MC9S08DZ32 with processor expert(PE).

I make checksum for code crc in prm file as follow.

CHECKSUM

    CHECKSUM_ENTRY

        METHOD_CRC_CCITT

        OF      READ_ONLY   0x7C00 TO   0xFFFD

        INTO    READ_ONLY   0xFFFE SIZE 2

        UNDEFINED 0xFF

    END

END

But auto generated prm file removes above code.

How to protecting my checksum code?

One solution is freeze generate code but If I miss that when modify PE, code releases without code crc.

Please let me know awesome solution.

Thanks.

0 件の賞賛
1 解決策
360件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello,

You can use the Generate PRM file property in the CPU - Build Option tab. Open the Component Inspector of the CPU in your project, select the Build Options tab, set the value of the Generate PRM file to no. The PRM file will not be re-generated, i.e. you can modify it.

pastedImage_5.png

Best Regards,

Marek Neuzil

元の投稿で解決策を見る

1 返信
361件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello,

You can use the Generate PRM file property in the CPU - Build Option tab. Open the Component Inspector of the CPU in your project, select the Build Options tab, set the value of the Generate PRM file to no. The PRM file will not be re-generated, i.e. you can modify it.

pastedImage_5.png

Best Regards,

Marek Neuzil