Connect to custom board STM32L053 - STLINK-V2 - SWD
Hi Kevin,
thanks for quick reply: I made what you suggested without more results but
here is the console log which is interresting:
Open On-Chip Debugger 0.9.0-dev-00101-g3a546c5 (2015-03-06-16:35)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : This adapter doesn’t support configurable speed
Info : STLINK v2 JTAG v21 API v2 SWIM v4 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.218397
Info : stm32lx.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : accepting ‘gdb’ connection on tcp/3333
Info : STM32L flash size is 64kb, base address is 0x8000000
undefined debug reason 7 - target needs reset
Warn : keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (1015). Workaround: increase “set remotetimeout” in GDB
Error: timed out while waiting for target halted
TARGET: stm32lx.cpu - Not halted
in procedure ‘reset’
in procedure ‘ocd_bouncer’
in procedure ‘reset’
Error: timed out while waiting for target halted
TARGET: stm32lx.cpu - Not halted
in procedure ‘reset’
in procedure ‘ocd_bouncer’
in procedure ‘reset’
Error: Target not halted
Error: failed erasing sectors 0 to 15
Error: flash_erase returned -304
Something wrong in my connection ? That’s unlikely as it is ok with stlink-32 utility.
Do you have an idea how to halt the µc ?
Thanks and regards,
Sylvain