devicescript
devicescript copied to clipboard
m5stack atom not recognized
I have a m5stack atom matrix mcu with a FTDI serial driver. See https://docs.m5stack.com/en/core/atom_matrix The m5stack is unfortunately not recognized as a webserial device in the browser.
The issue is that it is not in the device catalog.
In jacdac docs, open the right hand side menu and enable developer mode. This will remove the filter and show you all webserial devices.
Just tried m5atom in jacdac docs in developer mode and it is recognized now. Is there an escape "developer mode" option available in devicescript?
There is --all-serial
for devs flash esp32
; Flags.developerMode
in jacdac-ts
should enable it just like on the website but I don't think we expose it now
I'm adding --dev
to enable the developer mode generally.
You will find a "developer mode" in the settings of the extension. It order for it to work, make sure to update the @devicescript/cli reference to the latest build
yarn upgrade @devicescript/cli@latest
After installing 2.2.26, the command "npx --yes @devicescript/cli@latest init" failed. "Unable to find devicescript".
I installed version 2.2.24 and now the --dev option works.
However I still do get the JDUSB errors. JDUSB Error: second begin JDUSB Error: dual magic JDUSB Error: short frm JDUSB Error: invalid quote JDUSB Error: mismatched stop JDUSB Error: invalid quote JDUSB Error: mismatched stop
I am not sure if it has to do with the baud-rate. I also have problems with flashing at 15000000 baud. I reduced it to 115200.
There was a build error with 2.2.25 so that release is broken. Will investigate 2.2.26 which should have been fixed.
From: Louis van Geldrop @.> Sent: Friday, March 31, 2023 5:20:29 AM To: microsoft/devicescript @.> Cc: Peli de Halleux @.>; Comment @.> Subject: Re: [microsoft/devicescript] m5stack atom not recognized (Issue #306)
After installing 2.2.25, the command "npx --yes @@.*** init" failed. "Unable to find devicescript".
I installed version 2.2.24 and now the --dev option works.
However I still do get the JDUSB errors. JDUSB Error: second begin JDUSB Error: dual magic JDUSB Error: short frm JDUSB Error: invalid quote JDUSB Error: mismatched stop JDUSB Error: invalid quote JDUSB Error: mismatched stop
I am not sure if it has to do with the baud-rate. I also have problems with flashing at 15000000 baud. I reduced it to 115200.
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/devicescript/issues/306#issuecomment-1491844988, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKMB44JGRECZLA5RCUDW63DY3ANCNFSM6AAAAAAWNJEL24. You are receiving this because you commented.Message ID: @.***>
I recommend not using external serial chips for now. There seem to be some issues with all of them, more with some. Can you use c3, s2 or rp2040?
2.2.28 fixes the “devicescript” error - thabks for reporting!
From: Michał Moskal @.> Sent: Friday, March 31, 2023 8:25:12 AM To: microsoft/devicescript @.> Cc: Peli de Halleux @.>; Comment @.> Subject: Re: [microsoft/devicescript] m5stack atom not recognized (Issue #306)
I recommend not using external serial chips for now. There seem to be some issues with all of them, more with some. Can you use c3, s2 or rp2040?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/devicescript/issues/306#issuecomment-1492122606, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKKZSBCEBJAAAJDOG2DW63ZNRANCNFSM6AAAAAAWNJEL24. You are receiving this because you commented.Message ID: @.***>
I have noticed the problems with serial chips. I have a ESP32C3 LilyGo-T-OI-PLus board without CDC support. This board always returns "no HF2 support" My Lilygo ESP32_S2 board supports the USB- and the OTG-mode. It is working, but sometimes it is unclear with mode to select in order to get it working properly.