SAMD21 upgrade to CMSIS-DAP v2.x #33
Replies: 4 comments 1 reply
-
Yeah, sure. It is very easy to do. I'll do it a bit later, but you can have a go at it yourself. It would be basically D11 with header files and a linker script replaced and things adjusted as needed to build. |
Beta Was this translation helpful? Give feedback.
-
I've updated it. It was even easier than I expected. |
Beta Was this translation helpful? Give feedback.
-
Finally managed to get time to look into it. There seems to be no toggling of the reset pin whatsoever. Of course programming a blank target works even without the reset line but ones the target is running, it can't be reprogrammed/erased without a working reset line. |
Beta Was this translation helpful? Give feedback.
-
The reset is not mandatory unless your firmware changes the functionality of the SWD pins or goes to sleep. I'm not familiar with pyocd, I don't know if it does anything with reset. Debugger itself does not use it, it is up to the host to control it. Try with my edbg tool (https://github.com/ataradov/edbg) and see if it works that way |
Beta Was this translation helpful? Give feedback.
-
Hi,
you mention being willing to update other platforms to CMSIS-DAP v2.x if requested (or needed by you). I am designing a small piece of hardware based on the SAMD21 and would like to know if you have the time and interest of updating that platform.
Thank you,
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions