Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 12:36:39 12:36


Login with username, password and session length


Pages: [1]
Print
Author Topic: is this possible to use JTAG pin as digital IO  (Read 695 times)
0 Members and 1 Guest are viewing this topic.
localcrack
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 62
-Receive: 20



« on: August 08, 2015, 04:13:33 16:13 »

Is this possible to use jtag pin as digital i/o
how to wire TCK, TMS, TDO, TDI to external digital i/o so it doesn't conflict with normal jtag operation.
Logged
hate
Hero Member
*****
Offline Offline

Posts: 556

Thank You
-Given: 156
-Receive: 354


« Reply #1 on: August 09, 2015, 02:29:28 02:29 »

Are you planning to use both modes (jtag and io) simultaneously? If yes, usage depends on what you want to attach to those pins and you can't debug those pins during a debug session. Otherwise just disable jtag and they will act as digital io.
Logged

Regards...
h0nk
Active Member
***
Offline Offline

Posts: 120

Thank You
-Given: 88
-Receive: 83



« Reply #2 on: August 09, 2015, 05:57:18 17:57 »


Hello localcrack,

i would recommend a delay loop of approx 1 sec before Your program disable
the JTAG/SWD-functionality of the pins.
This second gives You the chance to regain access to the controller in case
something went wrong.
Some controller and JTAG-adapter support "Connect under Reset".
This should also sufficient to regain access to Your controller.


Best Regards
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC