Only first debug session is successful with STM32F405
Windows 10 Pro 64bit
AC6 version 1.10.0.201607251855
Custom board with SMT32F405.
Ac6 Startup Runtime option Resume is not selected.
Connected via STLink via nucleoF411 PCB header CN12 CN4 (CN2 jumpers removed)
Not able to debug main project more than one time in a row.
Start main project debug session.
Terminate session.
Start main project debug session. Debugger connects to target, target is halted at Reset_Handler. Step one instruction and the device PC will change from 0x80002b8 to 0x1fff3da2 with no source availble. I have changed the instruction at Reset_Handler to load a dummy value into r0 to verify code is being downloaded.
I can start a successful session if I create a different STM32F405 (dummy) project with just a simple while loop and debug that.
Restarting the dummy project cause the same fault has the same behaviour as the main project.
Starting the main project after teriminating debugging the dummy project is successful.
Starting the dummy project after terminating debugging the main project is successful.
Starting the dummy project after terminating the dummy project fails.
Starting the main project after terminating the main project fails.
I can change the STLink jumpers on the nucleo board and debug a STM32F411 project multiple times with no problem.
This behaviour occurs on 3 different STM32F405 projects on 2 different boards.
This can be worked around by alternating main project debug with the dummy debug session but a proper solution would be better.
Reconnecting the STLink or restarting eclipse, or power cycling the target has no affect.
Suggestions or ideas?