Flash Failed VS CODE KEIL STUDIO

Hello,

I'm testing Visual Studio Code Keil Studio Pack. I imported solution from Keil into VS Code and build it successfully. Problem comes while trying to Run target. I get this error:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Stopping running target Cortex-M4 on connection
Connected to running target Cortex-M4
Execution stopped in Privileged Thread mode at 0x0800092E
0x0800092E LDR r0,[sp,#0x5c]
Disconnected from stopped target Cortex-M4
ERROR(TAD289-FLP24-FLP6-FLP4):
! Failed to open flash programmer
! Failed to load flash device configuration from com.arm.debug.flashprogrammer.adapter.FlashConfigAdapter$CmsisFlashConfig@638aaf2
! Cannot create PyString with non-byte value: 'SE\u010c'
! Exception IllegalArgumentException thrown in Python script C:\Users\xxxxxx\.vcpkg\artifacts\2139c4c6\debuggers.arm.armdbg\6.2.1\sw\debugger\configdb\Flash\flashprogrammer\execution.py at line 14
Flash failed
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I use ST-LINK with newest fw. task.json was set up for SWD, connect under reset and otherwise auto option. 

Am I missing something? Is there solution or bug issue?

0