cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 6 SDK

WaLo_3890256
New Contributor II

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

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