Contact me: hankecnc@gmail.com

无法通过 Web UI 与 SD 卡交互 #802

推推 grbl 3年前 (2023-01-30) 285次浏览
关闭
bcongdon 打开了这个问题 2021 年 3 月 8 日 · 5 条评论
关闭

无法通过 Web UI 与 SD 卡交互#802

bcongdon 打开了这个问题 2021 年 3 月 8 日 · 5 条评论

注释

无法通过 Web UI 与 SD 卡交互 #802
  • 您使用的是什么版本的固件?
  • 问题是否可重复?
    • 是的。
  • 什么情况下会出现bug?
    • 与使用 SD 卡的 Web UI 的任何交互(刷新内容、尝试上传文件、尝试创建目录等)都会导致 ESP32 重置(例如完全关闭并重新启动)。
      • 我不确定这是否只是 ESP32 重置的结果,但一些 SD 卡交互导致我的 Z 轴伺服也移动
    • 这仅适用于使用 Web UI。$SD/List我可以使用串行接口(例如, )与 SD 卡交互,$SD/Run=...没有任何问题。

查看be08690的补丁节点,看起来最近与 SD 卡的一些交互发生了变化。我想知道这是否是问题的一部分?

我知道这没什么大不了的,所以请告诉我是否可以提供更好的日志或更多可操作的详细信息。谢谢!

无法通过 Web UI 与 SD 卡交互 #802 bcongdon 添加了 漏洞 有些东西不工作标签 2021 年 3 月 8 日
无法通过 Web UI 与 SD 卡交互 #802

可能与这个问题相同:#841

无法通过 Web UI 与 SD 卡交互 #802
所有者
培养 评论了 2021 年 5 月 28 日  

引导消息对我们了解您的设置非常有帮助。

https://github.com/bdring/Grbl_Esp32/wiki/Requesting-Help#boot-messages

无法通过 Web UI 与 SD 卡交互 #802
卡尔斯隆德 评论了 2021 年 5 月 28 日  

这是崩溃的转储。固件是用 Arduino ESP 1.06 编译的,低版本问题消失了(ESP 1.05 工作正常)。

再现只需在 WEB UI 中按 SD 卡上的“刷新”即可。

[MSG:Grbl_ESP32 Ver 1.3a Date 20210424]
[MSG:Compiled with ESP32 SDK:v3.3.5-1-g85c43024c]
[MSG:Using machine:6 Pack External XYYZAB LAK]
[MSG:Axis count 5]
[MSG:I2S Steps, Stream]
[MSG:Door switch on pin GPIO(36)]
[MSG:Hold switch on pin GPIO(25)]
[MSG:Start switch on pin GPIO(39)]
[MSG:User Digital Output:0 on Pin:GPIO(15)]
[MSG:User Analog Output:0 on Pin:GPIO(12) Freq:5000Hz]
[MSG:Init Motors]
[MSG:X  Axis Standard Stepper Step:I2SO(2) Dir:I2SO(1) Disable:I2SO(0) Limits(0.000,1242.000)]
[MSG:Y  Axis Standard Stepper Step:I2SO(5) Dir:I2SO(4) Disable:I2SO(7) Limits(-1480.000,0.000)]
[MSG:Y2 Axis Standard Stepper Step:I2SO(10) Dir:I2SO(9) Disable:I2SO(8) Limits(-1480.000,0.000)]
[MSG:Z  Axis Standard Stepper Step:I2SO(13) Dir:I2SO(12) Disable:I2SO(15) Limits(-127.000,0.000)]
[MSG:A  Axis Standard Stepper Step:I2SO(18) Dir:I2SO(17) Disable:I2SO(16) Limits(-300.000,0.000)]
[MSG:B  Axis Standard Stepper Step:I2SO(21) Dir:I2SO(20) Disable:I2SO(23) Limits(-300.000,0.000)]
[MSG:Initializing RS485 VFD spindle]
[MSG:VFD RS485  Tx:GPIO(26) Rx:GPIO(16) RTS:GPIO(4)]

[MSG:Client Started]
[MSG:Connecting MySSID]
[MSG:Connecting.]
[MSG:VFD: VFD settings read: RPM Range(6000, 24000)]]
[MSG:Connecting..]
[MSG:Connecting...]
[MSG:Connecting....]
[MSG:Connecting.]
[MSG:Connecting..]
[MSG:Connecting...]
[MSG:Connecting....]
[MSG:Connected with 1.1.0.1]
[MSG:Start mDNS with hostname:http://LaHenrique.local/]
[MSG:SSDP Started]
[MSG:HTTP Started]
[MSG:TELNET Started 23]
[MSG:Flood coolant on pin GPIO(13)]
[MSG:Mist coolant on pin GPIO(14)]
[MSG:X  Axis limit switch on pin GPIO(33)]
[MSG:Y  Axis limit switch on pin GPIO(32)]
[MSG:Y2 Axis limit switch on pin GPIO(35)]
[MSG:Z  Axis limit switch on pin GPIO(34)]
[MSG:Probe on pin GPIO(2)]

Grbl 1.3a ['$' for help]
[MSG:'$H'|'$X' to unlock]
***ERROR*** A stack overflow in task clientCheckTask has been detected.
abort() was called at PC 0x40090bf0 on core 1

ELF file SHA256: 0000000000000000

Backtrace: 0x4009095c:0x3ffd41d0 0x40090bd9:0x3ffd41f0 0x40090bf0:0x3ffd4210 0x400934d7:0x3ffd4230 0x400950a0:0x3ffd4250 0x40095056:0xa5a5a5a5

Rebooting...

然后它会持续启动并崩溃并显示相同的消息一段时间,直到浏览器放弃,然后固件存活下来。

这是同一崩溃循环的另一个回溯:

Backtrace: 0x4009095c:0x3ffbb6c0 0x40090bd9:0x3ffbb6e0 0x40090bf0:0x3ffbb700 0x400934d7:0x3ffbb720 0x400950a0:0x3ffbb740 0x40095056:0x00000000

希望这可以帮助。

@bdring感谢 6 轴板 – 上周末我改装了我的机器,到目前为止一切看起来都很好。在 PCB 上做得很好!

无法通过 Web UI 与 SD 卡交互 #802
所有者

你能附上你的机器定义文件吗?我可以尝试运行它。

“检测到任务 clientCheckTask 中的堆栈溢出。” 是一个很好的线索。该任务可能使用了太多内存。

无法通过 Web UI 与 SD 卡交互 #802
所有者

您必须在 Arduino IDE 中或通过 PlatformIO 使用 ESP32 库版本 1.0.3 进行编译