Lilypad USB not responding - arduino

I played for the hole day with my Lilypad USB, and out of the blue it stopped working.
The port in the Arduino IDE is gray (even if i am running as an admin). The device is no more shown the /dev/ or in the device manager for window.
In windows when i plug the device is and push the reset button twice i can see the device under other devices but after a few second the device disappears.
How can i resolve this matter? Is there another hardware factory reset method?
Please help.

hiduino answer from here helped
http://forum.arduino.cc/index.php?topic=153674.0;wap2

Related

How to fix Failed to connect to ESP32: Timed out waiting for packet header error?

I tried to flash an ESP32 but I didn't succeed, I tried with esptool.py and Arduino IDE. I tried to press the boot button and reset but it didn't work. Here is the error:
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
If using the Arduino IDE, try lowering the upload speed (Tools/Upload Speed). Lowering mine from 921600 to 460800 did the trick.
First ensure that you are in download mode:
Start the serial monitor and set the speed (mine is 115200).
While pressing the "boot" button, press and release the "en" button (your buttons may be labeled differently).
You should see something like this on the serial monitor:
waiting for download
Now start the upload
My development machine, a 2013 iMac is connected via USB to the USB-c port on my ESP32 Dev Module. Apparently the iMac's USB or ESP32 board's USB cannot keep up at the 921600 upload speed.
DISCLAIMER! May not be correct answer but may help to save time for someone.
Quick answer if you do not want read my experience: Disconnect all wires from pins and try uploading again! It may help.
I came across with the same error and could not figure it out. I first thought that something is wrong with the code, because it happened after I edited working code while figuring out where to connect what pin 😀. I also wasn't able to upload simple HelloWorld after it happened with connected wires. But then I disconnected all my wires from the board and the upload works fine.
I can not figure out the WHY factor but I think it must had been the input/data pin I was using, in my case D13. I have the DevKit with fewer pins. Maybe someone can comment why connected pins may make the error come up?
To make your ESP32 board go into flashing/uploading mode automatically, you can connect a 10 μF electrolytic capacitor between the EN pin and GND. When I had the same problem, when I followed this advice, the problem was solved.
References
Failed to connect to ESP32: Timed out waiting for packet header
espressif/arduino-esp32 - issue
On some AliExpress-like ESP32s you have to press the boot button in order to upload your sketch.
If you are watching the Arduino IDE console ouput and Connecting ... appears, you have to press the boot button for approximately 2 seconds until the console output changes.
Try to do this one after the other
Press the boot button when press uploading button until it write the code.
Try disconnect esp32 from the board/header/pcb that you are using right at the time.
Disconnect any other connection that your esp32 might have.
Do not connect to anything even your hand if possible.
Try put it in something that doesnt have a moist surface. look pic number 3.
MY CASES(30 pin version):
Case 1: I dont know why. I was connecting the pin to a female header it doesnt work and sometimes it just work like that. look pic number 1.
Case 2: when Im holding esp32 on my hand sometimes it wont work then i put it on my table and another time it doing well.
Case 3: pressing boot button when uploading it helped sometimes, and the other time it just work like it should.
Case 4: when it connected to pcb its simply just wont work, but when disconnected boom it work like nothing ever happen. look pic number 2.
Maybe just maybe something with capacitive or something like that (just assuming because number Case 1). hope that will help you out.
pic 1pic 2pic 3
This technique definitely working
Goto Tools > programmer, Select ISP and Upload Your Code.
if you can't see any programmer, then download 1.8.12 version.
https://www.arduino.cc/en/software/OldSoftwareReleases
With Arduino IDE
Make sure the Com port is selected under Tools menu. My experience with ESP32 is Com 5.
If it is not available as an option, try changing USB ports and/or re-select Tools - Board - ESP32 dev module.
Watch the "Compiling Sketch" window.
Press the "Boot" button as soon as you get the red message "Serial port Com 5" You can release the button as soon as it starts to upload.
If this doesn't work,try plugging into another USB port.
The Reset button only resets the uploaded sketch to re-initialise and has nothing to do with the uploading.
Install expressif.exe and port drivers,connect the port and flash the esp32 ,upload the code using ardiuno,solve the error
in my case buttons are new but not shorting properly as multimeter showed ..opened both scratched resoldered and all working
Changing by upload speed from 921600bps to 115200bps fixed it. No need to press any buttons.
Just download the drivers x)
CP210x: CP210x USB to UART Bridge VCP Drivers
FTDI: FTDI Virtual COM Port Drivers

