We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, i make CMSIS-DAP port for STM32. Debugger works under Keil but i found some problems. If target processor execute a program (simple while(1);) debugger can't flash code, but if i erase chip then flash normally. I can check and debug firmware code but i can't find sources for CMSIS_AGDI.dll and CMSIS_DAP.dll Can you provide sources for this files ?
Thanks
P.S. Link to initial post about this port akb77.com/.../
Hi,
there is no source code of CMSIS_AGDI.dll nor CMSIS_DAP.dll being published.
From your description it sounds like that the inability to flash is caused by the application you have flashed already. Have you e.g. checked that the application is not disabling JTAG/SWD pins. If you configure the reset behavior in the debug driver setup Connect: "under Reset" no user code will be executed prior to running the flash programming algorithm. Does this solve your problem? Alternatively you may also experiment with the options for Reset: and configure HW Reset or SYSRESETREQ.
~ Joachim
Hello, if i set reset to SYSRESETREQ all works fine. If i set to other options - flash fail and message about "... can't reset target processor". I publish archive with firmware for STM32F103 here akb77.com/.../
Do you have this issue with any application you Flash or is it specific to your while(1) target application? If it is specific to this application you should look for the root cause there.
I test with target processor STM32F103 with simple while(1) and more complex project but with the same results. If i set SYSRESETREQ - both variants works normal