quoted
quoted
quoted
quoted
"Anders" == Anders Larsen [off-list ref] writes:
Hi,
>> Is there a known interaction with this and the JTAG controller?
Anders> indeed there is - disabling the processor clock blocks JTAG debugging.
Ok - And apparently it completely blocks the JTAG controller, so you
cannot even put it in bypass mode and access other devices on the same
JTAG chain.
>> I haven't had time to look closer into it yet, but with this applied
>> I can no longer access an Altera FPGA on a chain shared with a 9G45
>> through Quartus.
Anders> If you boot with the kernel parameter "nohlt", arch_idle() is
Anders> not called, and JTAG should work again (but of course power
Anders> consumption will be substantially higher).
Anders> This was noted by Uwe Kleine-K?nig in
Anders> https://lkml.org/lkml/2010/5/5/342
Thanks.
--
Bye, Peter Korsgaard
On Mon, Jan 10, 2011 at 04:43:07PM +0100, Peter Korsgaard wrote:
quoted
quoted
quoted
quoted
quoted
"Anders" == Anders Larsen [off-list ref] writes:
Hi,
>> Is there a known interaction with this and the JTAG controller?
Anders> indeed there is - disabling the processor clock blocks JTAG debugging.
Ok - And apparently it completely blocks the JTAG controller, so you
cannot even put it in bypass mode and access other devices on the same
JTAG chain.
This is a quite usual violation of ieee-1949.1-2001 (i.e. the jtag
standard (don't know if there is a newer version?)). I really wonder
why it's so hard to get this right. There is the availability of
"compiliance-enable patterns" that allow to say: "My device is only
jtaggable if this input is 1." Why not power the jtag block with such an
input? Software doesn't need (and actually must not) have the ability
to disable the jtag clock. Moreover this way the chip doesn't need any
current to keep jtag on and still a developer needing jtag doesn't need
to change any source code, but only needs a jumper on his devboard.
It could be so easy when all people knew what they do.
sigh
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |