question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebUSB: DAPJs Error: bad response for 131 -> 132

See original GitHub issue

These errors happen when using the serial REPL. Nothing specific to trigger them, if you start typing code eventually they will appear.

image
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:closed
  • Created 5 years ago
  • Comments:26 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
microbit-carloscommented, Dec 11, 2020

This issue was fixed with the latest DAPJs update in this repo.

0reactions
jazzy8commented, Nov 10, 2020

I’ll test if DAPjs affects the site.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found