caramoan tour package

caramoan tour package

Author Topic: JTAG Programmer  (Read 5158 times)

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
JTAG Programmer
« on: March 26, 2008, 11:26:22 PM »
question:
STANDARD ba yung mga JTAG (parallel port) Programmer ?  ???
standard as in maraming types ng microcontrollers/dsps (from different manufacturers)
ang pwedeng pag-gamitan nito ?  ???

i'm planning to build one, just like this:
http://www.tuleriit.ee/progs/rjtag.php


ito ba yung standard schematic nya:  ???
http://toolbox.xilinx.com/docsan/3_1i/data/common/jtg/dppb/appb.htm

???  ???  ???
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

JTAG Programmer
« on: March 26, 2008, 11:26:22 PM »

Offline Mentor Lee

  • Size C Battery
  • *****
  • Posts: 193
  • Pogi/Ganda Points: 16
  • Gender: Male
  • "Call to Me and I will answer you.....
Re: JTAG Programmer
« Reply #1 on: March 26, 2008, 11:38:36 PM »
JTAG is for AVR. If you know how to code for AVR and where to get it, go for it.  Here in Vietnam, it's very easy to get all types of MCUs even up to SMD form factor.  :P :P
...and show you great and inscrutable things that you do not know "
--Hotline 333--

Philippine Electronics Forum

Re: JTAG Programmer
« Reply #1 on: March 26, 2008, 11:38:36 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #2 on: March 26, 2008, 11:41:23 PM »
JTAG is for AVR.
for AVR ONLY???  :o
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: JTAG Programmer
« Reply #2 on: March 26, 2008, 11:41:23 PM »

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #3 on: March 26, 2008, 11:44:56 PM »
hindi standard ang pin connections ng JTAG...

JTAG for AVR - 10 pins
JTAG for MSP430 - 14 pins
JTAG for FPGA (yang nakuha mo) - 18 pins
JTAG for ARM - 20 pins

although halos lahat sila may common pins as defined sa JTAG standards...yung ibang family meron lang ibang pinaggamitan ng ibang pins kaya kanya kanya...

kung yung software na gagamitin para dun sa JTAG programmer napapalitan ng Device family, pwede sana na isang JTAG programmer lang...yun nga lang, iba iba rin ang gamit...

for ARM, Wiggler compatible JTAG ang pinaka-common...

JTAG is also similar to SPI...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: JTAG Programmer
« Reply #3 on: March 26, 2008, 11:44:56 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #4 on: March 26, 2008, 11:50:34 PM »
although halos lahat sila may common pins as defined sa JTAG standards...
meaning, possible ko pa rin magamit yung naka-post na schematic ?  ???..
yung ipo-program ko kasi is yung Freescale DSP..
i think seven pins lang ang kelangan dun (including supply and ground)..
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: JTAG Programmer
« Reply #4 on: March 26, 2008, 11:50:34 PM »

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #5 on: March 27, 2008, 12:01:03 AM »
meaning, possible ko pa rin magamit yung naka-post na schematic ?  ???..
yung ipo-program ko kasi is yung Freescale DSP..
i think seven pins lang ang kelangan dun (including supply and ground)..

depende dun sa software na magco-communicate sa JTAG...sa target board JTAG, medyo common yung pin, pero galing sa Parallel Port hindi pare-parehas ang pinuntahan...

hindi ko alam kung may software na kayang magprogram lahat...

eto yung most common na nakikita kong JTAG...74HC244 ginagamit nila...

http://hri.sourceforge.net/tools/
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline Mentor Lee

  • Size C Battery
  • *****
  • Posts: 193
  • Pogi/Ganda Points: 16
  • Gender: Male
  • "Call to Me and I will answer you.....
Re: JTAG Programmer
« Reply #6 on: March 27, 2008, 12:48:25 AM »
for AVR ONLY???  :o

