Skip to content
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

no port arduino ide 1.18.9 #10146

Open
1 task done
BimoSora2 opened this issue Aug 12, 2024 · 7 comments
Open
1 task done

no port arduino ide 1.18.9 #10146

BimoSora2 opened this issue Aug 12, 2024 · 7 comments
Assignees
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Needs investigation We need to do some research before taking next steps on this issue

Comments

@BimoSora2
Copy link

BimoSora2 commented Aug 12, 2024

Board

esp32 dev kitv1

Device Description

ESP32 Devkit V1

Hardware Configuration

ex

Version

latest master (checkout manually)

IDE Name

Arduino IDE 1.18.9

Operating System

Linux

Flash frequency

40 Mhz

PSRAM enabled

yes

Upload speed

15520

Description

I just updated the ESP32 board to 3.0.4 when the update was finished, why couldn't the Arduino Ide 1.x.x find the port but the Arduino Ide 2.x.x could find it?
https://github.com/user-attachments/assets/3ee9ab4f-4376-4657-9d6f-f6e70f7e6e38

Sketch

/*
  Blink without Delay

  Turns on and off a light emitting diode (LED) connected to a digital pin,
  without using the delay() function. This means that other code can run at the
  same time without being interrupted by the LED code.

  The circuit:
  - Use the onboard LED.
  - Note: Most Arduinos have an on-board LED you can control. On the UNO, MEGA
    and ZERO it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN
    is set to the correct LED pin independent of which board is used.
    If you want to know what pin the on-board LED is connected to on your
    Arduino model, check the Technical Specs of your board at:
    https://www.arduino.cc/en/Main/Products

  created 2005
  by David A. Mellis
  modified 8 Feb 2010
  by Paul Stoffregen
  modified 11 Nov 2013
  by Scott Fitzgerald
  modified 9 Jan 2017
  by Arturo Guadalupi

  This example code is in the public domain.

  https://www.arduino.cc/en/Tutorial/BuiltInExamples/BlinkWithoutDelay
*/

// constants won't change. Used here to set a pin number:
const int ledPin =  LED_BUILTIN;// the number of the LED pin

// Variables will change:
int ledState = LOW;             // ledState used to set the LED

// Generally, you should use "unsigned long" for variables that hold time
// The value will quickly become too large for an int to store
unsigned long previousMillis = 0;        // will store last time LED was updated

// constants won't change:
const long interval = 1000;           // interval at which to blink (milliseconds)

void setup() {
  // set the digital pin as output:
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // here is where you'd put code that needs to be running all the time.

  // check to see if it's time to blink the LED; that is, if the difference
  // between the current time and last time you blinked the LED is bigger than
  // the interval at which you want to blink the LED.
  unsigned long currentMillis = millis();

  if (currentMillis - previousMillis >= interval) {
    // save the last time you blinked the LED
    previousMillis = currentMillis;

    // if the LED is off turn it on and vice-versa:
    if (ledState == LOW) {
      ledState = HIGH;
    } else {
      ledState = LOW;
    }

    // set the LED with the ledState of the variable:
    digitalWrite(ledPin, ledState);
  }
}

Debug Message

I don't know, the port couldn't be found

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@BimoSora2 BimoSora2 added the Status: Awaiting triage Issue is waiting for triage label Aug 12, 2024
@lbernstone
Copy link
Contributor

On original esp32, this should have nothing to do with the IDE. Since you are in linux, you should be able to see the device on a usb port by calling lsusb from a terminal. If you don't see "Silicon Labs CP210x UART Bridge" (or maybe a CH340) in the list, then you have a physical connection problem. In most cases, connection problems with esp32 is due to a problem with the usb cable. Try a different cable, try a different usb port.

@SuGlider SuGlider added Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Aug 12, 2024
@SuGlider
Copy link
Collaborator

@BimoSora2 - Was IDE 2.2.1 able to download the sketch. Maybe this IDE version keep information in cache.
As @lbernstone said, you must see the USB Serial port when executing lsusb in a terminal window.

Anyway, this can't be fixed in this repository. In case there is an issue with the IDE the right place to post the issue is:
https://github.com/arduino/Arduino for IDE 1.x and https://github.com/arduino/arduino-ide for IDE 2.x

@SuGlider SuGlider added Resolution: Wontfix Arduino ESP32 team will not fix the issue IDE: Arduino IDE Issue relates to Arduino IDE labels Aug 12, 2024
@BimoSora2
Copy link
Author

BimoSora2 commented Aug 15, 2024

On original esp32, this should have nothing to do with the IDE. Since you are in linux, you should be able to see the device on a usb port by calling lsusb from a terminal. If you don't see "Silicon Labs CP210x UART Bridge" (or maybe a CH340) in the list, then you have a physical connection problem. In most cases, connection problems with esp32 is due to a problem with the usb cable. Try a different cable, try a different usb port.

Hi guys, I have tried 3 cables and 4 esp32 all the same in Arduino IDE 1.8.9 the port is not read. When I downgrade the board to 3.0.3 the port is read, that's what I'm confused about

Screenshot_20240815-082415_Firefox
Screenshot_20240815-082429_Firefox

@SuGlider SuGlider added Status: Needs investigation We need to do some research before taking next steps on this issue and removed Resolution: Wontfix Arduino ESP32 team will not fix the issue Type: Question Only question labels Aug 16, 2024
@SuGlider
Copy link
Collaborator

Hi guys, I have tried 3 cables and 4 esp32 all the same in Arduino IDE 1.18.9 the port is not read. When I downgrade the board to 3.0.3 the port is read, that's what I'm confused about

I'll try to test it using Linux.

@SuGlider SuGlider self-assigned this Aug 16, 2024
@BimoSora2
Copy link
Author

Hi guys, I have tried 3 cables and 4 esp32 all the same in Arduino IDE 1.18.9 the port is not read. When I downgrade the board to 3.0.3 the port is read, that's what I'm confused about

I'll try to test it using Linux.

ok

@lbernstone
Copy link
Contributor

Please open a terminal and run lsusb when the machine is in a state where it does not recognize the port. It is just hard to understand how the version of arduino-esp32 could have any effect on this, as it is an OS-level/IDE issue. If you switch to an Arduino AVR board (eg Arduino Uno), you should get the same port showing up (/dev/ttyUSB0 or ACM0).
You are certain this is an ESP32 Devkit V1 (maybe post a picture of the module markings)? What distro of linux is this?

@BimoSora2
Copy link
Author

Please open a terminal and run lsusb when the machine is in a state where it does not recognize the port. It is just hard to understand how the version of arduino-esp32 could have any effect on this, as it is an OS-level/IDE issue. If you switch to an Arduino AVR board (eg Arduino Uno), you should get the same port showing up (/dev/ttyUSB0 or ACM0). You are certain this is an ESP32 Devkit V1 (maybe post a picture of the module markings)? What distro of linux is this?

there is a strange thing happening, the port is not being read so I can't use serial monitor on esp 1.8.9 but I can upload the code

Parrot OS Based Debian
Cuplikan layar pada 2024-08-23 11-22-11
Cuplikan layar pada 2024-08-23 11-24-54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Needs investigation We need to do some research before taking next steps on this issue
Projects
None yet
Development

No branches or pull requests

3 participants