Arduino Alvik - Preparing Alvik For Arduino IDE

Hi All,
I have just received my Alvik robot, and I'm following the Alvik getting started documentation from docs.arduino.cc. When I try to prepare Alvik for the Arduino IDE by uploading using the Programmer option from the Sketch menu, it does not work as expected. I get the following error:

"A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
Failed programming: uploading error: exit status 2"

When I try to upload the example sketch "Drive" for Alvik, I get the following error:
"No DFU capable USB device available
Failed uploading: uploading error: exit status 74"

I'm stuck and unable to proceed with completing the preparation of the Arduino IDE for Alvik.

Can anyone help me?

Thanks and best regards,
David

Did you use the IDE to add the hardware/board support for Nano ESP32 and Library for Alvik?

For reference:
https://docs.arduino.cc/tutorials/alvik/setting-alvik-arduino-ide/

Hi @xfpd,
Yes, I did it. I followed the guide you mentioned, but there must be something wrong with my Alvik because it didn't work. :frowning:
Regards!

When you insert the USB cable to the Alvic, to you hear a system tone?

You will want to expand on this for more accurate results.

Nothing happens, any sound, any message, nothing...

Can you verify Device Manager recognizes (or does not recognize) your Alvik when you insert the USB and Alvik?

When I connect the USB cable (type-A into PC and type-C into Alvik) it is detected by Arduino IDE, so the "Arduino Nano ESP32 on COM6" message is shown

When I use the mBlock application, everything works fine. I can upload software from my PC to the Alvik robot without any issues. However, it doesn't work when I try to do the same using the Arduino IDE. Why is that?

From the "getting started page"... verify the Alvik is OFF

For Alvik to be recognized by your computer, it must be turned OFF.

When using the Arduino IDE, verify:
IDE >> TOOLS >> PORT >> (your port)
IDE >> TOOLS >> BOARD >> AVR BOARDS >> (your board) see following posts.

Can you explain why I should use the “AVR BOARDS” section, when the Alvik has an ESP32?

(Sorry if this is a really dumb question)

I agree with you that I was wrong.

Hi, has anyone been able to fix this issue? I just bought an Alvik and I am getting the same erros on Arduino Idle.

Has anyone solved this issue?

I have an Alvik working (with some issues…) with the Arduino IDE2.

Don’t ask me how I managed it - I think it must have been a fortuitous alignment of the planets.

It’s not something I can easily repeat (I have only one Nano ESP32), so I can’t really offer a great deal of help, but the answers are out there, but not necessarily in one clear process or procedure.

Edit: What’s also concerning is that some of the supplied examples don’t even compile - the fixes are simple, but it makes me wonder how they got released.