WebUSB: DAPJs Error: bad response for 131 -> 132
See original GitHub issueThese errors happen when using the serial REPL. Nothing specific to trigger them, if you start typing code eventually they will appear.

dap.bundle.js:1014 Uncaught (in promise) Error: Bad response for 131 -> 132
at dap.bundle.js:1014
(anonymous) @ dap.bundle.js:1014
Promise.then (async)
(anonymous) @ dap.bundle.js:543
setInterval (async)
DAPLink.startSerialRead @ dap.bundle.js:541
(anonymous) @ python-main.js:932
Promise.then (async)
(anonymous) @ python-main.js:931
Promise.then (async)
doSerial @ python-main.js:910
(anonymous) @ python-main.js:1039
dispatch @ jquery-2.1.4.min.js:3
r.handle @ jquery-2.1.4.min.js:3
dap.bundle.js:1014 Uncaught (in promise) Error: Bad response for 132 -> 131
at dap.bundle.js:1014
(anonymous) @ dap.bundle.js:1014
Promise.then (async)
DAPLink.serialWrite @ dap.bundle.js:578
io.onVTKeystroke @ python-main.js:965
hterm.Terminal.onVTKeystroke @ hterm_all.js:15259
hterm.Keyboard.onKeyPress_ @ hterm_all.js:6259
dap.bundle.js:1014 Uncaught (in promise) Error: Bad response for 131 -> 132
at dap.bundle.js:1014
(anonymous) @ dap.bundle.js:1014
Promise.then (async)
(anonymous) @ dap.bundle.js:543
setInterval (async)
DAPLink.startSerialRead @ dap.bundle.js:541
(anonymous) @ python-main.js:932
Promise.then (async)
(anonymous) @ python-main.js:931
Promise.then (async)
doSerial @ python-main.js:910
(anonymous) @ python-main.js:1039
dispatch @ jquery-2.1.4.min.js:3
r.handle @ jquery-2.1.4.min.js:3
Issue Analytics
- State:
- Created 5 years ago
- Comments:26 (1 by maintainers)
Top Results From Across the Web
DAPjs API Documentation - GitHub Pages
DAP.js is a JavaScript interface to CMSIS-DAP, enabling access to Arm Microcontrollers using Node.js or in the browser using WebUSB.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue was fixed with the latest DAPJs update in this repo.
I’ll test if DAPjs affects the site.