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

PSoC™ 6 SDK Forum Discussions

WaLo_3890256
Level 2
First like given Welcome!
Level 2

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 First comment on KBA First comment on blog 5 questions asked
Moderator

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