PSoC 61 (CY8C6136BZI-F14) How to protect the firmware?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

こんにちは、

One of my customer has been developing their product with CY8C6136BZI-F14 and CY8C6036BZI-F04.

And they asked us how they can protect their firmware and/or how set lock/unlock the device.

CY8C6136BZI-F14 と CY8C6036BZI-F04 で製品を開発されているお客様から

ファームウェアをプロテクトする方法についてお問合せをいただきました。

At first I tried the help of PSoC Creator (v4.3) and it suggested to use the check box in the DWR > System > Programming\Debugging

PSoC Creator v4.3 のヘルプからは DWR > System > Programming\Debugging にあるチェックボックスを使用するように記載されています。

001_help_Enable_Device_Protection.JPG

But in my PSoC Creator v4.3, I could not locate that field

しかし、私の PSoC Creator v4.3 では、該当する項目を見つけることが出来ませんでした。

002_My_PSoC_Creator_DWR.JPG

In the option dialog of PSoC Programmer

It seems that Chip Lock is available for PSoC 3/4/5

PSoC Programmer のオプションダイアログでは

チップロックは PSoC 3/4/5 用のように読めます。

003-PSoC-Programmer-options.JPG

In the option dialog of Cypress Programmer

I could not find option(s) for lock/protect/secure... may be because I did not attach the board though.

Cypress Programmer のオプションダイアログでは

ロック/プロテクト/セキュアといったオプションを見つけることができませんでした、

これは実際の基板を接続していなかったことが原因かも知れません。

004-Cypress-Programmer.JPG

Meantime, when I consult with the PSoC 61 Architecture Technical Reference Manual (TRM) 002-23587 Rev.*B Apri 9, 2020

In 12. Boot Code, it is written

> After reset, the boot code starts execution from ROM on the CM0+.

I thought that PSoC 61 does not have CM0+.

また、PSoC 61 の TRM を読んでいたところ

12 Boot Code では、下記のような記載がありました、

> After reset, the boot code starts execution from ROM on the CM0+.

あれ? PSoC 61 には CM0+ が搭載されていないと思ったのですが。

I felt a little bit lost, and decided to come here (CDC).

といった訳で、ちょっと途方にくれましたので、ここ(CDC)で伺わせていただきます。

[ Question ]

What is the recommended method(s) for CY8C6136BZI-F14 (and CY8C6036BZI-F04) to protect the firmware?

I think that the word "protection" means from being read and/or being modified.

And which document(s) should I suggest the customer to read?

For both PSoC Creator and ModusToolbox.

[ 質問 ]

CY8C6136BZI-F14 (及び CY8C6036BZI-F04) にてファームウェアをプロテクトするために推奨されている方法をご教示ください。

ここでいうプロテクトは、ファームウェアの読出し及び書き変えに対するものを意味していると考えます。

また、お客様にご参照いただけるドキュメントなどもご教示いただけたならと存じます。

PSoC Creator 及び ModusToolbox についてご教示ください。

Best Regards,

24-Sep-2020

Motoo Tanaka

0 Likes
1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Tanaka-san,

返信が遅くなり申し訳ありません。

PSoC6のファームウェアプロテクションについて、MPU / SMPUの設定が必要だと思います。

下記のスレッドをご参照してください。

Protection context in PSoC6

今、最新のPDLはPDL 3.1.1になります。PDLドキュメンテーション(protection unit driver)には、下記のリンクをお試しください。

file:///C:/Program%20Files%20(x86)/Cypress/PDL/3.1.1/doc/pdl_api_reference_manual/html/group__group__prot.html

以上、宜しくお願い致します。

Ryan Zhao

View solution in original post

0 Likes
2 Replies
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Tanaka-san,

返信が遅くなり申し訳ありません。

PSoC6のファームウェアプロテクションについて、MPU / SMPUの設定が必要だと思います。

下記のスレッドをご参照してください。

Protection context in PSoC6

今、最新のPDLはPDL 3.1.1になります。PDLドキュメンテーション(protection unit driver)には、下記のリンクをお試しください。

file:///C:/Program%20Files%20(x86)/Cypress/PDL/3.1.1/doc/pdl_api_reference_manual/html/group__group__prot.html

以上、宜しくお願い致します。

Ryan Zhao

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Ryan-san,

Ryan-様、

Thank you very much for your answer!.

I will inform the customer about the discussion and the PDL 3.1.1 document to the customer.

ご回答をありがとうございました。

ご教示いただいたスレッドと PDL 3.1.1 のドキュメントをお客様にご案内させていただきます。

Best Regards,

それでは宜しくお願いいたします。

以上

30-Sep-2020

Motoo Tanaka / 田中 基夫

0 Likes