Re: What exactly does GDB RUN do?

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

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: 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

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: [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

[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

[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

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

2020-04-03 Thread Christopher Head
opular. 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 ___ OpenOCD

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] 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] 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

[OpenOCD-devel] command_run_line changing target override

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

[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

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

Re: [OpenOCD-devel] New release?

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

[OpenOCD-devel] Git repos desynchronized?

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

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 Head sign

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

[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

Re: [OpenOCD-devel] Intended cache handling behaviour

2018-08-02 Thread Christopher Head
ly. 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 most e

[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

[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

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

2018-03-23 Thread Christopher Head
e to use a stock OpenOCD. Does 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

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

2018-03-22 Thread Christopher Head
done by TCL? It would shorten the 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. -- Christo

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

2018-03-13 Thread Christopher Head
vel@lists.sourceforge.net> wrote: >Did you 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

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

2018-03-13 Thread Christopher Head
was not enough), I got no more WAITs and 150 kiB/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 vibra

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! http

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

2018-03-12 Thread Christopher Head
, 4463 makes this change. I get one DAP 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 s

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

2018-03-01 Thread Christopher Head
e manual or datasheet. Just curious. Side note, 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 pu

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

2018-02-28 Thread Christopher Head
in the last week or two. I 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 most

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

2018-02-28 Thread Christopher Head
ot;good" 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-27 Thread Christopher Head
et, which it would not be with ORUNDETECT 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 e

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

2018-02-27 Thread Christopher Head
correct. My sample was about 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, Slashdot.or

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

2018-02-27 Thread Christopher Head
t ECC errors—we could set 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-26 Thread Christopher Head
On Mon, 26 Feb 2018 16:23:08 -0800 Christopher Head <open...@chead.ca> 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 co

[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] Telnet interface is not protected against cross protocol scripting

2018-01-16 Thread Christopher Head
and perhaps damage the I/O driver, 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 Descript

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

2018-01-14 Thread Christopher Head
commands when processing untrusted >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). -- Christophe

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

2018-01-14 Thread Christopher Head
k over pipes, but only stdio AFAIK, and there are too many interfaces to handle them all that way (especially with multiple taps). -- Christopher Head signature.asc Description: PGP signature -- Check out the vibrant te

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

[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

[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] examine-end event handler unable to access memory with two targets

2017-08-17 Thread Christopher Head
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] RTOS suspended task analysis problems

2015-10-30 Thread Christopher Head
of where this happens. Although I initially wanted this for a custom port, the same sort of complexity even shows up in one of the official ports. -- Christopher Head signature.asc Descr

[OpenOCD-devel] RTOS suspended task analysis problems

2015-10-28 Thread Christopher Head
o do 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