乐鑫技术交流
直播中

LL-LING宁

8年用户 1337经验值
擅长:电源/新能源
私信 关注
[问答]

esp32-mini-1能用于以太网吗?发现gpio16 17没有要注意什么?

esp32-mini-1能用于以太网吗?发现gpio16 17没有 要注意什么?

最近用esp32-mini-1画了个板子,接上了lan8720a.

用gpio0做ref时钟 因为gpio16 17都没引出。

gpio0又接到ch340用于启动时选择下载程序还是启动。

但还没调通。不知道什么原因。

1,esp32-mini-1能用于以太网吗?

2,要注意些什么?

现在把调试时的打印信息贴上来:

I (28) boot: ESP-IDF v4.4-dirty 2nd stage bootloader

I (28) boot: compile time 13:24:39

I (28) boot: chip revision: 3

I (31) boot.esp32: SPI Speed      : 40MHz

I (36) boot.esp32: SPI Mode       : DIO

I (40) boot.esp32: SPI Flash Size : 4MB

I (45) boot: Enabling RNG early entropy source...

I (50) boot: Partition Table:

I (54) boot: ## Label            Usage          Type ST Offset   Length

I (61) boot:  0 nvs              WiFi data        01 02 00009000 00006000

I (69) boot:  1 phy_init         RF data          01 01 0000f000 00001000

I (76) boot:  2 factory          factory app      00 00 00010000 00100000

I (84) boot: End of partition table

I (88) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=0de98h ( 56984) map

I (117) esp_image: segment 1: paddr=0001dec0 vaddr=3ffb0000 size=02158h (  8536) load

I (121) esp_image: segment 2: paddr=00020020 vaddr=400d0020 size=2faa0h (195232) map

I (193) esp_image: segment 3: paddr=0004fac8 vaddr=3ffb2158 size=0013ch (   316) load

I (194) esp_image: segment 4: paddr=0004fc0c vaddr=40080000 size=0b6c8h ( 46792) load

I (218) esp_image: segment 5: paddr=0005b2dc vaddr=50000000 size=00010h (    16) load

I (224) boot: Loaded app from partition at offset 0x10000

I (224) boot: Disabling RNG early entropy source...

I (238) cpu_start: Pro cpu up.

I (239) cpu_start: Starting app cpu, entry point is 0x4008107c

0x4008107c: call_start_cpu1 at D:/Users/.espressif/frameworks/esp-idf-v4.4/components/esp_system/port/cpu_start.c:156



I (0) cpu_start: App cpu up.

I (253) cpu_start: Pro cpu start user code

I (253) cpu_start: cpu freq: 160000000

I (253) cpu_start: Application information:

I (257) cpu_start: Project name:     ethernet_basic

I (263) cpu_start: App version:      1

I (267) cpu_start: Compile time:     Jan  9 2023 16:38:28

I (273) cpu_start: ELF file SHA256:  6e5a0cb16d6bb69b...

I (279) cpu_start: ESP-IDF:          v4.4-dirty

I (285) heap_init: Initializing. RAM available for dynamic allocation:

I (292) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM

I (298) heap_init: At 3FFB3AC0 len 0002C540 (177 KiB): DRAM

I (304) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM

I (310) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM

I (317) heap_init: At 4008B6C8 len 00014938 (82 KiB): IRAM

I (324) spi_flash: detected chip: generic

I (328) spi_flash: flash io: dio

I (333) cpu_start: Starting scheduler on PRO CPU.

I (0) cpu_start: Starting scheduler on APP CPU.

I (343) system_api: Base MAC address is not set

I (353) system_api: read default base MAC address from EFUSE

I (373) esp_eth.netif.netif_glue: b4:8a:0a:14:52:f3

I (373) esp_eth.netif.netif_glue: ethernet attached to netif

I (4373) eth_example: Ethernet Started

在这里就停下来了。

william hill官网 高手和乐鑫技术支持大牛们指点一下。

更多回帖

发帖
×
20
完善资料,
赚取积分