An error occurred while uploading the sketch
/home/swt/.arduino15/packages/vega/tools/vegaflasher/002/flasher.bat /dev/ttyUSB0 /tmp/arduino_build_245871/HelloWorld.ino.bin
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
You need to select the correct controller in the IDE and the board needs to have bootloader installed.
1 Like
Hi @ajinkya_jadhav. I see the problem here:
sudo ${BASEDIR}/reset > /dev/null
It is possible the sudo is unnecessary in that command (I don't own one of these boards so I can't check myself). You can try removing it to see if that fixes the problem:
- Open the file at the following path in any text editor:
/home/swt/.arduino15/packages/vega/tools/vegaflasher/002/flasher.bat
The .arduino15folder may be hidden by default in your file manager and terminal. - Change line 3 of the file from:
to:sudo ${BASEDIR}/reset > /dev/null${BASEDIR}/reset > /dev/null - Save the file.
- Try uploading the sketch to your Aries board again.
1 Like
thank you . i try it
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.