AnsweredAssumed Answered

ST-LINK debug

Question asked by k.kvresto on Nov 5, 2016
Latest reply on Nov 7, 2016 by k.kvresto

Hi

I have been using my F3discovery to build an application, which is now finished, so I designed a new user PCB and after assembling and running my application all went well, until I tried to start the debugger with mu new PCB.

I get the following error:

Error in final launch sequence
Failed to execute MI command:
load D:\\emb\\ARM\\ST\\SW4STM32\\F3\\work\\DAQ\\DAQv2\\Debug\\DAQv2.elf

Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet

I think its because ST-LINK utility is trying to use the F3discovery config file to start the debugger.

Can someone help me understand how to create a custom config file.

I'm using ST-LINK /V2 ICD tool. I have 5 JTAG connections on my board:

TMS, TCK, TDO, TDI, NRST.

Thanks

kvresto

Outcomes