Hi recently i bought olimex STM32-P207, I created simple script to flash the compiled binary. The problem I noticed is that when script is finished i must manualy reset . here is my script:
source [find ./jlink.cfg]
source [find target/stm32f2x.cfg]
jtag_nsrst_delay 500
jtag_ntrst_delay 500
init
soft_reset_halt
sleep 500
flash erase_sector 0 0 7
flash write_image out/stm32cl_blink_led.bin 0x08000000
reset
shutdown
The funny thing is that when I startup openocd daemon and connect through telnet and type all off those commands manualy microcontroller restarts after reset command. and all works fine, is that a bug?
Any ideas?