> From: [email protected]
> To: [email protected]
> Date: Tue, 7 Feb 2012 21:31:52 +0100
> Subject: [OpenOCD-devel] Correct procedure for JTAG bits reading
>
> I started developing my own JTAG program for my particular needs( my MIPS CPU)
> It works OK for IDCODE and IMPCODE instructions. In other words my program
> works well
> for those instructions that does not need any input data ( no need to change
> bits in EJTAG
> registers).
>
> But it does not seem to work well for those instructions that needs input
> data.
> For example for EJTAG Control Register.
> As an example I want to halt the CPU ,so I must write
> EjtagBrk bit( 12 bit of EJTAG Control Register)
> into EJTAG Control Register.
> Then I should read DM bit( 3 bit of EJTAG Control Register).
> and if it is halted successfully, that bit must be set ( by CPU) to 1.
>
> So I
> send CONTROL instruction that selects EJTAG Control register
>
> But how shall I send the data into EJTAG Control Register?
> I have a procedure that READs data from JTAG data register but not sure how
> to WRITE data
> into the JTAG data register.
>
> And must I send CONTROL instruction both before writing data and before
> reading the results or
> jast before writing data? in my opinion, you should use CONTROL instruction
> before reading and writing .
>
> Thanks for help
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel