-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB doesn't properly enumerate #1
Comments
Hi. It s philippe. Hope I can help you.0 What to you mean by "board definition" ? Can you point me to an example of such document . Maybe I call it something else. As the boarf is recognized with no issue we probably did no dig in this direction With windows and mac it is sometimes requested to press the reset/boot buttons to switch the mprphesp240 to sketch upload mode (on windows, there is a sound to confirm the switch from one mode to the other. Then we can select the COM port in arduino IDE). Maybe it is necessary to do the same with linux. I trying to get return from the community from backers who are using the board with linux. And find a way to help. |
We already have some returns. |
To flash : press left button - press/release right button / release left button |
With Kernel 5.13.9 |
I'm not on a Linux box, but a Mac.
On Aug 10, 2021, at 1:31 PM, Dr PhilMorph ***@***.***> wrote:
Hi. It s philippe. Hope I can help you.0
Florian has send me the information. I am out of any linux computer until the end of my vacation (august the 23rd)
The board was mainly tested with windows and mac. We are not experts with linux and HID/USB linux recognition. Which linux distribution ? Which version ? Which kerbel version ? Any usb modification to the kernel ? Which arduino IDE for linux version ? Any update with the ESP32s2 card package ? Which one ? I can then install the same dzv environment when back.
What to you mean by "board definition" ? Can you point me to an example of such document . Maybe I call it something else. As the boarf is recognized with no issue we probably did no dig in this direction
This is a typical board-manager package that defines a board. https://github.com/sparkfun/Arduino_Boards/tree/main/IDE_Board_Manager
It defines the pinouts, etc. that are specific to this board. For instance, if you look into this one: https://github.com/sparkfun/Arduino_Boards/blob/main/IDE_Board_Manager/sparkfun-esp32-1.0.0.tar.bz2 You will see the various definitions.
It would be super helpful to, for instance, know which pin runs the onboard try-color LED, etc. With essentially no documentation whatsoever -- other than the hardware parts -- it makes developing anything on the board really difficult. Especially so since there are no silkscreen labels on the board for which pins are pulled out where.
Thanks!
dg
… With windows and mac it is sometimes requested to press the reset/boot buttons to switch the mprphesp240 to sketch upload mode (on windows, there is a sound to confirm the switch from one mode to the other. Then we can select the COM port in arduino IDE). Maybe it is necessary to do the same with linux.
I trying to get return from the community from backers who are using the board with linux. And find a way to help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAPZ2WQZEX2NRDGFTHO3SXLT4FO6ZANCNFSM5B237XZA>.
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Linkedin <https://linkedin.com/in/davidgsimmons> • Twitter <https://twitter.com/davidgsIoT> • GitHub <https://github.com/davidgs> • npx davidgs • Notist <https://noti.st/davidgs> • Book a meeting <https://calendly.com/davidgsimmons/30min>
/** Message digitally signed for security and authenticity.
* Public key available at https://keys.openpgp.org/
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!
There are only 2 hard things in computer science: Cache invalidation, naming things, and off-by-one errors.
|
Hi, He works on Mac, and already parameter the MorphEsp 240 with MacOS. |
When I put the board into boot mode, it doesn't mount the USB on a Win 10 machine. I get the yellow diamond with the exclaimation point inside it in the Device Manager. Says ESP32-S2 for the device name Code 28, the drivers for this device are not installed. When I try to update them, they're not found. Any ideas? |
Got it figured out through much GoogleFu and experimentation. Here's the overview:
Download version 2.5 Run it. Install the drivers (USB ID was: 303a 0002). It'll pause for a few seconds - it's not hung up. Wait. It'll start downloading and installing the drivers.... takes a while (I did this on an HP laptop w/an i7 CPU 4GHz, 16GB RAM, 512GB SSD).
I dumped the firmware to a file before fooling with other sketches. dfu-util -v -U MorphESP240_OriginalDFU.bin The first time I ran it, it threw an error about being in runtime mode and detaching. I ran it again, and it worked the 2nd time. Copied 4194304 bytes... dfu-util is available at: https://dfu-util.sourceforge.net/releases I used the dfu-util-0.9-win64.zip More info at: https://docs.espressif.com/projects/esp-idf/zn_CN/latest/esp32s2/api-guides/dfu.html [some of it's in chinese, but you should be able to make it out... break out Google Translate if you need to] Hope this helps save someone some time... For a device that's supposedly out in "Production" this should have already been documented. No, I'm not opposed to hacking or playing with things, but when I buy something I'd like to know if it's "Beta" beforehand in case I just need it to work. Because I needed this for a particular use case and wasn't sure it was going to actually work, I purchased an m5Stack Core2 from a vendor in the UK, it showed up in the US in a few days, and I had it working immediately. As a gentle suggestion, if you want to have another successful crowd campaign, please do a better job of documenting. Note also that the board is a different revision than what you see in the 3D renderings on the website and Crowdsupply. The battery switch is relocated to the lower-right of the screen, and there's two push buttons on the bottom on either side of the USB connector (left, by the battery connector for RESET), and right (BOOTLOADER)... |
Esp32 S2 chip does NOT require a specific USB driver. It is native. The ESP32 normal requires one. Not the S2. The trick is to put the morphesp240 into boot mode (see readme first pdf in our github). The way to do this is a bit hard at first time for esp32classic owners. If you have windows, there should be a sound whe the usb port is mounted. Once mounted, recheck the COM port in ArduinoIDE and upload. Get sure your arduino ESp32 boards is up to date and select ESP32-Dev board
… Le 13 août 2021 à 21:32, daviddata1 ***@***.***> a écrit :
When I put the board into boot mode, it doesn't mount the USB on a Win 10 machine. I get the yellow diamond with the exclaimation point inside it in the Device Manager.
Says ESP32-S2 for the device name
Code 28, the drivers for this device are not installed.
When I try to update them, they're not found.
Any ideas?
Got it figured out through much GoogleFu and experimentation.
Here's the overview:
Attach to USB, Put the board into download mode. Hold down left push button, Press and hold right button, release right button after a sec or two, release left button...
Get the zadig driver tool from https://zadig.akeo.ie
Download version 2.5
Run it. Install the drivers (USB ID was: 303a 0002). It'll pause for a few seconds - it's not hung up. Wait. It'll start downloading and installing the drivers.... takes a while (I did this on an HP laptop w/an i7 CPU 4GHz, 16GB RAM, 512GB SSD).
Drivers install. Check "Device Manager" in control panel. You'll no longer see the ESP32-S2 in the "Other Devices" section, it'll show up in the USB Devices section...
I dumped the firmware to a file before fooling with other sketches.
dfu-util -v -U MorphESP240_OriginalDFU.bin
The first time I ran it, it threw an error about being in runtime mode and detaching.
I ran it again, and it worked the 2nd time. Copied 4194304 bytes...
dfu-util is available at: https://dfu-util.sourceforge.net/releases
I used the dfu-util-0.9-win64.zip
More info at:
https://docs.espressif.com/projects/esp-idf/zn_CN/latest/esp32s2/api-guides/dfu.html
[some of it's in chinese, but you should be able to make it out... break out Google Translate if you need to]
Hope this helps save someone some time... For a device that's supposedly out in "Production" this should have already been documented. No, I'm not opposed to hacking or playing with things, but when I buy something I'd like to know if it's "Beta" beforehand in case I just need it to work. Because I needed this for a particular use case and wasn't sure it was going to actually work, I purchased an m5Stack Core2 from a vendor in the UK, it showed up in the US in a few days, and I had it working immediately. As a gentle suggestion, if you want to have another successful crowd campaign, please do a better job of documenting.
Note also that the board is a different revision than what you see in the 3D renderings on the website and Crowdsupply. The battery switch is relocated to the lower-right of the screen, and there's two push buttons on the bottom on either side of the USB connector (left, by the battery connector for RESET), and right (BOOTLOADER)...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for the reply. I did try without installing any drivers. Win 10
would say it was setting up the device, then claim it'd set it up, but
it wasn't showing up as a USB device. It'd show up in the Device
Manager as an "Other Devices" with the warning triangle next to it and
said no drivers were loaded...
Once I took a look at the docs.espressif.com... page I linked
previously, it had a link for a driver at zadig.akeo.ie
Before I had the driver installed, I couldn't dump the firmware with the
dfu-util. Once I had that driver installed, I could.
Note that I still can't read all 4MB of the SPI Flash with esptool -
won't work unless I have the --no-stub option enabled, and it fails at
50% complete regardless of the baud rate that's set.
I want to get a dump of the original firmware in case something goes
wrong with the sketch upload from the IDE.
Best Regards,
…-- David
On 8/13/2021 6:58 PM, Morpheans wrote:
Esp32 S2 chip does NOT require a specific USB driver. It is native. The
ESP32 normal requires one. Not the S2. The trick is to put the
morphesp240 into boot mode (see readme first pdf in our github). The way
to do this is a bit hard at first time for esp32classic owners. If you
have windows, there should be a sound whe the usb port is mounted. Once
mounted, recheck the COM port in ArduinoIDE and upload. Get sure your
arduino ESp32 boards is up to date and select ESP32-Dev board
Respectueusement
Florian Lecoeuvre
Gérant / Co-Fondateur
SARL Morpheans
> Le 13 août 2021 à 21:32, daviddata1 ***@***.***> a écrit :
>
>
> When I put the board into boot mode, it doesn't mount the USB on a
Win 10 machine. I get the yellow diamond with the exclaimation point
inside it in the Device Manager.
>
> Says ESP32-S2 for the device name
>
> Code 28, the drivers for this device are not installed.
>
> When I try to update them, they're not found.
>
> Any ideas?
>
> Got it figured out through much GoogleFu and experimentation.
>
> Here's the overview:
>
> Attach to USB, Put the board into download mode. Hold down left push
button, Press and hold right button, release right button after a sec or
two, release left button...
>
> Get the zadig driver tool from https://zadig.akeo.ie
>
> Download version 2.5
>
> Run it. Install the drivers (USB ID was: 303a 0002). It'll pause for
a few seconds - it's not hung up. Wait. It'll start downloading and
installing the drivers.... takes a while (I did this on an HP laptop
w/an i7 CPU 4GHz, 16GB RAM, 512GB SSD).
>
> Drivers install. Check "Device Manager" in control panel. You'll no
longer see the ESP32-S2 in the "Other Devices" section, it'll show up in
the USB Devices section...
> I dumped the firmware to a file before fooling with other sketches.
>
> dfu-util -v -U MorphESP240_OriginalDFU.bin
>
> The first time I ran it, it threw an error about being in runtime
mode and detaching.
>
> I ran it again, and it worked the 2nd time. Copied 4194304 bytes...
>
> dfu-util is available at: https://dfu-util.sourceforge.net/releases
>
> I used the dfu-util-0.9-win64.zip
>
> More info at:
>
>
https://docs.espressif.com/projects/esp-idf/zn_CN/latest/esp32s2/api-guides/dfu.html
>
> [some of it's in chinese, but you should be able to make it out...
break out Google Translate if you need to]
>
> Hope this helps save someone some time... For a device that's
supposedly out in "Production" this should have already been documented.
No, I'm not opposed to hacking or playing with things, but when I buy
something I'd like to know if it's "Beta" beforehand in case I just need
it to work. Because I needed this for a particular use case and wasn't
sure it was going to actually work, I purchased an m5Stack Core2 from a
vendor in the UK, it showed up in the US in a few days, and I had it
working immediately. As a gentle suggestion, if you want to have another
successful crowd campaign, please do a better job of documenting.
>
> Note also that the board is a different revision than what you see in
the 3D renderings on the website and Crowdsupply. The battery switch is
relocated to the lower-right of the screen, and there's two push buttons
on the bottom on either side of the USB connector (left, by the battery
connector for RESET), and right (BOOTLOADER)...
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMGGOFR2FS6OC277M52VL3T4WWSJANCNFSM5B237XZA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Seems to be a moot point now as board number 1 will no longer power on at all, and board number 2 is DOA. ¯_(ツ)_/¯ |
Embarrassing situation ... |
I suspect there's something wrong with this board. Also, the LED screen overlay seems to have separated from the backlight - glue went bad or something... |
Plug the MORPEsp32 in to USB and ...
But those are not ports that esptool can work with.
Also, not having a board definition available for Arduino makes programming this board rather hard. Any plans to actually support this board properly?
The text was updated successfully, but these errors were encountered: