Hi,
A month ago, I had a fully working development suite...i.e. Keil V5, Jlink, STM32L031-device/eval board.
After coming back to the project after some weeks, for no apparent reason I now receive the error message "no cortex M SW device found" when I try to download to flash.THERE HAVE BEEN NO HARDWARE, SOFTWARE, TOOL-CONFIG CHANGES MADE. I have even kept screen-captures of all my settings and everything looks as it did before.
There is something inherently unstable about this Jlink device, the driver and/or Keil.
Can someone please assist - our company is running behind now due to this! ...I think this must be a known error given the amount of posts I've seen about this, however NONE of the solutions presented had any impact.
from the output:
Set JLink Project File to "C:\Users\py\Desktop\Work In Progress\Projects\Segment Remote\Embedded\MDK-ARM\JLinkSettings.ini"
* JLink Info: Device "STM32L031K6" selected.
JLink info:
------------
DLL: V6.20h, compiled Oct 27 2017 16:22:47
Firmware: J-Link V10 compiled Oct 6 2017 16:37:55
Hardware: V10.10
S/N : 50105710
Feature(s) : GDB
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: Found SW-DP with ID 0x0BC11477
***JLink Error: STM32: Connecting to CPU via connect under reset failed.
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 17:10:23
A month ago, I had a fully working development suite...i.e. Keil V5, Jlink, STM32L031-device/eval board.
After coming back to the project after some weeks, for no apparent reason I now receive the error message "no cortex M SW device found" when I try to download to flash.THERE HAVE BEEN NO HARDWARE, SOFTWARE, TOOL-CONFIG CHANGES MADE. I have even kept screen-captures of all my settings and everything looks as it did before.
There is something inherently unstable about this Jlink device, the driver and/or Keil.
Can someone please assist - our company is running behind now due to this! ...I think this must be a known error given the amount of posts I've seen about this, however NONE of the solutions presented had any impact.
from the output:
Set JLink Project File to "C:\Users\py\Desktop\Work In Progress\Projects\Segment Remote\Embedded\MDK-ARM\JLinkSettings.ini"
* JLink Info: Device "STM32L031K6" selected.
JLink info:
------------
DLL: V6.20h, compiled Oct 27 2017 16:22:47
Firmware: J-Link V10 compiled Oct 6 2017 16:37:55
Hardware: V10.10
S/N : 50105710
Feature(s) : GDB
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: Found SW-DP with ID 0x0BC11477
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: Found SW-DP with ID 0x0BC11477
***JLink Error: STM32: Connecting to CPU via connect under reset failed.
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 17:10:23