Hi,

> openocd -f *test.cfg -c init -c "svf test.svf"

possibiliy you have a quotes issue the command should be like:
$ openocd -f "test.cfg" -c "init; svf /path/to/test.svf"
or
$ openocd -f "test.cfg" -c "init" -c "svf /path/to/test.svf"

optionally you can add at the end : -c shutdown

> can i know what content should be there in .cfg ?

probably the adapter and target (or board) configuration

> and how can we parse the svf file ?

in openocd the svf script execution/logic is handled in ./src/svf/svf.[c/h]




---

** [tickets:#282] SVF file parsing**

**Status:** new
**Milestone:** 0.9.0
**Labels:** openocd svf jtag 
**Created:** Wed Oct 21, 2020 04:54 AM UTC by jagadish
**Last Updated:** Wed Oct 21, 2020 04:54 AM UTC
**Owner:** nobody


HI
I am new to openocd , i need to parse a svf file using openocd commands.i have 
gone through some blogs they have mentione the open ocd commands to parse the 
.svf file as below.
openocd -f  *test.cfg -c init -c "svf  test.svf" -
can i know  what content should be there in .cfg ? 
and how can we parse the svf  file ?




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to