Closed vakker closed 4 years ago
I found one issue with Linux that is mentioned here. The solution is to run sudo apt purge modemmanager
, as the guide says:
If you're on Linux, and are seeing multi-second delays connecting to the serial console, or are seeing "AT" and other gibberish when you connect, then the modemmanager service might be interfering. Just remove it; it doesn't have much use unless you're still using dial-up modems.
Regarding the No data received on serial port. Not able to proceed.
error, I assume have to put the board in DFU mode (by double pressing the reset button) every time. The guides do not say that the button needs to be pressed before uploading. However, using --touch 1200
does make it work. I.e. the full command: adafruit-nrfutil --verbose dfu serial -p /dev/ttyACM0 -b 115200 --singlebank -pkg <pkg.zip> --touch 1200
Maybe this will help someone in the future.
I'm trying to flash an Adafruit feather nRF52840 on Linux. I followed the steps from here, but I keep running into issues. I tried both the Arduino IDE and Platformio CLI and they seem to have the same error that leads back to
adafruit-nrfutil
.I tried to reproduce the same issue on Windows, but I could not so it seems to be a Linux only one (I haven't tried MacOS).
What happens:
I can upload the sketch once and then when I try to upload a new one, I get an error (same for Arduino IDE and PlatformIO):
Or I get this (for Arduino IDE):
and this for Platformio:
I tried older versions of adafruit-nrftool, but it didn't help.