Thanks for the reply Found out how to execute a SVF file yesterday.
Don't know how to set the different commands correctly: ----------------------------------------------------------------------------------------------------------- !Begin Test Program TRST OFF; !Disable Test Reset line ENDIR IDLE; !End IR scans in IDLE ENDDR IDLE; !End DR scans in IDLE HIR 8 TDI (00); !8-bit IR header HDR 16 TDI (FFFF) TDO (FFFF) MASK (FFFF);!16-bit DR header TIR 16 TDI (0000); !16-bit IR trailer TDR 8 TDI (12); !16-bit DR trailer SIR 8 TDI (41); !8-bit IR scan SDR 32 TDI (ABCD1234) TDO (11112222); !32-bit DR scan STATE DRPAUSE; !Go to stable state DRPAUSE RUNTEST 100 TCK ENDSTATE IRPAUSE; !RUNBIST for 100 TCKs !End Test Program ----------------------------------------------------------------------------------------------------------- I guess for instance HIR should be 5 not 8 for STM32. Needs to do more reading. BR Flemming -----Original Message----- From: Xiaofan Chen [mailto:[email protected]] Sent: 16. maj 2012 01:19 To: Flemming Futtrup Cc: [email protected] Subject: Re: [OpenOCD-devel] boundary scan on STM32 On Wed, May 16, 2012 at 4:01 AM, Flemming Futtrup <[email protected]> wrote: > The other day I stumbled over a program called "TopJTAG Probe" which > has a > 20 day trial period. > > This is a simple graphical "boundary scan" tool that enables you to > toggle/read any pin of any BS enabled device as long as you have a > simple(supported) JTAG dongle and the device supporting BSDL file. > > Starting this tool and googling the BSDL file for pin description gave > me the desired functionality. I could set pin #1 high or low on my > STM32F100, and measure it with a multimeter. I was familiar with the > tool in less than > 5 minutes - PERFECT! > > Now I want to do the same with OpenOCD as I would like to introduce it > in our production as part of a test sequence. > > Does anyone know how to simply specify the SVF test vector of a given > BS device and the pass it to OpenOCD e.g only setting one pin high and > three-stating the rest? > > Is there some documents on this? Or some tool? Try UrJtag which may be more suitable than OpenOCD for boundary scan task. http://urjtag.org/book/index.html -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
