I'm trying to flash the viam micro rdk to an ESP32 dev board (under windows WSL Ubuntu). after it asks me the wifi credentials it should let me select the serial comm port but it does not and fails with the FLashConnect error. Can someone help or does this only work on bare metal linux installs? I see in the YT demo the user is using MacOS.
#Micro RDK - connection issues
1 messages · Page 1 of 1 (latest)
Hi @spice coyote - Actually, it looks to me from the log snippet that it actually was writing OK but errored later in the process. Can you provide some details on the board you are trying to configure? Amount of flash storage, amount of PSRAM, etc.
Also, any details on what firmware you are trying to flash would be helpful. Is this a prebuilt viam-micro-server from our releases? Firmware you built yourself?
And finally, could you share the link to documentation that you pasted an image from? I'm having trouble finding it and would like to make sure it is correct.
hello @velvet sentinel its the ESP32 WROOM 32 dev kit. Spec sheet says 4MB SPI flash storage. not sure about PSRAM https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf
ESP32 firmware from here -> https://github.com/viamrobotics/micro-rdk/releases/latest/download/micro-rdk-installer-amd64-linux
Documentation link - I was following the Viam YT video https://www.youtube.com/watch?v=yUZMo8l8up4 but started following what the VIAM AI chat bot had suggested.
Flash your ESP32 with viam-micro-server.
Docs: https://docs.viam.com/installation/#flash-your-esp32-with-the-viam-micro-server-installer
Step-by-step instructions: https://codelabs.viam.com/guide/install-esp32/index.html?index=..%2F..index#0
yes pre built release
Welp just tried with an ESP32 WROVER32 -8 with same issue. Next, I tried it with no board attached and got to the same ERROR message. I'm guessing my boards are not showing up under WSL. will try using my Jetson Nano.
Actually I think the issue is that these boards only have 4MB flash. The builds we produce target 8MB flash, so that we can have two OTA partitions for the server.
But if, as you said, you tried with an 8MB board and saw the same error, then yes it is possible WSL is getting in the way. Please let me know how it goes with the Nano.
@spice coyote - Just checking in: were you able to get it flashed from the Jetson?
still not working from the jetson either
i can see the connections being made after the "dmesg | grep tty"
@spice coyote - Could you please post text logs that include the invoked command along with the output, rather than clipped screenshots? It is easier for me to see what is really going on. Meanwhile, have you tried a few obvious things (e.g. swapping out the cable, double checking it is data capable, building a small esp-idf program like one of the examples from esp-rs and ensuring that you can flash it)?