- 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
Setup NodeMCU ESP32 is not working
6 views (last 30 days)
Show older comments
Johannes Gutjahr
on 22 Dec 2022
Commented: Johannes Gutjahr
on 26 Dec 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.
0 Comments
Accepted Answer
Manjunatha Vankadari Gopalakrishna
on 26 Dec 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,
Thanks,
Manjunatha
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!