[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    Re: [OpenOCD-devel] [openocd:tickets] invalid command name "swd"
From:       Andreas Fritiofson <andreas.fritiofson () gmail ! com>
Date:       2018-08-23 7:55:09
Message-ID: CAKGHftckAVPGXrthiY1rQrNmiDFOd2MvdZVeQjVk6w=-dBwPPw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Aug 22, 2018 at 8:33 PM Ismail Kose <ihkose@gmail.com> wrote:

> I built openocd from 6060545458f6863710d576fc4bd2512d34f88f89 commit-id,
> but cant make SWD working. I get `invalid command name "swd"` error
> message when I run "sudo openocd -f  max3263x_hdk.cfg" command on my Ubuntu
> 16.04.
>
>
You'll need to "transport select swd" after selecting the interface to get
access to the swd commands.

Also NEVER start openocd as root!

/Andreas

[Attachment #5 (text/html)]

<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 22, 2018 \
at 8:33 PM Ismail Kose &lt;<a href="mailto:ihkose@gmail.com">ihkose@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 I built openocd from 6060545458f6863710d576fc4bd2512d34f88f89 commit-id, but cant \
make SWD working. I get `<span \
style="font-size:16px;background-color:rgb(255,255,255);display:inline!important">invalid \
command name &quot;swd&quot;` error message when I run  &quot;sudo openocd -f   \
max3263x_hdk.cfg&quot; command on my Ubuntu 16.04.</span></div> <div \
style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div></div></blockquote><div><br></div><div>You&#39;ll \
need to &quot;transport select swd&quot; after selecting the interface to get access \
to the swd commands.</div><div><br></div><div>Also NEVER start openocd as \
root!</div><div><br></div><div>/Andreas</div></div></div>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic