2017-10-30 10:00 AM
I am trying to write a Qt auto flash program by call STVP api.
if
(
ESelectHard
(
'ST-LINK'
,
'SWD'
,
FALSE
)==
0
)
{
qDebug
()<<
'set
hard
failed'
;
return
false
;
}
Error message:
Unavailable
HaplJtagSwd.dllUnavailable
Unavailable
Unavailable
File C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\TOOLS.CNF : Unavailable
error '????????????é¡£\r\n' File C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\TOOLS.CNF :
Unavailable
Unavailable
File C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\TOOLS.CNF : Unavailable
error 'Cannot load HaplJtagSwd.dll' File C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\TOOLS.CNF :
Unavailable
set hard failed
Thanks!