SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By mushketer888
#175476
Hello all.
I have question.

As i know OpenOCD supports Altera Usb Blaster.
But the thing is that it doesnt have Reset pin as i see.
What to do with it? Reset manually?
By mushketer888
#175477
It seems i found something...
Code: Select all
usb_blaster (‘pin6’|‘pin8’) (‘0’|‘1’) [Command]
Sets the state of the unused GPIO pins on USB-Blasters (pins 6 and 8 on the
female JTAG header). These pins can be used as SRST and/or TRST provided
the appropriate connections are made on the target board.
For example, to use pin 6 as SRST (as with an AVR board):
$_TARGETNAME configure -event reset-assert \
"usb_blaster pin6 1; wait 1; usb_blaster pin6 0"
but where to put it

I try to put it just in config
My whole config is:
Code: Select all
source [find interface/altera-usb-blaster.cfg]
source [find target/at91sam3XXX.cfg]

$_TARGETNAME configure -event reset-assert \
"usb_blaster pin6 1; wait 1; usb_blaster pin6 0"

telnet_port  4444
gdb_port 3333
User avatar
By Ross Robotics
#175486
What is your question? Have you tried it? Does it work?