MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Error downloading package

    ESP32
    3
    6
    644
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      abdultechguy999 last edited by

      I've been trying to install esp32 on Arduino IDE for days now but I keep getting 'error downloading package' message. I checked the over and over again, it's correct. I even tried installing it manually using GitGUI but it's not working. Please help me.

      salmanfaris 1 Reply Last reply Reply Quote 0
      • salmanfaris
        salmanfaris @abdultechguy999 last edited by

        @abdultechguy999 Can you share the Board URL you using? it might be the wrong board URL!

        A 1 Reply Last reply Reply Quote 0
        • A
          abdultechguy999 @salmanfaris last edited by

          @salmanfaris I tried three types which I all found on the net

          https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
          https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

          https://dl.espressif.com/dl/package_esp32_index.json

          All I keep getting is an error message
          'Error downloading [the link]'

          salmanfaris 1 Reply Last reply Reply Quote 0
          • salmanfaris
            salmanfaris @abdultechguy999 last edited by

            @abdultechguy999 It looks like Arduino IDE having trouble to connect internet, can you try to download any other board from the board manager or library from the library manager!

            1 Reply Last reply Reply Quote 0
            • kowshik1729
              kowshik1729 last edited by

              @abdultechguy999 usually https://dl.espressif.com/dl/package_esp32_index.json this works while installing through boards manager. But I faced the same issue some times. it might be due to a couple of reasons.

              1. Bad Internet connectivity

              2. The license of the https://dl.espressif.com/dl/package_esp32_index.json might be expired(If this is the reason you can't do anything but just wait until they re-activate the license)

              I remember there is a way to install the board files offline by downloading from some github repos.

              All the best.

              1 Reply Last reply Reply Quote 1
              • salmanfaris
                salmanfaris last edited by

                @kowshik1729 said in Error downloading package:

                The license of the https://dl.espressif.com/dl/package_esp32_index.json might be expired(If this is the reason you can't do anything but just wait until they re-activate the license)

                e210e762-5609-4f60-9409-3c5df1123744-image.png If the page liecence

                It's good.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Recent Posts

                • A

                  @Richu-Bini I'm not sure if this is the root cause but normally, you should add an RC delay on the EN pin. This is because the BOOT pin should reach 3.3V before the EN reaches 3.3V hence, the RC delay on the EN pin. A 10K resistor and a 1μF Cap should do it. Here's a sketch on how it should look like:
                  RC delay on ESP.jpg

                  Here is the part in the datasheet of the WROOM32 that tells you to do it:
                  WROOM_Data.PNG

                  • read more
                • R

                  @Richu-Bini am using an Arduino uno as ttl module

                  • read more
                • Hi @Richu-Bini , What kind of UART/FTDI programmer you are using? Could also share the connection diagram to the module with the programmer?

                  and in the diagram I see, you already twisted Rx and Tx, so you should connect the FTDI with the module Esp32 Rx - FTDI Rx and Esp32 TX - FTDI TX.

                  7c84a195-7185-4c07-ab28-7270a9017db7-image.png

                  • read more
                • R

                  WhatsApp Image 2023-05-10 at 12.37.42.jpg

                  Showing this message from serial monitor .... i have used an arduino as a TTL module by shorting the GND and reset pin
                  WhatsApp Image 2023-05-10 at 09.14.46.jpg

                  when i tried to upload the code it is showing this error

                  956c990f-9b85-44a5-8c27-1b02402eae4c-image.png

                  This is the schematic i used

                  • read more
                • @Adithya-SM Can you confirm the I2C address is correct? You can use this I2C Scanner to program to find the correct address

                  // -------------------------------------- // i2c_scanner // // Modified from https://playground.arduino.cc/Main/I2cScanner/ // -------------------------------------- #include <Wire.h> // Set I2C bus to use: Wire, Wire1, etc. #define WIRE Wire void setup() { WIRE.begin(); Serial.begin(9600); while (!Serial) delay(10); Serial.println("\nI2C Scanner"); } void loop() { byte error, address; int nDevices; Serial.println("Scanning..."); nDevices = 0; for(address = 1; address < 127; address++ ) { // The i2c_scanner uses the return value of // the Write.endTransmisstion to see if // a device did acknowledge to the address. WIRE.beginTransmission(address); error = WIRE.endTransmission(); if (error == 0) { Serial.print("I2C device found at address 0x"); if (address<16) Serial.print("0"); Serial.print(address,HEX); Serial.println(" !"); nDevices++; } else if (error==4) { Serial.print("Unknown error at address 0x"); if (address<16) Serial.print("0"); Serial.println(address,HEX); } } if (nDevices == 0) Serial.println("No I2C devices found\n"); else Serial.println("done\n"); delay(5000); // wait 5 seconds for next scan }

                  • read more
                By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
                Copyright © 2023 MakerGram, All rights reserved.
                Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct