LibSWD icon indicating copy to clipboard operation
LibSWD copied to clipboard

CeDeROM's Serial Wire Debug Open Library

Results 10 LibSWD issues
Sort by recently updated
recently updated
newest added

Hi @cederom , here are the separated commits for reported issues. The last commit is about to discuss a little bit. See comments in code at last commit :) Regards,...

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

There's a lot of use of int's in this lib, in some case they should be unsigned, in others we only need 8 bits etc.... Additionally since sizeof(int) is defined...

I've found an issue in the memap read and write functions when using LIBSWD_MEMAP_CSW_ADDRINC_SINGLE. I'm going to make a fix and create a pull request. Give me a few hours....

libswd_drv_openocd.c:57 `if (bits8) return LIBSWD_ERROR_PARAM;` this can never be true. This code exists in a few places, the above is just one example. Additionally, in the miso case, if this...

The ARM debug interface v5 doc states that TAR auto incrementalist is only guaranteed to work on the lower 10 bits of TAR. This is dealt with in code, by...

Hi @cederom I using your lib in one of my project and found maybe a mistyping in your source code. For example in file [libswd_cmdq.c](https://github.com/cederom/LibSWD/blob/master/src/libswd_cmdq.c) line 243: `res=libswd_drv_transmit(libswdctx, cmd);` `if...

question

As reported by @MemphisCZ in https://github.com/cederom/LibSWD/issues/6: Hi @cederom I using your lib in one of my project and found maybe a mistyping in your source code. For example in file...

bug

As reported by @MemphisCZ in https://github.com/cederom/LibSWD/issues/6: One more suggestion about fflush(0);, in some multitask FREERTOS application this may cause task dead lock, flushing NULL pointer means flush everything. In such...

enhancement

As reported by @MemphisCZ in https://github.com/cederom/LibSWD/issues/6: ...and one more question about memory consumption. Where are the points in source code for cmdq memory release. I found function libswd_cmdq_free_head, but it...

bug
enhancement
help wanted