Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 08:39:12 08:39


Login with username, password and session length


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

Posts: 173

Thank You
-Given: 64
-Receive: 21



« on: August 08, 2015, 03:13:33 15: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
*****
 Warned
Offline Offline

Posts: 555

Thank You
-Given: 156
-Receive: 355


« Reply #1 on: August 09, 2015, 01:29:28 01: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
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 208
-Receive: 230



« Reply #2 on: August 09, 2015, 04:57:18 16: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