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

PSoC™ 64: Provisioning and entrance exam procedures fail when VDDIO0 is 2.5 V - KBA234967

PSoC™ 64: Provisioning and entrance exam procedures fail when VDDIO0 is 2.5 V - KBA234967

IFX_Publisher1
Community Manager
Community Manager
Community Manager
250 sign-ins First comment on KBA 250 replies posted

PSoC™ 64: Provisioning and entrance exam procedures fail when VDDIO0 is 2.5 V - KBA234967

Community Translation: PSoC™ 64: VDDIO0が2.5Vの場合、プロビジョニングと入口検査手順が失敗する - KBA234967

Version: **

The provisioning process injects secured assets such as keys and security policies into the PSoC™ 64 device. It involves the programming the eFuse memory, which require VDDIO0 to be at 2.5 V. See “Secure Boot” SDK user guide for information.

When using “CySecureTools”, even when VDDIO0 is at 2.5 V, if VTARG is not 2.5 V, the provisioning and entrance exam procedures fail with the following error:

ERROR: Silicon voltage is out of range. Expected voltage level is in range 2.25 V - 2.75 V. Check the log for details

This occurs because "CySecureTools” internally uses pyOCD, which reads only the VTARG voltage and not VDDIO0.

Note:  You will observe this issue only when using “CySecureTools” for provisioning the PSoC™ 64 device.

Workaround:

First, try provisioning the device with both VTARG and VDDIO0 at 2.5 V and confirm that the provisioning is successful. If the provisioning succeeds, use one of the following workarounds:

Note: Provisioning requires the VDDIO0 voltage to be at 2.5 V ± 5%. Both these workarounds disable the target voltage check. So, when the voltage check is disabled, ensure that the VDDIO0 voltage is within range. Failing to do so may damage the device.

  • Disable target voltage check during the entrance exam in the “CySecureTools” source.
    For “CySecureTools” version 3.1.0, comment out the lines 62 to 70 in exam_mxs40v1.py located in <CySecureTools Install Directory>\execute\entrance_exam\.
    <CySecureTools Install Directory> indicates the installation directory of “CySecureTools”.
    For ModusToolbox™ 2.4, it is C:\Users\<user>\ModusToolbox\tools_2.4\python\Lib\site-packages\cysecuretools.
MohammedA_41_0-1647599916816.png

 Figure 1:  Comment out lines 62 to 70 in exam_mxs40v1.py

  • Connect the VTARG pin of the programmer to 2.5 V or VDDIO0 of the target.
0 Likes
196 Views