Hi,

I'm working on the OpenRISC port. After some discussions with Andreas, and
after reading some old discussion [1], I have some doubt about the
endianess strategy I should adopt.

As I understand it, the JTAG interface sends datas LSB first to the target.
That means if the target wait for a 32 bits word (let's say 0x11223344) it
has to be added to the scan field in little endian order. Then, while
shifted out, bits will be send from the LSB to the MSB (first bit target
sees -> 0010 0010 1100 1100 0100 0100 1000 1000 <- last bit).

Am I understand it correctly ? Is that the normal behavior ?

Should I fix the opencores debug unit ?

Franck.

[1] https://forum.sparkfun.com/viewtopic.php?t=4201
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to