Just an idea.

I have recently purchased a "saleae logic analyzer" for debugging purposes, as 
I develop STM32 based boards from the very bottom. This was the very last piece 
in my "HW bringup toolbox".

Firering up a newly developed board for the first time is quite simple.
1. Measure the supplies on all pins.
2. check to configuration pins e.g. boot mode etc.
3. Connect your FT2232H based dongle and try to control the pins with a 
boundary scan tool like "TopJTAG". If communication is OK, your JTAG connection 
is also working.
4. If JTAG communication is not OK, you can make a special sniffer cabel and 
"decode" the JTAG state machine using saleae JTAG debugger plugin.
5. Finally we move on to programming and single stepping using OpenOCD of 
course:-)

Conclusion: If anyone has problems understanding why JTAG is not properly 
running with their new system or want to know why commercial debuggers work on 
certain microprocessors (Renesas H8SX), I recommend the Salea logic analyzer.

I am in no way connected to the Salea people:-) (hint: cheap versions exists) 
http://newsaleaesite.apphb.com/Content/Images/SupportedProtocols/JTAG.png

Hope this helps anyone.

Regards Flemming

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to