你(们)好!
原始线程已关闭/锁定、因此我需要打开另一个线程
我在新版本8.6中进行了这方面的尝试。 但是、该问题仍然存在、示例在不进行下电上电的情况下无法重新运行、仅进行软复位是不够的。
例如、提到的示例(examples\networking\lwip\enet_lwip_cpsw\am64x-evm\r5fs0-0_FreeRTOS)不会完全关闭。 重新运行该程序会产生与先前 SDK 版本相同的错误:
==========================
ENET LWIP App
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 3 To 2
Mdio_open: MDIO Manual_Mode enabled
EnetPhy_bindDriver: PHY 0: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
PHY 0 is alive
PHY 1 is alive
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : ac:1f:0f:8b:59:b5
Host MAC address-0 : 70:ff:76:1e:ab:72
[LWIPIF_LWIP] NETIF INIT SUCCESS
[LWIPIF_LWIP] Enet has been started successfully
[0]status_callback==UP, local interface IP is 0.0.0.0
[1]status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex
MAC Port 1: link up
link_callback==UP
link_callback==UP
5. 72s : CPU load = 3.55 %
10. 72s : CPU load = 2.98 %
Function called without core lockASSERT: 11.916611s: /nightlybuilds/mcupsdk_internal/jenkins/mcu_plus_sdk_am64x_08_06_00_43/source/networking/lwip/lwip-port/freertos/src/sys_arch.c:sys_check_core_locking:614: 0 failed !!!
==========================
ENET LWIP App
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 3 To 2
Mdio_open: MDIO Manual_Mode enabled
EnetUdma_openRxCh: [Enet UDMA] UDMA RX Channel open failed: 0xffffffff
EnetHostPortDma_open: Failed to open Enet DMA RX channel: -1
Cpsw_openInternal: CPSW: Failed to open CPSW DMA
Assertion @ Line: 1026 in /nightlybuilds/mcupsdk_internal/jenkins/mcu_plus_sdk_am64x_08_06_00_43/source/networking/enet/core/src/per/V1/cpsw.c: hCpsw->hRxRsvdFlow != NULL
