ARMmbed / dapjs

JavaScript interface to CMSIS-DAP
https://armmbed.github.io/dapjs
MIT License
113 stars 46 forks source link

single byte write to target memory? #91

Closed ccattuto closed 2 years ago

ccattuto commented 2 years ago

Hello, sorry for the naive question. Is there a fundamental reason for not having a writeMem8Command() ? What is the preferred way to execute non-word-aligned single byte memory writes on, e.g., Cortex M targets ? Thanks!

XGM001 commented 2 years ago

DMA write, or data is re-allocated into bytes,

ccattuto commented 2 years ago

Thanks, although I'm not sure I understand. pyOCD does provide single byte semantic with DAP. I've provided an initial implementation here: https://github.com/ARMmbed/dapjs/pull/92