This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMSIS-DAP sources

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/.../

Parents
  • 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

Reply
  • 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

Children