B4R Question directory error

Gerardo Tenreiro

Active Member
Licensed User
Hello,

I have a project in progress and I had it on a drive named "Z:", copy the whole folder to another drive named "D". don't change anything in the project, just copy it in its entirety from one disk to another disk.

With B4R I open the project in "Z:" and transfer, modify and others and everything works correctly
Comm B4R I open the project in "D:", it opens, I edit it but when sending to the ESP32 an error "The directory name is not valid" appears.

How is this error solved?

Attached the Log and screen copy with the error.
Thank you so much




1691654520285.png



Subiendo...
esptool.py v4.5.1
Serial port COM19
Connecting....
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 40:91:51:b2:ed:78
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00082fff...
Compressed 18960 bytes to 13074...
Writing at 0x00001000... (100 %)
Wrote 18960 bytes (13074 compressed) at 0x00001000 in 0.5 seconds (effective 323.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 473.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 699.2 kbit/s)...
Hash of data verified.
Compressed 467664 bytes to 258227...
Writing at 0x00010000... (6 %)
Writing at 0x0001a66d... (12 %)
Writing at 0x0002783e... (18 %)
Writing at 0x0002cdd3... (25 %)
Writing at 0x00032c5f... (31 %)
Writing at 0x00039382... (37 %)
Writing at 0x000402e3... (43 %)
Writing at 0x00046eb9... (50 %)
Writing at 0x0004dc90... (56 %)
Writing at 0x000570bc... (62 %)
Writing at 0x0005ce80... (68 %)
Writing at 0x00062352... (75 %)
Writing at 0x00067db0... (81 %)
Writing at 0x0006d49f... (87 %)
Writing at 0x00075b22... (93 %)
Writing at 0x0007ddbd... (100 %)
Wrote 467664 bytes (258227 compressed) at 0x00010000 in 4.2 seconds (effective 882.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
********************* INICIANDO PROGRAMA ****************
[IDE message - 10:01:43]
Ha ocurrido un error.
El nombre del directorio no es válido
 

Gerardo Tenreiro

Active Member
Licensed User
Thanks Erel.
It was the first thing I tried to clean the project
the result is the same

[IDE message - 9:30:06]
An error has occurred.
The directory name is invalid

Any other possible solution?

Thank you
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
If I copy the project to the original locationk "Z:" the problem is solved, it no longer gives the error.

çIf I open a new project and "D:" and then copy it to "Z:" the problem appears again with the project.

It is as if the original location of the project remains somewhere.
Thank you
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
If the project is copied successfully.

Everything works fine except for the wrong directory message after transferring to ESP32

It's just an error message at the end of the serial port transfer So the project is copied correctly

I did the test to export as ZIP and it doesn't work, it's a solution.

Thank you
 
Upvote 0
Top