Setup NodeMCU ESP32 is not working

7 visualizaciones (últimos 30 días)
Johannes Gutjahr
Johannes Gutjahr el 22 de Dic. de 2022
Comentada: Johannes Gutjahr el 26 de Dic. de 2022
Hey,
I tried to set up my NodeMCU ESP32 to Matlab, but I'm getting every time an error.
Even after I tried a few things on this forum, it's still not working.
I'm using MATLAB R2022b.
I went for the following guide, but I'm getting stuck on the third step:
Even if I'm pressing and holding the Boot-button, I receive the following Error:
Error log:
Dec 22, 2022 6:12:12 PM com.mathworks.hwservices.logging
INFO: usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--encrypt]
[--ignore-flash-encryption-efuse-setting]
[--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:\\Users\\Name'
Before I set up my ESP32 I went through the following installation guide:
After I received the error, I tried this troubleshooting guide with no results:
I selected the correct port, updated the drivers, connected my ESP32 via USB and pressed the Boot-button the whole time.
Does anyone know, what's the possible solution for my problem?
Thanks for answering.

Respuesta aceptada

Manjunatha Vankadari Gopalakrishna
Manjunatha Vankadari Gopalakrishna el 26 de Dic. de 2022
Hi,
Can you please confirm if your user name has space in it?
You can check in the following directory,
C:\Users\<user name>
If so then do the following,
  • Close the setup screen
  • Download all attached files and run applyPatch.m
  • Execute
  • >> rehash; rehash toolboxcache; rehash toolbox; rehash pathreset; clear classes; clear all;clc
  • Relaunch the hardware setup screen and follow the screens
  • >> arduionsetup
Thanks,
Manjunatha
  1 comentario
Johannes Gutjahr
Johannes Gutjahr el 26 de Dic. de 2022
Hi Manjunatha,
I don't really know, from where you got these files, but it worked absolutely fine.
I think I also could have a few directory problems, but after running applyPatch.m, I saw the directory of the utility-file.
I switched the old version with the new one manually, run arduinosetup and everything worked perfectly.
Thank you so much for helping me that fast.
I wish you happy holiday for the rest of the year!
Greets
Johannes

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by