Search found 290 matches

by ESP_morris
Fri Mar 01, 2019 2:59 am
Forum: Hardware
Topic: ESP32-DevKitC / LAN 8720 Waveshare DHCP Client doesn't start
Replies: 5
Views: 8752

Re: ESP32-DevKitC / LAN 8720 Waveshare DHCP Client doesn't start

So you're using GPIO17 output mode for Ethernet RMII Clock. Something you need to check: 1. You're not using a ESP32 with a PSRAM, because PSRAM also take on this GPIO. 2. Make sure you have connected GPIO17 to LAN8720's REFCLOCK (and LAN8720's clock mode has been set to using external clock by some...
by ESP_morris
Thu Feb 28, 2019 8:24 am
Forum: ESP-IDF 中文讨论版
Topic: 例程simple_sniffer接收wifi数据包时老是丢包,是否有什么改进办法?
Replies: 1
Views: 5797

Re: 例程simple_sniffer接收wifi数据包时老是丢包,是否有什么改进办法?

yrnaaa wrote:
Mon Jan 21, 2019 9:55 am
您好!

在用例程simple_sniffer接收wifi数据包时老是丢包,是否有什么改进办法?

谢谢
你好,sniffer capture的示例已经被更新,已知的bug已被修复。
https://github.com/espressif/esp-idf/tr ... le_sniffer
by ESP_morris
Thu Feb 28, 2019 2:21 am
Forum: Hardware
Topic: ESP32-DevKitC / LAN 8720 Waveshare DHCP Client doesn't start
Replies: 5
Views: 8752

Re: ESP32-DevKitC / LAN 8720 Waveshare DHCP Client doesn't start

Can you show how you connect LAN8720 with ESP32-DevKitC? And the sdkconfig file?

And I would suggest you see this first: https://github.com/espressif/esp-idf/pull/1127
by ESP_morris
Thu Jan 31, 2019 5:06 am
Forum: ESP-IDF 中文讨论版
Topic: 希望提供官方的websocket库
Replies: 1
Views: 6221

Re: 希望提供官方的websocket库

好的,感谢你的提议,我们未来会考虑加入websocket组件,也欢迎你们去github提PR。

如果您有关于websocket的项目开发,目前可以参考这里:

https://github.com/nkolban/esp32-snippe ... Socket.cpp
by ESP_morris
Thu Jan 31, 2019 2:33 am
Forum: ESP-IDF
Topic: esp_eth_disable() crash
Replies: 4
Views: 6123

Re: esp_eth_disable() crash

Hmm, Really ? None of the ESP guys are willing to help? Sorry for the delay. So finally this an issue about the tcp/ip stack. right? The Github issue you mentioned has been reopend. Some one will soon reply on it. And could you please give us more detailed information about your issue? The original...
by ESP_morris
Thu Dec 27, 2018 5:54 am
Forum: ESP-IDF 中文讨论版
Topic: esp32有支持国产RTOS rt-thread的计划么?
Replies: 4
Views: 15776

Re: esp32有支持国产RTOS rt-thread的计划么?

aureoleday wrote:
Fri Dec 21, 2018 8:02 am
@In逍遥子 wrote:
Wed Dec 19, 2018 7:01 am
乐鑫官方没有发布 RT-Thread 的开发包,GitHub 上有个人仓库可以参考 Link(https://github.com/BernardXiong/rtthread-esp-idf) 学习。
这个我试了,编译不通过,没法用啊
IIRC,Bernard的代码是根据idf2版本做的移植,你尝试可以去那里提交issue
by ESP_morris
Tue Dec 25, 2018 10:55 am
Forum: ESP-IDF 中文讨论版
Topic: esp32的freertos支持cli么
Replies: 2
Views: 6961

Re: esp32的freertos支持cli么

当然支持命令行终端,还支持命令补全,记录历史命令。 IDF中有console组件,推荐你阅读以下文档: https://docs.espressif.com/projects/esp-idf/zh_CN/latest/api-guides/console.html 此外,IDF还提供了较多基于console组件的非常有用的example(比如i2c-tool, iperf),可以借鉴学习其具体的使用方法。 https://github.com/espressif/esp-idf/tree/master/examples/system/console https://github.com/esp...
by ESP_morris
Tue Dec 25, 2018 9:31 am
Forum: ESP-IDF 中文讨论版
Topic: 使用idf中的Ethernet示例时,出现错误代码Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0xffff
Replies: 11
Views: 24732

Re: 使用idf中的Ethernet示例时,出现错误代码Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0x

读PHY寄存器为0xFFFF通常情况可以这样排查:
1. 检查MDIO和MDC的接线是否错误
2. 检查RMII需要的50MHz时钟是否正常
3. 检查PHY地址是否配置正确(包括软件和硬件)
这里强烈建议,检查一遍控制PHY地址的strap引脚,不要悬空,**不要默认**!确保这些strap引脚已经被外部电阻上拉或者下拉了。

另一方面,如果还是不够确定PHY地址究竟是多少,可以在软件中尝试设置PHY地址从0开始到31,然后读取PHY ID寄存器,看看是否能够读到正常的数据,如果正确,记录下当前PHY地址。
by ESP_morris
Fri Dec 07, 2018 9:47 am
Forum: ESP-IDF
Topic: ESP32 Ethernet mac2mac communication
Replies: 3
Views: 5523

Re: ESP32 Ethernet mac2mac communication

FYI, you want to create a point-to-point link between two Ethernet MAC. There's a kind of interface call RevMII(Not RMII) which is aimed to this application.
For now, idf doesn't have support for this feature officially.
But we will eventually support it some day.