microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.29k stars 121 forks source link

pico_w crc error #344

Closed louisvangeldrop closed 1 year ago

louisvangeldrop commented 1 year ago
(index):1  WebSocket connection to 'ws://localhost:8081/' failed: 
e @ (index):1
6812-bb808a282b52741081e3.js:9 ƒ (config) {
  var Module = config || {};

// The Module object: Our interface to the outside world. We import
// and export values on it. There are various ways Module can be used:
// 1. Not defined…
jdusb.ts:71  JDUSB Error: crc err
logError @ jdusb.ts:71
handleFrame @ jdusb.ts:89
decodeFrame @ jdusb.ts:146
JdUsbProto.io.onData @ jdusb.ts:66
(anonymous) @ webserialio.ts:133
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
readLoop @ webserialio.ts:9
(anonymous) @ webserialio.ts:231
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
openDeviceAsync @ webserialio.ts:9
(anonymous) @ webserialio.ts:205
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
connectAsync @ webserialio.ts:9
(anonymous) @ webserial.ts:49
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
transportConnectAsync @ webserial.ts:33
(anonymous) @ transport.ts:244
Promise.then (async)
connect @ transport.ts:243
(anonymous) @ transport.ts:328
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:13
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
reconnect @ transport.ts:48
(anonymous) @ transport.ts:203
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
checkPulse @ transport.ts:48
emit @ eventsource.ts:258
(anonymous) @ bus.ts:646
pelikhan commented 1 year ago

outdated firmware build?

louisvangeldrop commented 1 year ago

I use this version: https://github.com/microsoft/devicescript-pico/releases/latest/download/devicescript-rp2040w-pico_w.uf2

pelikhan commented 1 year ago

@louisvangeldrop is this still an issue for you?

louisvangeldrop commented 1 year ago

I am on holidays and I don't have the pico-w with me.

pelikhan commented 1 year ago

I'm going to close this one as I have been testing with a pico-w without issues for a while. Feel free to reopen.