EmbeddedRelated.com
Forums

JTAG Emulation on HCS12

Started by "Profos, Georg" April 24, 2007
My hardware contains an HCS12X and a CPLD (Complex programmable logic
device with a JTAG port). Now there's a requirement that the firmware
update of the CPLD has to go through the HCS12X, which means that my
HCS12X has to act as a counterpart to the CPLD's JTAG port. To program
all this from the scratch would obviously be a rather tedious job, so my
question is : is there anybody out there who did such a thing, and would
be willing to provide details?

Georg
CPLD is not really meant to be continually reprogrammed if I guess that
is what you are trying to do. Just fit another socket on the board for
the JTAG, and do it just once or twice.
Andrew Lohmann AMIIE
Design Engineer

Bellingham + Stanley Ltd.
Longfield Road
Tunbridge Wells Kent,
TN2 3EY
United Kingdom

General Contact Details:
Phone: +44 (0) 1892 500400
Fax: +44 (0) 1892 543115

General E-Mail: s...@bellinghamandstanley.co.uk
Web: www.bellinghamandstanley.com

Personal Contact Details: Direct Dial: +44 (0) 1892 500426
Profos, Georg wrote:
>
> My hardware contains an HCS12X and a CPLD (Complex programmable logic
> device with a JTAG port). Now there's a requirement that the firmware
> update of the CPLD has to go through the HCS12X, which means that my
> HCS12X has to act as a counterpart to the CPLD's JTAG port. To program
> all this from the scratch would obviously be a rather tedious job, so my
> question is : is there anybody out there who did such a thing, and would
> be willing to provide details?
>
> Georg
>
>

-----------------------------Disclaimer-----------------------------

This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please contact us immediately and also delete the communication from your computer. We accept no liability for any loss or damage suffered by any person arising from use of this e-mail.

Bellingham + Stanley Ltd., Longfield Road, Tunbridge Wells, Kent, TN2 3EY. U.K. Registered No. 140250 England. Registered Office.

-----------------------------Disclaimer-----------------------------
No, that is not what I mean. I mean that during operation, the customer
will not reprogram the CPLD by using a JTAG, because he has (I hope) no
idea how to do that. Instead, he connects a laptop to our entire system,
and the software on that laptop will distribute the software updates to
various devices. In my case, the CPLD software will arrive on my HC12
processor, from where I must emulate the JTAG connection to the CPLD.
This update will take place in intervals of months or years, it is by no
means intended to be continuous.

Georg

________________________________

Von: 6... [mailto:6...] Im Auftrag
von Andrew Lohmann
Gesendet: Dienstag, 24. April 2007 16:33
An: 6...
Betreff: Re: [68HC12] JTAG Emulation on HCS12

CPLD is not really meant to be continually reprogrammed if I guess that
is what you are trying to do. Just fit another socket on the board for
the JTAG, and do it just once or twice.

Andrew Lohmann AMIIE
Design Engineer

Bellingham + Stanley Ltd.
Longfield Road
Tunbridge Wells Kent,
TN2 3EY
United Kingdom

General Contact Details:
Phone: +44 (0) 1892 500400
Fax: +44 (0) 1892 543115

General E-Mail: s...@bellinghamandstanley.co.uk

Web: www.bellinghamandstanley.com

Personal Contact Details: Direct Dial: +44 (0) 1892 500426

Profos, Georg wrote:
>
> My hardware contains an HCS12X and a CPLD (Complex programmable logic
> device with a JTAG port). Now there's a requirement that the firmware
> update of the CPLD has to go through the HCS12X, which means that my
> HCS12X has to act as a counterpart to the CPLD's JTAG port. To program
> all this from the scratch would obviously be a rather tedious job, so
my
> question is : is there anybody out there who did such a thing, and
would
> be willing to provide details?
>
> Georg

-----------------------------Disclaimer-----------------------------

This communication contains information which is confidential and may
also be privileged. It is for the exclusive use of the addressee. If you
are not the addressee please note that any distribution, reproduction,
copying, publication or use of this communication or the information is
prohibited. If you have received this communication in error, please
contact us immediately and also delete the communication from your
computer. We accept no liability for any loss or damage suffered by any
person arising from use of this e-mail.

Bellingham + Stanley Ltd., Longfield Road, Tunbridge Wells, Kent, TN2
3EY. U.K. Registered No. 140250 England. Registered Office.

-----------------------------Disclaimer-----------------------------
Hi George,
I suggest you still put the socket on for the JTAG, and also jumpers on
the PCB so that you can initially program the CPLD through the socket
then when you have developed your software enough in the microprocessor
fit the jumpers and disregard the JTAG socket. Curiously your email
reply was delayed till today.
Andrew
Design Engineer
Profos, Georg wrote:
>
> No, that is not what I mean. I mean that during operation, the customer
> will not reprogram the CPLD by using a JTAG, because he has (I hope) no
> idea how to do that. Instead, he connects a laptop to our entire system,
> and the software on that laptop will distribute the software updates to
> various devices. In my case, the CPLD software will arrive on my HC12
> processor, from where I must emulate the JTAG connection to the CPLD.
> This update will take place in intervals of months or years, it is by no
> means intended to be continuous.
>
> Georg
>
> ________________________________
>
> Von: 6...


































'

'


































-----Original Message-----
From: 6... [mailto:6...] On Behalf
Of Profos, Georg
Sent: Wednesday, 25 April 2007 12:44 AM
To: 6...
Subject: AW: [68HC12] JTAG Emulation on HCS12

No, that is not what I mean. I mean that during operation, the customer
will not reprogram the CPLD by using a JTAG, because he has (I hope) no
idea how to do that. Instead, he connects a laptop to our entire system,
and the software on that laptop will distribute the software updates to
various devices. In my case, the CPLD software will arrive on my HC12
processor, from where I must emulate the JTAG connection to the CPLD.
This update will take place in intervals of months or years, it is by no
means intended to be continuous.

Georg

Georg,

Check out: http://direct.xilinx.com/bvdocs/appnotes/xapp058.pdf

I think this is the kind of thing you want.

Jonathan Masters

________________________________

Von: 68HC12@yahoogroups.


































'

'