microsoft / devicescript

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

flash failure #204

Closed pelikhan closed 1 year ago

pelikhan commented 1 year ago
MERR> connected to 127.0.0.1:8082
VMERR>     self-device: 3b726c9a9e93961c/II24
VMERR>     device created: MX04
VMERR>     device created: II24
VMERR>     device created: KY02
VMERR>     device created: OJ70
VMERR>     device created: UX29
VMERR>     WSn: connected
VMERR>     WSSK: process hello (24 bytes)
VMERR>     WSSK: sent auth
VMERR>     WSSK: process auth (36 bytes)
VMERR>     WSSK-H: status 1 (CONNECTED)
VMERR>     WSSK-H: streaming: 0x100
VMERR>     WSSK-H: streaming expired
VMERR>     WSSK-H: send cmd=0x92
VMERR>     WSSK-H: streaming expired
VMERR>     WSSK-H: send cmd=0x92
VMERR>     WSSK-H: streaming expired
VMERR>     WSSK-H: send cmd=0x92
VMERR>     WSSK-H: streaming expired
VMERR>     WSSK-H: send cmd=0x92
VMERR>     WSSK-H: send cmd=0x93
VMERR>     mgr: deploy 4032 b
VMERR>     flash sync
VMERR>     flash sync
VMERR>     WSSK-H: send cmd=0x94
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     WSSK-H: send cmd=0x95
VMERR>     assertion '((uint8_t *)dst)[i] == 0xff' failed at posix/flash.c:36 in flash_program
VMERR>               throw ex;
VMERR>               ^
VMERR>     at abort (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:12949:19)
VMERR>     at _abort (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:13285:11)
VMERR>     at hw_panic (wasm://wasm/000c6696:wasm-function[29]:0xde9)
VMERR>     at jd_assert_fail (wasm://wasm/000c6696:wasm-function[617]:0x1ee6a)
VMERR>     at flash_program (wasm://wasm/000c6696:wasm-function[25]:0xccf)
VMERR>     at jd_settings_write_large (wasm://wasm/000c6696:wasm-function[554]:0x1ca06)
VMERR>     at devsmgr_deploy_write (wasm://wasm/000c6696:wasm-function[106]:0x4111)
VMERR>     at jd_wssk_on_event (wasm://wasm/000c6696:wasm-function[498]:0x18a88)
VMERR>     at jd_websock_on_event (wasm://wasm/000c6696:wasm-function[495]:0x18631)
VMERR>     at onmessage (wasm://wasm/000c6696:wasm-function[71]:0x16ad)
VMERR>     at socket.onmessage (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:13405:44)
VMERR>     at EventTarget2.dispatchEvent (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:11658:15)
VMERR>     at WebSocket4._Handle_message (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:12021:16)
VMERR>     at WebSocketConnection.emit (node:events:513:28)
VMERR>     at WebSocketConnection.processFrame (/Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:6990:20)
VMERR>     at /Users/peli/Documents/devicescript/cli/built/devicescript-cli.cjs:6816:15
VMERR>     at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
VMERR> Exit code: 7 
mmoskal commented 1 year ago

I think this is fixed now.