Hot answers tagged

10

After much frustration in trying things, I came across this forum post which advised: sudo systemctl stop ModemManager.service If this works, disable the service from starting next boot: sudo systemctl disable ModemManager.service It seems like setting ENV{ID_MM_DEVICE_IGNORE}="1" in a udev rule is insufficient.


3

The problem is in kernel ch341 driver. Using 5.3.3 on Archlinux and 5.6 rc1. https://github.com/torvalds/linux/blob/e33eab9ded328ccc14308afa51b5be7cbe78d30b/drivers/usb/serial/ch341.c This driver version compiled using this Makefile obj-m += ch341-m.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/...


3

Install libtinfo5, the terminfo library. If that doesn't help, you can try to debug the problem yourself. First, check which libtinfo avrdude is looking for: ldd arduino-1.7.8-linux64/hardware/tools/avr/bin/avrdude_bin | grep libtinfo On my Ubuntu, I get this: libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa74a888000) Next, see where ...


2

You have to rebuild sys-libs/ncurses with tinfo USE flag turned on. (You can also make a symlink: libtinfo.so -> libncurses.so, but it's not elegant solution). Firstly, check if you have a record for ncurses in any file in /etc/portage/package.use. If not, create a file /etc/portage/package.use/ncurses with such content: sys-libs/ncurses tinfo then, ...


2

Sorry, I was using the software center to get arduino IDE and that didn't work well. Downloading the official IDE from arduino.cc worked without hassle. Lesson learnt: Not all linux distros have package repos as up-to-date as Arch. :P


2

I finally solved the problem. Although the Board has no information about being a clone (it only says "Uno" and was provided by the faculty so I think it is official), I was looking on the web for similar problems and found out that installing CH340 Driver was working for a lot of users. So that was what I did and now it works like a charm.


2

Things to check: Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads. Partition arrangement selected. You have to make sure that the partition arrangement you have chose supports OTA uploads. You have to reset the ESP8266 manually after your USB upload. You can only do an OTA update to a sketch that ...


2

The problem was an Bluetooth extension I connected to the board. I removed it, uploaded the program, reconnected it, and that worked!


1

I'd check 3 things: If it's a specific USB port/cable problem, not related to the NodeMCU itself (your said it interacted with your USB keyboard, what makes sense if it's a computer-usb issue). Try to connect the NodeMCU to a different USB port/hub in your computer using another USB cable. Of course it could be a USB-Serial driver issue. Please make sure ...


1

Try updating the Serial Driver in your system or try using lesser baud rate, i.e. 9600 instead of 115200.


1

If the main MCU is still functioning fine then yes, sure you can. The only caveat is that you may have to manually reset the Arduino at the right moment in order to enter the bootloader for programming. Connect the bluetooth module to TX/RX/GND (TX->RX, RX->TX) Configure the bluetooth module to work at the bootloader baud rate (115200 baud) - you may need ...


1

Removing there pin headers should not cause any sketch upload issue. I have done it many times. You did try uploading BEFORE unsoldering the headers right ? However looking at the desoldering job you did, my guess is that you applied too much heat or cut a trace on the PCB while doing it. Can you upload a high resolution of the back side of the board? ...


Only top voted, non community-wiki answers of a minimum length are eligible