the whole TCL conversion myself, it might take a
while, so it would be great to know whether such a change would be
accepted before starting work, and also whether there are any other
people interested in doing any of this work.
--
Christopher Head
signature.asc
Description: PGP signa
nitially wanted this for a custom port, the same sort of complexity
even shows up in one of the official ports.
--
Christopher Head
signature.asc
Description: PGP signature
--
__
sages are therefore from the first CPU’s
examine-end handler.
Attached, anonymized, find my config file. I’m using OpenOCD 0.10.0.
Any thoughts?
Thanks!
--
Christopher Head
openocd.cfg
Description: Binary data
pgp4LFZdNGjJA.pgp
Description: OpenPGP digital signature
st-incremented by the load instruction.
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdo
attacks would work if you had to, say, type a password
before OpenOCD would accept your Telnet (or GDB, or TCL, or …) session.
--
Christopher Head
--
Christopher Head
signature.asc
Description: PGP signature
--
Check
re too many interfaces to
handle them all that way (especially with multiple taps).
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
en
ntrusted
>input.
That sounds awfully difficult to get right. After all, if I want to steal your
top secret document, all I need available to me is PROGRAM (to put a copy of
said document into the microcontroller) followed by MDW (to read it back).
--
Christopher Head
signatur
river, up to at worst set your desk
on fire. I’m not totally convinced that allowing an attacker to do *anything*
with OpenOCD is safe.
--
Christopher Head
--
Christopher Head
signature.asc
Description: PGP signature
config knows what VDD is being supplied.
3. Move the CR and SR stuff outside the write loop in direct mode, changing the
entire data write operation into a single target_write_memory call directly to
the Flash address.
Thoughts? Objections?
--
Christopher Head
signature.asc
Description: PGP
On Mon, 26 Feb 2018 16:23:08 -0800
Christopher Head wrote:
> 2. Allow the user to set the parallelism level with a new stm32f2x
> subcommand, since only the board config knows what VDD is being
> supplied.
Having thought it over a little more, perhaps we could use the bus
width paramet
chip width to 1 for
F2/F4/F7 and 16 for H7, and the Flash code could recognize that difference and
act accordingly; meanwhile bus width could be 1, 2, 4, or 8 to set the
parallelism.
--
Christopher Head
signature.asc
Description:
ut half a meg
of data.
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdo
cleared, and you have to clear the sticky status bit.
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdo
t; programming adapter is used) anyway.
Fair enough. I never wanted to change the default anyway. I just wanted to
provide the user with the ability to change it should they wish. Does this seem
reasonable to you?
--
Christopher Head
signature.asc
Description: PGP signature
---
can
look up the exact commit ID tomorrow if you want.
--
Christopher Head
pgpk4rsNNRS1R.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's mo
te, I saw that the F4 config file sets the upper four bits of
RCC_PLLCFGR to zero, but the reference manual says they should be kept at their
reset value and that the reset value of the register is 0x24003010. Maybe it
doesn’t matter, but what if ST put something important but not user-pokable
people for whom it works, they should be able to
keep using it.
I could also submit a patch to allow different parallelism levels, but
I think that is a completely independent issue.
--
Christopher Head
pgpfZTlKXPzwM.pgp
Description: OpenPGP digital signature
AP WAIT, but no more, with my
FTDI at 2M, and programming works fine and verifies properly (at least, it does
once I work around the fact that my nasty multi target hacks have gone from
necessary to counterproductive).
--
Christopher Head
si
.
Without algorithm: 1 DAP WAIT, 55.177 kiB/s.
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
B/s.
So, what now? Is that setting something that belongs in the F7 target file?
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's m
use 'adapter_khz 8000' for the last test?
>I'm afraid that 8 MHz is too much (WAITs during reset-init).
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community
he development cycle of ports to new RTOSs as
well as just new ports.
I don’t suspect that any of this work is so performance-critical that using TCL
would slow it down top much.
--
Christopher Head
signature.asc
Description: PGP signature
---
es this seem unreasonable?
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites,
archives, the discussion kind of
ended without any real resolution, and it seems no workaround has been
implemented. Does anyone know the situation here? Is someone working on a
workaround? Was there a decision to intentionally not implement one?
Thanks!
--
Christopher Head
signature.asc
Description
coherence around debug accesses to
memory? If the policy is that they should be coherent, then I could probably
provide a patch making this happen for Cortex M at some point.
--
Christopher Head
signature.asc
Description: PGP signature
Not an issue at all for me, and probably many others, since my code is in Flash.
--
Christopher Head
signature.asc
Description: PGP signature
--
Check out the vibrant tech community on one of the world's m
life better.
--
Christopher Head
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel
ood at reading
that from the target. CPU registers. OpenOCD is good at reading those, too.
Threads. If a supported RTOS is in use, OpenOCD is good there too. I see no
reason why this doesn’t make sense. No need to talk about semihosting.
--
Christopher Head
signature.asc
Description: PGP sig
e? Sounds like a nice thing to
enhance.
>I'm not sure if threads are part of the core file data. If they're not,
>GDB
>would not be able to interpret them from the core file without help
>from
>OpenOCD.
They are.
--
Christopher
ers (and things that connect to them) expect that the system has been fully
initialized and is ready to talk to.
--
Christopher Head
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open
case for quite a while now; normally, before,
they always had the same head commit.
Sorry for the noise if this is expected!
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
nyone else that would like to have a more active versioning scheme
> for the project?
Make that three. I think a couple of times a year would be nice, if not
more often.
--
Christopher Head
pgp5hwoR7W0Tg.pgp
Description: OpenPGP digital signature
It looks like the desync is still happening. It seems that sometimes SF catches
up a bit, but then Zylin gets ahead of it again. They used to always be right
together.
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel
supposed to print it, or should the
framework that calls the handler be printing a message if the command handler
returns nonzero?
Thanks!
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel mailing list
OpenOCD-devel
to NULL. Which of course breaks the
event handler’s attempt to operate on the proper target in subsequent
operations.
What is the proper fix for this? Should this be changed in OpenOCD, or should I
write my script a different way?
Thanks!
--
Christopher Head
signature.asc
Description: PGP signat
.
Still not sure what the right fix is. I’m not an expert on the guts of JimTCL.
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo
two processors in a JTAG chain), it
would be extremely confusing to see mdX output showing up in the connection for
the other processor!
--
Christopher Head
signature.asc
Description: PGP signature
___
OpenOCD-devel mailing list
OpenOCD-de
solution these days, and runnable under many hosts—so that
the simulator can run in the one environment where it’s known to work
well, and have the OpenOCD instance running under Travis connect to it?
--
Christopher Head
pgpdXPVYu6HcL.pgp
Description: OpenPGP digital
’re popular.
Gitlab offers CI minutes as part of their free plan, and their CI
offering runs things inside Docker, but that may not be appropriate for
quite what you need.
--
Christopher Head
pgptfs8llYZqj.pgp
Description: OpenPGP digital signature
___
Op
?
--
Christopher Head
pgpxyn89RSHks.pgp
Description: OpenPGP digital signature
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel
that
matter).
Thanks to everyone working on OpenOCD!
--
Christopher Head
pgpyOOo6nzKIN.pgp
Description: OpenPGP digital signature
___
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd
hen the option
is there, I prefer to use it.
--
Christopher Head
pgpuX5n1YSDEz.pgp
Description: OpenPGP digital signature
ctions into the binary for non-semihosting
purposes, because such halts would not match any FPB resource. I use
that capability regularly as a way to debug halt on certain error
conditions detected by the code, without spending FPB resources to do
so.
--
Christopher Head
pgp54uVKof0c6.pgp
Descr
“run” pulse SRST and thereby reset
the other target as well? Does it do anything to convince the other
target to run or halt or otherwise when it comes out of reset? Are any
of the answers to these questions unintentional, or are they all
intended behaviour I can rely on?
Thanks,
--
Christopher
t chain it often does something very strange and
not what I want. It would be nice IMO to nail down exactly what it
does, to avoid surprises.
--
Christopher Head
pgpvGfLTIM1go.pgp
Description: OpenPGP digital signature
witch the current
target to use those commands, whether you’re using them from Telnet, Tcl
script, or Tcl RPC.
I’m not sure what this should say, but if people agree I can probably
put together a patch.
Thoughts?
--
Christopher Head
:** new
**Milestone:** 0.9.0
**Created:** Fri Nov 17, 2017 07:19 AM UTC by Christopher Head
**Last Updated:** Fri Nov 17, 2017 07:19 AM UTC
**Owner:** nobody
I have a board with an STM32F7 on it. My target script sources the shipped
stm32f7x.cfg target script. Everything works perfectly. No problems
---
** [tickets:#168] examine-end event handler unable to access memory with two
targets**
**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Nov 17, 2017 07:19 AM UTC by Christopher Head
**Last Updated:** Fri Nov 17, 2017 07:19 AM UTC
**Owner:** nobody
I have a board with an STM32F7 on
Forgot to mention that this is fixed. I don’t seem to have any controls to
close the ticket though.
---
** [tickets:#168] examine-end event handler unable to access memory with two
targets**
**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Nov 17, 2017 07:19 AM UTC by Christopher Head
---
** [tickets:#264] bindto half works when issued after init**
**Status:** new
**Milestone:** 0.9.0
**Created:** Mon Apr 20, 2020 05:56 PM UTC by Christopher Head
**Last Updated:** Mon Apr 20, 2020 05:56 PM UTC
**Owner:** nobody
When the `bindto` command is issued after the `init` command
50 matches
Mail list logo