[OpenOCD-devel] RTOS suspended task analysis problems

2015-10-27 Thread Christopher Head
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

Re: [OpenOCD-devel] RTOS suspended task analysis problems

2015-10-30 Thread Christopher Head
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 -- __

[OpenOCD-devel] examine-end event handler unable to access memory with two targets

2017-08-17 Thread Christopher Head
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

Re: [OpenOCD-devel] src/target/cortex_a.c: How does cortex_a_read_cpu_memory_slow work?

2017-11-24 Thread Christopher Head
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

Re: [OpenOCD-devel] Telnet interface is not protected against cross protocol scripting

2018-01-14 Thread Christopher Head
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: [OpenOCD-devel] Telnet interface is not protected against cross protocol scripting

2018-01-14 Thread Christopher Head
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

Re: [OpenOCD-devel] Telnet interface is not protected against cross protocol scripting

2018-01-14 Thread Christopher Head
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

Re: [OpenOCD-devel] Telnet interface is not protected against cross protocol scripting

2018-01-16 Thread Christopher Head
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

[OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-26 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-26 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-27 Thread Christopher Head
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:

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-27 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-27 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-28 Thread Christopher Head
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 ---

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-02-28 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-01 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-10 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-12 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-13 Thread Christopher Head
. 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!

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-13 Thread Christopher Head
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

Re: [OpenOCD-devel] STM32F2/4/7 Flash programming

2018-03-13 Thread Christopher Head
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

Re: [OpenOCD-devel] Proposal: reading FreeRTOS targets from file

2018-03-22 Thread Christopher Head
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 ---

Re: [OpenOCD-devel] Proposal: reading FreeRTOS targets from file

2018-03-23 Thread Christopher Head
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,

[OpenOCD-devel] Cortex-M7 MASKINTS erratum

2018-07-17 Thread Christopher Head
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

[OpenOCD-devel] Intended cache handling behaviour

2018-08-01 Thread Christopher Head
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

Re: [OpenOCD-devel] Intended cache handling behaviour

2018-08-02 Thread Christopher Head
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

Re: [OpenOCD-devel] Cortex-M7 r0p0/r0p1 singlestep interrupt bug

2018-12-14 Thread Christopher Head
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

Re: [OpenOCD-devel] openOCD writing core dump files?

2019-01-09 Thread Christopher Head
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

Re: [OpenOCD-devel] openOCD writing core dump files?

2019-01-10 Thread Christopher Head
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

Re: [OpenOCD-devel] [openocd:tickets] #230 How to play svf from command line

2019-03-29 Thread Christopher Head
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

[OpenOCD-devel] Git repos desynchronized?

2019-05-07 Thread Christopher Head
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

Re: [OpenOCD-devel] New release?

2019-05-08 Thread Christopher Head
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

Re: [OpenOCD-devel] Git repos desynchronized?

2019-06-04 Thread Christopher Head
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

[OpenOCD-devel] Printing of errors in command handlers

2019-06-06 Thread Christopher Head
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

[OpenOCD-devel] command_run_line changing target override

2019-06-07 Thread Christopher Head
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

Re: [OpenOCD-devel] command_run_line changing target override

2019-06-07 Thread Christopher Head
. 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

Re: [OpenOCD-devel] OpenOCD command output: return vs display

2019-07-05 Thread Christopher Head
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

Re: [OpenOCD-devel] Any way to test openOCD without a hardware probe?

2020-04-03 Thread Christopher Head
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: [OpenOCD-devel] Any way to test openOCD without a hardware probe?

2020-04-03 Thread Christopher Head
’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

[OpenOCD-devel] RFC: removing Flash “protect” functions that don’t do anything

2020-07-17 Thread Christopher Head
? -- 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

Re: [OpenOCD-devel] The next OpenOCD release is near, get ready

2020-10-19 Thread Christopher Head
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

Re: [PATCH]: ba59797 [RFC] coding-style: additional style for C code

2021-05-04 Thread Christopher Head
hen the option is there, I prefer to use it. -- Christopher Head pgpuX5n1YSDEz.pgp Description: OpenPGP digital signature

Re: proposal: automatically resume rogue breakpoints

2023-07-25 Thread Christopher Head
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

What exactly does GDB RUN do?

2023-08-31 Thread Christopher Head
“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

Re: What exactly does GDB RUN do?

2023-09-04 Thread Christopher Head
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

Incorrect sentence on Tcl scripting API page?

2025-01-03 Thread Christopher Head
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

[OpenOCD-devel] [openocd:tickets] #168 examine-end event handler unable to access memory with two targets

2017-11-16 Thread Christopher Head via OpenOCD-devel
:** 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

[OpenOCD-devel] [openocd:tickets] #168 examine-end event handler unable to access memory with two targets

2017-11-16 Thread Christopher Head via OpenOCD-devel
--- ** [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

[OpenOCD-devel] [openocd:tickets] #168 examine-end event handler unable to access memory with two targets

2018-11-30 Thread Christopher Head via OpenOCD-devel
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

[OpenOCD-devel] [openocd:tickets] #264 bindto half works when issued after init

2020-04-20 Thread Christopher Head via OpenOCD-devel
--- ** [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