Open andrewparlane opened 7 years ago
Very good poin @andrewparlane ! I did not reverse other solutions, so your input is highly welcome and appreciated! :-)
Also please note that LibSWD was first meant to be only transport layer, while DAP was supposed to be done in a separate library. I will try to come back to this idea in my https://github.com/cederom/icederom project :-)
Definitely makes sense to split hem up. My chip has two APs which makes it a bit awkward at times.
I'd love to do a bunch of tidying up and what not, but I don't really have much time to put into this. I figure creating a bunch of issues is probably the best place to start, so at least we have a list of todo items.
On 27 June 2017 at 18:06, Tomasz CEDRO notifications@github.com wrote:
Very good poin @andrewparlane https://github.com/andrewparlane ! I did not reverse other solutions, so your input is highly welcome and appreciated! :-)
Also please note that LibSWD was first meant to be only transport layer, while DAP was supposed to be done in a separate library. I will try to come back to this idea in my https://github.com/cederom/icederom project :-)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cederom/LibSWD/issues/17#issuecomment-311499988, or mute the thread https://github.com/notifications/unsubscribe-auth/AE51Ok2ZNUzAsKOx7_vmv_4xWeDIx98qks5sIXz3gaJpZM4OHNfr .
exactly, simple list, clear TODO per issue :-)
http://www.humorsoffice.com/images/2013/08/office-humor-20130818-131112.jpg
hopefully soon I will have time and resources for those things to happen :-)
ha!
On 27 June 2017 at 19:09, Tomasz CEDRO notifications@github.com wrote:
exactly, simple list, clear TODO per issue :-)
http://www.humorsoffice.com/images/2013/08/office-humor- 20130818-131112.jpg
hopefully soon I will have time and resources for those things to happen :-)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cederom/LibSWD/issues/17#issuecomment-311511172, or mute the thread https://github.com/notifications/unsubscribe-auth/AE51OrabOJrBsjc5DzLpY316DaPW0prZks5sIYu0gaJpZM4OHNfr .
I'm capturing my SWD bus using a Salea USB scope to debug various issues and I notice that libSWD has a lot more bus transactions than my J-link programmer:
For example - Writing to the DHCSR register to enable debug:
C code using libSWD
libSWD:
J-Link
so in libswd we have 8 operations where we could use 3 or even 2 (if we know CSW is already correct).
This is not really a big problem, but something we can look at in the future.