Is it possible to prevent user to trace through SWD/JTAG?

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

cross mob
WaLo_3890256
Level 2
Level 2
5 replies posted 10 questions asked 5 questions asked

Hello,

We are working on CY8CKIT-062-WIFI-BT running Amazon freeRTOS aws_demo application. The IDE is modustoolbox2.0.

Our system design two uart, one is for debug message through kitprog3/uart bridge and another is for AT-command r/w.

Is it possible to disable SWD/JTAG port to prevent user trace log? If we don't want to change life cycle to secure, since in secure state our board seems not work with AT-command uart port anymore.

How could we doing that in normal state?

Thanks for your help.

BR,

Wayne

0 Likes
1 Reply
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

The secure way is to disable the SWD/JTAG ports by entering SECURE mode. But in case you want the SWJ pins to be disabled in NORMAL mode, you can basically modify the TOC2 flags of the SFlash that configures the flash boot parameters.

Here's some more details regarding this:

pastedImage_0.png

pastedImage_1.png

For more information please refer to the Chapter Boot Code in the Architecture TRM.

Hope this helps

Regards,
Dheeraj