Strange USB enumeration behaviour on Wrover Dev Kit 4.1

davetcc
Posts: 3
Joined: Thu Oct 22, 2020 10:23 am

Strange USB enumeration behaviour on Wrover Dev Kit 4.1

Postby davetcc » Thu Oct 22, 2020 10:48 am

I have a rather odd problem that has recently started to occur with a Wrover developer kit 1.4 (with ILI9341 LCD); which prior to this appeared to be working correctly.

Environment:

Mac book pro running Catalina, (even rebuilt the Mac today to ensure it's not an OS problem)
Windows 10 device running "Version 10.0.18363.1139" (tried two different PCs).
ESP-WROVER-KIT_V4.1 jumper states:
  • *POWER - from USB or from external, makes no difference
    * RX & TX - connected
    * +all other jumpers are open.
Problem description:

A few days ago, I accidentally uploaded some firmware that used the JTAG ports, at the same time as requesting remote debugging thus possibly causing a conflict.

The issue is that whenever I connect the device to macOS it lists the serial port, but cannot access it. The error I get is error: (22, 'Invalid argument'). I've tried holding down BOOT while pressing EN, the ports again enumerate, again give the same error.

On Windows 10 the situation is even worse (even with the recommended FTDI drivers installed), it basically constantly disconnects the device and then reconnects it, so I'll see COM11 and COM12 appear momentarily, then disappear. At the same time, the USB enumeration sounds can be heard. I initially suspected it could be power related, so I tried powering from 5V on my bench supply. This eventually leads to a blue screen if left plugged in long enough!

At the moment I don't think the actual developer env matters much as the serial ports will not even enumerate in any mode. But my development environment is platformIO with Clion ID. It works flawlessly with another ESP32 board (Heltek WiFi kit 32) and also works flawlessly with my other ESP8266 boards.

Is there any way to recover the board from this situation, or is it likely to be a faulty board? The board is only a few months old, and has not been used that many times.

davetcc
Posts: 3
Joined: Thu Oct 22, 2020 10:23 am

Re: Strange USB enumeration behaviour on Wrover Dev Kit 4.1

Postby davetcc » Mon Oct 26, 2020 11:41 am

I was hoping that I'd just overlooked something fairly basic and would be quickly corrected, but that doesn't seem to be the case. I've not seen this behavior before and suspect there is some kind of issue with signal or power lines to the FTDI chip as it's constantly cycling through appearing then disappearing on the host.

However, the embedded code on the device works absolutely fine, even though there is no possible way to update it!

I think the best course of action is to follow up with product support where I purchased the device as I suspect it may be faulty.

ESP_Angus
Posts: 2227
Joined: Sun May 08, 2016 4:11 am

Re: Strange USB enumeration behaviour on Wrover Dev Kit 4.1

Postby ESP_Angus » Tue Oct 27, 2020 12:01 am

Hi dave,

If it's constantly enumerating and de-enumerating then this does sound like a faulty board.

Silly question, but have you tried swapping out the USB cable? Sometimes faulty USB problems like this come down to the cable (or a problem with the plug on a particular cable mating with the USB Micro socket.)

The only other possibility I can think of is something connected to the dev-kit or touching the pins is shorting power out, but it sounds like you ruled this out already.

Angus

davetcc
Posts: 3
Joined: Thu Oct 22, 2020 10:23 am

Re: Strange USB enumeration behaviour on Wrover Dev Kit 4.1

Postby davetcc » Tue Nov 03, 2020 11:02 am

Many thanks for the reply.

I've tried three different cables, a nearly new amazon basics micro usb (also tested with mbed -> STLink and working fine), a generic micro usb that I've had some time, also tested with another esp32, esp8266, and MKR with all working fine. Same in all cases.

I've even got out the magnifying glass and checked for any small pieces of debris or any damage on the board. Nothing I can see, I can only conclude that the board must be faulty. It's nearly new, so I'll arrange a return.

I've even run it off my bench PSU, the current was very stable at less than 0.2A on the external adapter. Like I say when run on external power, the board runs flawlessly on the program I managed to put onto there before this fault started!

Thanks,
Dave

Who is online

Users browsing this forum: No registered users and 12 guests