ESP32-S2 + DM9051 工作一段时间后报错

weichushun
Posts: 10
Joined: Sat Jun 20, 2020 5:16 am

ESP32-S2 + DM9051 工作一段时间后报错

Postby weichushun » Tue Mar 15, 2022 10:39 am

IDF4.4在以太网驱动好像有改动,可以支持多个以太网卡,不知道有没有影响?

不断打印如下信息,只有重启才能恢复正常。
_[0;31mE (23010062) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23010112) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23010215) dm9051.mac: no mem for receive buffer_[0m
_[0;31mE (23011062) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23011112) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23011365) dm9051.mac: no mem for receive buffer_[0m
_[0;31mE (23012062) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23012112) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23012515) dm9051.mac: no mem for receive buffer_[0m
_[0;31mE (23013062) dm9051.mac: emac_dm9051_transmit(648): read TCR failed_[0m
_[0;31mE (23013665) dm9051.mac: no mem for receive buffer_[0m

初步定位:
(1)Lora SPI正常,还在接收,
(2)RJ45的LED还在闪烁;
(3)华为路由器上已经看不到本设备的连接地址了;
(4)AP SSID经常看不到,偶尔可以看到,但是无法连接上;
(5)插拔网线,没有报down和up信息,打印信息没有任何变化,故障也不能恢复。
(5)DM9051有点烫,但是系统按键复位后,还是可以正常重启工作了。

weichushun
Posts: 10
Joined: Sat Jun 20, 2020 5:16 am

Re: ESP32-S2 + DM9051 工作一段时间后报错

Postby weichushun » Tue Mar 29, 2022 10:51 am

启用片外SPRAM,并把内存泄漏问题解决了,就没再出现。

Who is online

Users browsing this forum: No registered users and 46 guests