Sorry, JTAG is  NOT only for AVR ( I am thinking of another protocol from ATMEL) :( :(
But you cannot use it in PIC14 & 16 ( dunno on dsPIC and others - I don't use them).
...and show you great and inscrutable things that you do not know "
--Hotline 333--

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #7 on: March 27, 2008, 11:27:20 AM »
help po mga JTAG experts:
ito yung block diagram ng DSP na target ko:


apat yung para sa JTAG plus 3 pins pa (VDD, VSS,& #RESET)..
saan ko kaya ikakabit ang mga 'yun ?  ???
pwede ko bang gamitin yung nakapost na schematic ?  ???

kanina ko lang nalaman 'to:
Joint Test Action Group (JTAG) hehe  ;D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #8 on: March 27, 2008, 11:35:26 AM »
yung 4 ng JTAG dun sa JTAG port (eto yung standard na set ng JTAG)

yung 3, dun lang sa supply and reset pin...

yung programmer, depende kasi sa software na gagamit nung JTAG programmer/debugger...wala akong makita para sa Freescale...

sa datasheet merong guidelines kung paano mo ilalabas yung JTAG port kung sakaling gamit mo rin sila as GPIO...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #9 on: March 27, 2008, 11:43:47 AM »
yung 3, dun lang sa supply and reset pin...
ah.. yung RESET pin naka-pull to ground lang.  ???
tapos yung 4 na standard, directly na dun sa corresponding pins ng programmer..

Quote
yung programmer, depende kasi sa software na gagamit nung JTAG programmer/debugger...wala akong makita para sa Freescale...
yung gamit nila is yung codewarrior.. pang-compile saka pang-load ng program sa DSP..
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #10 on: March 27, 2008, 11:47:02 AM »
yup, open yung RESET madalas dahil normally may pull-up resistor sa RESET pin...

sa CodeWarrior JTAG loading din ba?

yung mga gumagawa kasi ng DIY JTAG interfaces kinokopya nila yung original or at least yung functionality ng original...Olimex ata sniffs the lines habang ginagamit yung original programmer then gagawa sila ng simple interface...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #11 on: March 27, 2008, 11:16:41 PM »
question:
dun sa parallel port, ano yung threshold level ng VCC SENSE???
ang concern ko kasi is yung VCC sa JTAG connector, 3.3V lang ang supply nya,
so meaning yung voltage na makikita sa VCC_SENSE is 3.3V minus two diode drop
based dun sa schematic na naka-post, tama ba?  ???
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #12 on: March 27, 2008, 11:32:36 PM »
ano orig target ng JTAG sa schematic?

2.0V ata ang high dun...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #13 on: March 29, 2008, 11:01:51 AM »
di ba yung parallel port 5V ang logic level nya (5V din ang output sa particular pins)..
di kaya masira yung 74HC125 ic kung ang VCC ko is 3.3V lang (ito kasi ang supply ng dsp).. ?  ???
bale ang supply nun hc125 is 3.3V minus one diode drop, tapos may input akong 5V sa kanya..  ::)
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #14 on: March 29, 2008, 11:59:23 AM »
kaya ata ng HC series yan...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline RiDdLeR???

  • Hydroelectric
  • ***
  • Posts: 3032
  • Pogi/Ganda Points: 208
Re: JTAG Programmer
« Reply #15 on: March 29, 2008, 08:22:54 PM »
Eto yung schematic ng basic wiggler jtag that is used for the arm processor so you could have some comparison.


Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #16 on: March 29, 2008, 08:51:05 PM »
@ alyas
thanks..  ;)

first observation ko is yung 74hc244, almost same din sya ng function ng 74hc125..
pero dun sa wiggler jtag mo, laging naka-enable yung 74hc244,
unlike dun sa previous, nako-control (nagagamit yung tri-state condition) yung 74hc125..
ok lang kaya yun ?  ???
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #17 on: March 30, 2008, 09:23:06 PM »
malamang magkaiba ng software na gamit kaya may enable ng tri-state yung isa...

may discussion to sa ibang forum kung bakit 244 gamit ng iba instead na 125...ang naaalala kong reason is local supply (UK based yung forum)...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: JTAG Programmer
« Reply #18 on: March 30, 2008, 10:04:21 PM »
may discussion to sa ibang forum kung bakit 244 gamit ng iba instead na 125...ang naaalala kong reason is local supply (UK based yung forum)...
para siguro isang IC na lang..  ::)
yung hc244 is octal while yung hc125 is quad lang..
five buffers ang kelangan kaya kulang ang isang hc125..
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10729
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: JTAG Programmer
« Reply #19 on: March 30, 2008, 10:14:40 PM »
tama...

pero sa ibang lugar mahirap daw maghanap ng 244 compare sa 125 kaya 125 gamit nila...(sa Alexan minsan wala ring 244)...

most common design talaga yung 244...kahit dun sa mga for AVR and MSP430, 244 gamit...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: JTAG Programmer
« Reply #19 on: March 30, 2008, 10:14:40 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com