ESP32,ESP8266, AND ESP8266 NODE MCU not working

1.I started with esp. 32 i used arduino IDE it only showed COM1 in PORTS. when i was uploading the code i pressed the boot button when connecting..... appears in the window but still an error (timeout....) occurs and code doesn't upload.
i installed the drivers but whenever i plugged in the usb cable a notification pops up that the computer doesn't recognize the device. i installed ch341 but it says the the drivers are preinstalled.
same problem appear with esp8266 node mcu.
Then using the same cable I started working with esp8266 no error popped up it had two options in PORT COM1 and COM4 I choose COM4 and I uploaded the blink code. it worked fine but after that i upload the WIFI SCAN code it started showing same problem as esp32... i disconnected it and connected again error popped up that it doesn't recognized by computer. and furthermore now it only shows com1 in ports option and when I press flash button the code doesn't get uploaded it shows timed out error. i disconnected and connected many times but it doesn't working.
are you setting like this??
this is my setting on the arduino
I mean you can try to install the esp32 USB port library CP210x_Universal_Windows_Driver.exe.
if your system does not detect esp8266 or NodeMCU boards while you installed all possible drivers, as mentioned in this GitHub issue change your USB wire cause the wire maybe is for just charging and not transferring data!
changing it worked for me!

Some Devices won't connect in Cisco Packet Tracer

In the past, when I used Cisco packet tracer I was just able to take, for example, one Computer, use the black wire and connect it to another computer. Without any extra changes it would connect.
But this doesn't seem to work now, but strangely I can connect some devices (such as switches and Servers - but not Switches and Computers).
Here is what I tried out:
Picture of what I tried out
It would be amazing if somebody could help me.
When you connect device of the same type with an Ethernet Cable, such as Computer-Computer Switch-Switch Router-Router or Router-Computer, you need a crossover cable(EIA/TIA 568B) (black dotted line icon in the PacketTracer). If you would to leave the choise to Packet Tracer you can choose the thunderbolt icon in the connection menu, but I do not recommend it because you need to learn.

Arduino IDE Flora - Greyed Out Ports

I'm trying to learn how to use the Adafruit Flora, and I have followed the guides below:
https://learn.adafruit.com/getting-started-with-flora/windows-setup
https://learn.adafruit.com/getting-started-with-flora/blink-onboard-led
But, I'm struggling withe connecting to a port. It's greyed out in my IDE and I have tried a lot of things like, booting to BIOS and changing the settings to auto, to looking in for any hidden devices in the device manager window. I can't see a "Ports COM" section there and it's preventing me from uploading anything to the flora.
Arduino: 1.6.11 (Windows 10), Board: "Adafruit Flora"
Couldn't find a Board on the selected port. Check that you have the correct
port selected. If it is correct, try pressing the board's reset button
after initiating the upload.
Please help!
First of all check your usb cable. It might be faulty one or it could be charge only. If your board light/blink, it mean power lines are ok. But if there is no action from OS, there might be communication lines broken or missing.

Arduino stk500_getsync(): not in sync

We have an arduino pro mini, we are trying to trying to upload sketch the controller but we are prohibited, as the arduino attempt to upload the sketch, it display an error of: not in sync.
We are pretty new in this are, so any help would be much appreciated.
Our setup is:
-Breadboard
-Connection to adapter: USB Serial.
-Arduino Pro Mini as a controller
Through the Arduino Programming Client.
The processor and the port are setup op properly.
The strange thing is, it has worked sometimes these past days..
Much Thanks.
Mieer
Do you push the "RESET" button when it starts uploading? Using the pro-mini probably you haven't connected the DTR pin, so it can't auto-reset the device (so you have to do it manually).
When Arduino starts the uploading phase just press the reset button. It should start.

Resources