Failed to restart into bootloader

HI,

root@Ubuntu:~/Downloads# ./flash_linux.sh
Flashing board… If you receive a ‘Permission denied’ error, you can set up udev rules via:
printf ‘KERNEL==“ttyUSB[0-9]",MODE=“0666”\nKERNEL=="ttyACM[0-9]”,MODE=“0666”’ | sudo tee -a /etc/udev/rules.d/50-myusb.rules
(unplug the device for this to take effect)

[ETA] Connecting to /dev/ttyUSB0…
[ETA] Connected, restarting into bootloader…
[ETA] Not in bootloader mode yet… Restarting into bootloader at baud rate 460800…

Failed to restart into the bootloader. Press the RESET button on your AI Sensor
(the LEDs should be blinking) and run this application again.
root@Ubuntu:~/Downloads#
root@Ubuntu:~/Downloads#
root@Ubuntu:~/Downloads# eta-flash-tool --firmware-path eta-compute-ecm3532-ai-sensor.bin
[ETA] Connecting to /dev/ttyUSB0…
[ETA] Connected, restarting into bootloader…
[ETA] Not in bootloader mode yet… Restarting into bootloader at baud rate 460800…

Failed to restart into the bootloader. Press the RESET button on your AI Sensor
(the LEDs should be blinking) and run this application again.
root@Ubuntu:~/Downloads#
root@Ubuntu:~/Downloads#

I get the above errors, when i try using the flash_linux.sh

Thanks

Hi @vlsireddy, if you press the RESET button on your AI Sensor do the 5 LEDs start blinking rapidly (after a few seconds they should go out)? If so, try to press the RESET button when this message appears:

[ETA] Not in bootloader mode yet… Restarting into bootloader at baud rate 460800…

HI @janjongboom ,
yes, i press RESET button, i see LEDS blinking on 4 LEDs in D1, D2, D5 and the middle one[D3 ??]. last LED [D4 ??] does not glow.

the LEDS does not go out after few seconds, they are in that blinking fashion forever.

@vlsireddy I’ve pinged someone from Eta Compute, hopefully they have more info.

@vlsireddy Could you check the orientation of the Sparkfun board? If plugged in incorrectly the board would still work a bit due to leakage power, but won’t actually start up properly.

Hi yes,
you are right. i connected it reverse direction. that was the issue. Thanks for pointing. 1st setup learnt it hard way.

@vlsireddy :smiley: Great, thanks for reporting back.

You’re using an untested version of Arduino CLI, this might cause issues (found: 0.31.0, expected: 0.18.x)
Finding Arduino Mbed core…
Finding Arduino Mbed OK
Finding Arduino Nicla Vision…
Finding Arduino Nicla Vision OK
Flashing board… If you receive a ‘Permission denied’ error, you can set up udev rules via:
printf ‘KERNEL==“ttyUSB[0-9]",MODE=“0666”\nKERNEL=="ttyACM[0-9]”,MODE=“0666”’ | sudo tee -a /etc/udev/rules.d/50-myusb.rules
(unplug the device for this to take effect)

TOUCH: error during reset: setting DTR to OFF: broken pipe
dfu-util 0.10-dev

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
dfu-util: Cannot open DFU device 2341:035f found on devnum 53 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
Failed uploading: uploading error: exit status 74

Flashing failed. Here are some options:
If your error is ‘incorrect FQBN’ you’ll need to upgrade the Arduino core via:
$ arduino-cli core update-index
$ arduino-cli core install arduino:mbed_nicla@3.2.0
Otherwise, double tap the RESET button to load the bootloader and try again

i got above error,when i try using the flash_linux.sh