Setup NodeMCU ESP32 is not working

조회 수: 6 (최근 30일)
Johannes Gutjahr
Johannes Gutjahr 2022년 12월 22일
댓글: Johannes Gutjahr 2022년 12월 26일
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.

채택된 답변

Manjunatha Vankadari Gopalakrishna
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
Johannes Gutjahr
Johannes Gutjahr 2022년 12월 26일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by