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

Sketch flashing exits with status 1 #124

Open
Limpan opened this issue Jan 3, 2022 · 1 comment
Open

Sketch flashing exits with status 1 #124

Limpan opened this issue Jan 3, 2022 · 1 comment
Assignees
Labels
status: waiting for information More information must be provided before work can proceed type: imperfection Perceived defect in any part of project

Comments

@Limpan
Copy link

Limpan commented Jan 3, 2022

Bug Report

Current behavior

./arduino-fwuploader firmware flash -b arduino:mbed_nano:nanorp2040connect -a /dev/ttyACM0 -m NINA@1.4.8 --retries 2 -v --log-level trace

Flashing of sketch fails with exit status 1.

Expected behavior

I expected to update the firmware to 1.of the WIFI NINA-module on my Arduino Nano RP2040 Connect.

Environment

  • Updater version: arduino-fwuploader Version: 2.1.0 Commit: 144292a Date: 2021-09-30T13:00:05Z
  • OS and platform: Ubuntu 20.04 LTS

Additional context

I have flashed the Arduino board with the Blink sketch.

➜ ./arduino-fwuploader firmware flash -b arduino:mbed_nano:nanorp2040connect -a /dev/ttyACM0 -m NINA@1.4.8 --retries 2 -v --log-level trace
INFO[0000] arduino-fwuploader Version: 2.1.0 Commit: 144292a Date: 2021-09-30T13:00:05Z 
INFO[0000] Checking signature                            index=/tmp/55770067919477794103263350056/index.json signatureFile=/tmp/55770067919477794103263350056/index.json.sig trusted=true
INFO[0000] Checking signature                            index=/tmp/fwuploader/package_index.json signatureFile=/tmp/fwuploader/package_index.json.sig trusted=true
INFO[0000] Checking signature                            index=/tmp/fwuploader/module_firmware_index.json signatureFile=/tmp/fwuploader/module_firmware_index.json.sig trusted=true
DEBU[0000] fqbn: arduino:mbed_nano:nanorp2040connect, address: /dev/ttyACM0 
DEBU[0000] got board: arduino:mbed_nano:nanorp2040connect 
DEBU[0001] upload tool downloaded in /tmp/fwuploader/tools/rp2040tools/1.0.2 
DEBU[0001] module name: NINA, firmware version: 1.4.8   
DEBU[0001] firmware file downloaded in /tmp/fwuploader/firmwares/NINA/1.4.8/NINA-arduino.mbed_nano.nanorp2040connect.bin 
DEBU[0001] loader sketch downloaded in /tmp/fwuploader/sketch/loader.elf 
INFO[0001] Putting board into bootloader mode           
DEBU[0011] uploading with command: "/tmp/fwuploader/tools/rp2040tools/1.0.2/rp2040load" -v -D "/tmp/fwuploader/sketch/loader.elf" 
rp2040load 1.0.1 - compiled with go1.15.8
.....................
error during sketch flashing: exit status 1
ERRO[0022] error during sketch flashing: exit status 1  
INFO[0022] Waiting 1 second before retrying...          
INFO[0023] Retrying upload (1 of 2)                     
INFO[0023] Putting board into bootloader mode           
DEBU[0033] uploading with command: "/tmp/fwuploader/tools/rp2040tools/1.0.2/rp2040load" -v -D "/tmp/fwuploader/sketch/loader.elf" 
rp2040load 1.0.1 - compiled with go1.15.8
.....................
error during sketch flashing: exit status 1
ERRO[0043] error during sketch flashing: exit status 1  
FATA[0043] Operation failed. :-(        
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Jan 5, 2022
@facchinm
Copy link
Member

Hi @Limpan ,
did you already run the udev script https://github.com/arduino/ArduinoCore-mbed/blob/master/post_install.sh to allow flashing as a normal user?

@facchinm facchinm added the status: waiting for information More information must be provided before work can proceed label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for information More information must be provided before work can proceed type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants