Hello, I am seeing some reset issues on the below boards. They're reproducible without unplugging, i.e. openocd does get them into a sane state on startup. I'm fairly sure that "reset" worked when I contributed the configs, requested to test various settings.
In particular "reset" on the XMC4500 General Application Kit has regressed; on the SDRAM version it still works okay. "reset init" doesn't work on either, not sure if a regression - a timing issue maybe? A manual "halt" always works as expected on either board. Found while testing Jeff's xmc4xxx flash driver, which needs the device in halted state. Setup: source [find interface/jlink.cfg] transport select swd source [find board/xmc4500-application-kit-general.cfg] # or: source [find board/xmc4500-application-kit-sdram.cfg] followed by interactive commands from telnet localhost 4444. http://openocd.zylin.com/#/c/2721/ - pointed at for LPC1857 - changes General's output, but does not seem to help. Any other patch to try? Regards, Andreas xmc4500-application-kit-general.cfg: > reset in procedure 'reset' in procedure 'ocd_bouncer' Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 100ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 300ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 700ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 1500ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 3100ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 6300ms Polling target xmc4500.cpu failed, GDB will be halted. Polling again in 6300ms [...] Same for "reset init". xmc4500-application-kit-general.cfg with http://openocd.zylin.com/#/c/2721/ : > reset in procedure 'reset' in procedure 'ocd_bouncer' Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 100ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 300ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 700ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 1500ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 3100ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 6300ms Polling target xmc4500.cpu failed, trying to reexamine Examination failed, GDB will be halted. Polling again in 6300ms [...] Same for "reset init". xmc4500-application-kit-sdram.cfg: > reset SWD IDCODE 0x2ba01477 > reset init SWD IDCODE 0x2ba01477 timed out while waiting for target halted TARGET: xmc4500.cpu - Not halted in procedure 'reset' in procedure 'ocd_bouncer' Halt timed out, wake up GDB. > xmc4500-application-kit-sdram.cfg with http://openocd.zylin.com/#/c/2721/ : > reset SWD IDCODE 0x2ba01477 > reset init SWD IDCODE 0x2ba01477 timed out while waiting for target halted TARGET: xmc4500.cpu - Not halted in procedure 'reset' in procedure 'ocd_bouncer' Halt timed out, wake up GDB. > -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg) ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel