Re: JTAG question



Sagaert Johan wrote:
Hi

Thanks for the info

I assume that through the JTAG some external flash can also be programmed
that has been wired to an ARM device.


The JTAG is actually a back door into the processor
core. From its standpoint the Flash chip is an
external device.

A complete JTAG cell is able to drive the external
lines of the processor chip, but the ARM implementation
saves a latch and multiplexer in the cell, and this
makes it very difficult, if not impossible, to run the
external pins from the JTAG directly.

The rescue is to use the JTAG to load Flash writer
code to the system RAM, along with the data to
write to the Flash, and start the writer using the
JTAG interface. Often the RAM is not large enough,
so the Flash image has to be loaded in pieces.

The Flash loader code is very dependent on the
memory address space layout in the system and
on the Flash chip type, so it usually has to be
tailored for the target system.

Been there - done that.

--

Tauno Voipio
tauno voipio (at) iki fi
.



Relevant Pages

  • Re: Record length in Windows CE 5.0 Run time image
    ... the JTAG programming. ... I want to parse NK.bin and flash the image. ... header and does padding if necessary based on the record address, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Homebrew Coldfire Development
    ... SRAM and no on-chip flash. ... Maybe the confusion came in because I mentioned that I currenly have a Netburner board that uses a 5270, which does not have internal flash. ... So, if I am correct, I could use the JTAG interface to write a minimal loader to internal flash OR to SRAM? ...
    (comp.arch.embedded)
  • MCU dead due to bad code?
    ... via JTAG. ... Furthermore no activity on the MCU bus. ... via JTAG initialization- and flash program loaded into internal RAM ... hardware reset -> MCU dead ...
    (comp.arch.embedded)
  • MCU dead due to bad code?
    ... via JTAG. ... Furthermore no activity on the MCU bus. ... via JTAG initialization- and flash program loaded into internal RAM ... hardware reset -> MCU dead ...
    (comp.sys.arm)
  • Re: In-circuit flashing via JTAG
    ... We need also to program the flash memory of a TI DSP TMS320C4616 via ... JTAG, but cannot find any information how to do that. ... JTAG pins. ...
    (comp.dsp)