> they can't tell you JTAG commands for Flash memory programming for > the simple reason that they don't exist :) :) Really? If so, how can you load SRAM via JTAG if TAP in JTAG (as IEEE1149 standard says) recognizes _only_ 5 commands (used _only_ for testing)? In devices with JTAG used for other than testing purposes (like SRAM/Flash loading, debugging etc.) are special commands with codes different than 5 standard commands (like ISP_xxx in PLDs). There is no way to use JTAG in other way than standard 16 states without _special_ codes. > >> 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 ;-)). > > you are wrong, there is no SRAM load mode, but the "secret" is that > you can execute ALL ARM7 instructions through the JTAG interface by > putting them into the pipeline, Executing instruction is possible after loading. You say "through" - I agree, but my question is: how to say to JTAG "through"? > so you execute this way small code > which do writes to your SRAM the information you want to write to the > flash (learn ARM assembler first for the data store commands ;) then > small code which calls Flash write IAP and you are set Sure, all of this is possible _after_ loading. My question is: "how to load SRAM"? Thank you for "learn" suggestion ;-) Piotr
Message
Re: [lpc2000] Re: JTAG commands are secret?
2005-11-04 by piotr.zbysinski@ep.com.pl
Attachments
- No local attachments were found for this message.