开源改变世界

文件 index.html.gz 丢失,请上传 #109

推推 grbl 2年前 (2023-02-05) 494次浏览
关闭
TadyTheFish 开启了这个问题 2021 年 11 月 14 日 · 21条评论
关闭

文件 index.html.gz 丢失,请上传#109

TadyTheFish 开启了这个问题 2021 年 11 月 14 日 · 21条评论

评论

文件 index.html.gz 丢失,请上传 #109

我试图在 ESP32 开发板上刷写最新的 FluidNC。当我尝试连接到它 (AP) 时,它说您需要登录并打开一个页面,上面写着“文件 index.html.gz 丢失,请上传”。有什么建议吗?

文件 index.html.gz 丢失,请上传 #109

如果您使用安装程序脚本进行安装,index.html.gz 应该会自动安装。所以安装程序中可能存在错误,或者您使用了其他方法。你用什么方法刷的?

文件 index.html.gz 丢失,请上传 #109
作者

我下载了最新版本并使用安装脚本对其进行了刷新.. 就是这样

文件 index.html.gz 丢失,请上传 #109

请尝试使用脚本重新安装,然后复制并粘贴来自安装程序的消息,如下所示:

..\win64\esptool.exe --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 ..\common\bootloader_dio_80m.bin 0xe000 ..\common\boot_app0.bin 0x10000 firmware.bin 0x8000 partitions.bin 0x3d0000 ..\common\spiffs.bin
esptool.py v3.1
Found 1 serial ports
Serial port COM9
COM9 failed to connect: could not open port 'COM9': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
Serial port COM8
COM8 failed to connect: could not open port 'COM8': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
Serial port COM16
Connecting.....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:0a:c4:e8:2c:6c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0015afff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x003d0000 to 0x003fffff...
Compressed 17120 bytes to 11164...
Wrote 17120 bytes (11164 compressed) at 0x00001000 in 0.4 seconds (effective 317.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 568.4 kbit/s)...
Hash of data verified.
Compressed 1354560 bytes to 788659...
Wrote 1354560 bytes (788659 compressed) at 0x00010000 in 11.7 seconds (effective 924.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.1 seconds (effective 379.1 kbit/s)...
Hash of data verified.
Compressed 196608 bytes to 129302...
Wrote 196608 bytes (129302 compressed) at 0x003d0000 in 1.8 seconds (effective 897.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Press any key to continue . . .
文件 index.html.gz 丢失,请上传 #109
作者

我的 Windows 机器上有问题。esp工具没有连接。我之前发表的评论是在我使用 Ubuntu 机器时发表的。但我无权访问它

文件 index.html.gz 丢失,请上传 #109
合作者
米奇布拉德利 评论了 2021 年 11 月 14 日  

当您可以访问 Ubuntu 机器时,请向我们提供信息。

您可以通过安装或重新安装 ESP32 模块上的 USB 串行芯片的驱动程序来解决 Windows 连接问题。有些模组有新版本的CP2102芯片,旧驱动不支持。 https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html

文件 index.html.gz 丢失,请上传 #109
作者

我安装错了吗?在 linux 机器上,我在 wifi 目录中使用了 install-linux.sh。

文件 index.html.gz 丢失,请上传 #109

install-linux.sh 对于 Linux 是正确的。我不知道它为什么失败,在看到日志之前我无法猜测。

文件 index.html.gz 丢失,请上传 #109
作者
泰迪鱼 评论了 2021 年 11 月 14 日  

这是windows机器上的输出

D:\ELEKTRO\fluidnc-v3.2.4\wifi>install-win.bat
..\win64\esptool.exe --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 ..\common\bootloader_dio_80m.bin 0xe000 ..\common\boot_app0.bin 0x10000 firmware.bin 0x8000 partitions.bin 0x3d0000 ..\common\spiffs.bin
esptool.py v3.1
Found 1 serial ports
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____....._____
COM7 failed to connect: Failed to connect to ESP32: Timed out waiting for packet header

A fatal error occurred: Could not connect to an Espressif device on any of the 1 available serial ports.
Press any key to continue . . .

如果我打开 arduino IDE,串行端口可以工作,如果我重置电路板,这就是输出

[MSG:INFO: FluidNC v3.2.4]
[MSG:INFO: Compiled with ESP32 SDK:v3.3.5-1-g85c43024c]
[MSG:ERR: Missing config file /config.yaml]
[MSG:INFO: Using default configuration]
[MSG:INFO: Axes: using defaults]
[MSG:INFO: Kinematics: using defaults]
[MSG:INFO: Defaulting to Cartesian kinematics]
[MSG:INFO: Machine Default (Test Drive)]
[MSG:INFO: Board None]
[MSG:INFO: SPI not defined]
[MSG:INFO: Stepping:RMT Pulse:4us Dsbl Delay:0us Dir Delay:0us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (-1000.000,0.000)]
[MSG:INFO: Axis Y (-1000.000,0.000)]
[MSG:INFO: Axis Z (-1000.000,0.000)]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: Using spindle NoSpindle]
[MSG:INFO: STA SSID is not set]
[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]
[MSG:INFO: AP started]
[MSG:INFO: WiFi on]
[MSG:INFO: Captive Portal Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]

Grbl 3.2 [FluidNC v3.2.4 (wifi) '$' for help]
``
文件 index.html.gz 丢失,请上传 #109

在 Arduino 串行监视器中,发送命令

$localfs/列表

文件 index.html.gz 丢失,请上传 #109
作者
[Local FS Free:169.38 KB Used:0 B Total:169.38 KB]
ok
文件 index.html.gz 丢失,请上传 #109

尝试编辑文件 install-win.bat 并将 921600 更改为 115200,然后运行 ​​install-win.bat

文件 index.html.gz 丢失,请上传 #109
作者

不,不工作…. ESP32 引导加载程序等待下载

文件 index.html.gz 丢失,请上传 #109
作者

我会在星期一继续..现在谢谢你

文件 index.html.gz 丢失,请上传 #109

好的,接下来要尝试的是使用 WebUI 上传 index.html.gz 。该文件可以在https://github.com/bdring/FluidNC/blob/main/FluidNC/data/index.html.gz找到。

上传说明位于https://github.com/bdring/FluidNC/blob/main/FluidNC/data/index.html.gz

文件 index.html.gz 丢失,请上传 #109
作者

现在可以了。我不得不上传文件。怎么会?