Piotr, > 1. Sure, but JTAG is used (as standard) for testing only (with commands > BYPASS, IDCODE, EXTEST etc.). > 2. I asked about Flash memory programming - not using SRAM as a program > memory. > 3. If you want to load some code to SRAM memory you should use special > commands (codes) for switching TAP into "SRAM load mode" (name > of this mode > is my own, it is not possible to find them in official docs ;-)). It is al fairly well documented. You need the information from the IEEE in order to be able to use the TAP controller, I guess you do know a bit about this since you are mentioning the TAP commands. The ARM 7TDMI-S Technical Reference manual DDI0234 (see http://www.arm.com/pdfs/DDI0234A_7TDMIS_R4.pdf) contains a full section on the Embedded ICE macro cell, that is the block used to communicate with the ARM7 core - it not only describes the contents of the scan chains but also what to do with it (how to read/write registers, how to read/write memory, how to run/single step, how to place breakpoints) Furthermore the LPC user manuals (e.g. http://www.semiconductors.philips.com/acrobat/usermanuals/UM_LPC2106_2105_2104_1.pdf) contains a chapter on ISP and IAP, it even describes that IAP can be used for JTAG Flash programming. I already spent a few words on this in another post (http://groups.yahoo.com/group/lpc2000/message/9776). Philips chose for flash programming through their bootrom IAP code using all generic mechanisms that are there. This means that you are able to do this using any JTAG debugger that is able to do some scripting (load data, load registers and execute code). It is not secret, but since Philips uses IAP programming combined with the standard ARM7 Embedded ICE you need the documentation on that part also. Just select your ARM7 TDMI-S JTAG debugger probe of your choice and use their software interface (some of the probes come with a DLL to control the ARM code from your own software). Don't need to worry to much about JTAG stuff yourself in this way. Rob P.s: be aware that controlling the ARM core through the Embedded ICE yourself to load SRAM is not that simple.
Message
Re: [lpc2000] Re: JTAG commands are secret?
2005-11-04 by Rob Jansen
Attachments
- No local attachments were found for this message.