This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDSCNCD263P:ENET 示例:PHY 回送示例故障

Guru**** 1826070 points
Other Parts Discussed in Thread: TMDSCNCD263P, SYSCONFIG, UNIFLASH
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1321946/tmdscncd263p-enet-examples-phy-loopback-example-failure

器件型号:TMDSCNCD263P
主题中讨论的其他器件: SysConfigUNIFLASH

您好!

我曾尝试使用 mcu_plus_sdk_am263px_09_01_00_20中的两个 Enet 示例、但这两个示例都无法通过 DHCP 获取 IP 地址。 例如: enet_lwip_cpsw_am263px-cc_r5fs0-0_freertos_ti-arm-clang

终端输出为:

==========================
      ENET LWIP App       
==========================
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
Link Status Changed. PHY: 0x0, state: up
EnetPhy_bindDriver:1828 
PHY 0 is alive
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : 70:ff:76:1f:60:20
[LWIPIF_LWIP] Enet has been started successfully
[0]status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
Cpsw_handleLinkUp:1629 
MAC Port 2: link up
link_callback==UP
      5. 44s : CPU load =   1.17 %
     10. 44s : CPU load =   0.98 %

IP 地址始终为0。

我所使用的电缆与 插入示波器的电缆相同、我可以在其中访问其 http 服务器。 因此、布线和路由器 DHCP 运行良好。

RJ45 LED 指示如下:

  左侧(最靠近 USB-C):稳定黄色。

  右侧:间歇性绿色。

请您确认是否有任何示例在 TMDSCNCD263P 上正确开箱运行。

谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    最初,当在应用程序中初始化 netif 时(在开发板通过 DHCP 获取 IP 之前),IP 地址将显示为0.0.0.0。 您可以看到、在本例中、我在15秒后获得了 IP 地址、我的 DHCP 服务器花费了很长的时间来分配 IP 地址。

    我尝试在 TMDSCNCD263P 处理器 E2板上运行 mcu_plus_SDK 09_01_00_20 enet_lwip_cpsw 示例。 我能够获得 IP 地址。 我还能够对板执行 Ping 操作、

    在下面附加我的日志:

    ==========================
          ENET LWIP App       
    ==========================
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    Link Status Changed. PHY: 0x0, state: up
    EnetPhy_bindDriver:1828 
    PHY 0 is alive
    Starting lwIP, local interface IP is dhcp-enabled
    [LWIPIF_LWIP] NETIF INIT SUCCESS
    Host MAC address-0 : 70:ff:76:1e:5e:df
    [LWIPIF_LWIP] Enet has been started successfully
    [0]status_callback==UP, local interface IP is 0.0.0.0
    UDP server listening on port 5001
    Cpsw_handleLinkUp:1629 
    MAC Port 2: link up
    link_callback==UP
          5. 44s : CPU load =   1.20 %
         10. 44s : CPU load =   1.00 %
         15. 44s : CPU load =   0.99 %
    [0]status_callback==UP, local interface IP is 172.24.227.239
         20. 44s : CPU load =   1.01 %
         25. 44s : CPU load =   1.01 %
     

    现在、在您的案例中、我的怀疑是2件事:

    1.您的板版本号。 您能分享您的 PCB 编号吗? 是 E1还是 E2?

    2.您能确保 DHCP 服务器运行正常吗? 由于开箱即用示例在不需要任何修改的情况下可以正常工作、因此图片中的下一个示例是可能无法按预期工作的 DHCP 服务器。

    此致、

    Shaunak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Shaunak:

    非常感谢您的检查。

    1.我没有标签在那个位置,但在 HSEC 旁边的另一侧,它说 PROC159E2(001 )。 您的怀疑是什么?

    2.我很确定 DHCP 能够正常工作,因为正如我所提到的,我的示波器使用的是同一条电缆,并且自动为它分配了一个 IP 地址。

    昨天的测试是在家里完成的。 我今天再次在办公室测试了相同的结果。 这次我一直等到软件达到置位:

    ==========================
          ENET LWIP App       
    ==========================
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    Link Status Changed. PHY: 0x0, state: up
    EnetPhy_bindDriver:1828 
    PHY 0 is alive
    Starting lwIP, local interface IP is dhcp-enabled
    [LWIPIF_LWIP] NETIF INIT SUCCESS
    Host MAC address-0 : 70:ff:76:1f:60:20
    [LWIPIF_LWIP] Enet has been started successfully
    [0]status_callback==UP, local interface IP is 0.0.0.0
    UDP server listening on port 5001
    Cpsw_handleLinkUp:1629 
    MAC Port 2: link up
    link_callback==UP
          5. 44s : CPU load =   1.17 %
         10. 44s : CPU load =   0.97 %
         15. 44s : CPU load =   1.04 %
         20. 44s : CPU load =   1.05 %
         25. 44s : CPU load =   1.07 %
         30. 44s : CPU load =   1.04 %
         35. 44s : CPU load =   1.03 %
         40. 44s : CPU load =   1.17 %
         45. 44s : CPU load =   1.15 %
         50. 44s : CPU load =   1.08 %
         55. 44s : CPU load =   1.10 %
         60. 44s : CPU load =   1.04 %
         65. 44s : CPU load =   1.04 %
         70. 44s : CPU load =   1.05 %
         75. 44s : CPU load =   1.04 %
         80. 44s : CPU load =   1.02 %
         85. 44s : CPU load =   1.03 %
         90. 44s : CPU load =   1.11 %
         95. 44s : CPU load =   1.14 %
        100. 44s : CPU load =   1.10 %
        105. 44s : CPU load =   1.10 %
        110. 44s : CPU load =   1.08 %
        115. 44s : CPU load =   1.05 %
        120. 44s : CPU load =   1.04 %
        125. 44s : CPU load =   1.06 %
    delete meASSERT: 126.668921s: /nightlybuilds/mcupsdk_internal/jenkins/mcu_plus_sdk_am263px_09_01_00_20/source/networking/lwip/lwip-stack/src/core/inet_chksum.c:inet_cksum_pseudo_partial_base:416: 0 failed !!!
    
    

    我接下来可以尝试哪些诊断方法?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    1. PROC E1版本板上的 MDIO 有问题。 由于您的文件是 E2、我们在此很安全

    2.明白了。 只是想确定一下

    您能否进行以下实验并告诉我您看到了什么?

    1.您可以运行开箱即用的 CPSW 环回示例、打印统计数据并验证 Rx 和 Tx 是否按预期运行?  您能否在不使用引导模式的情况下尝试此操作?  

    software-dl.ti.com/.../EVM_SETUP_PAGE.html

    是否使用 CCS 编译工程并加载文件? 如果需要、CCS 版本是什么。 我建议将 CCS 12.5与 SDK v09.01配合使用。

    此致、

    Shaunak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Shaunak:

    谢谢你。

    下面是我的结果:

    MAC 环回  (所有测试均通过)

     
     0: Internal MAC loopback 
     1: External PHY loopback 
     
     Enter option: 0
    =============================
     Enet Loopback: Iteration 1 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Received 5000 packets
    Delete EnetApp_rxTask() and exit..
    Transmitted 5000 packets 
    Delete EnetApp_txTask() and exit..
    
     Port 0 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    
     Port 1 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    Cpsw_handleLinkDown:1655 
    Test complete: PASS
    =============================
     Enet Loopback: Iteration 2 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Received 5000 packets
    Delete EnetApp_rxTask() and exit..
    Transmitted 5000 packets 
    Delete EnetApp_txTask() and exit..
    
     Port 0 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    
     Port 1 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    Cpsw_handleLinkDown:1655 
    Test complete: PASS
    =============================
     Enet Loopback: Iteration 3 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 1 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Received 5000 packets
    Delete EnetApp_rxTask() and exit..
    Transmitted 5000 packets 
    Delete EnetApp_txTask() and exit..
    
     Port 0 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    
     Port 1 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    Cpsw_handleLinkDown:1655 
    Test complete: PASS
    =============================
     Enet Loopback: Iteration 4 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 1 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Received 5000 packets
    Delete EnetApp_rxTask() and exit..
    Transmitted 5000 packets 
    Delete EnetApp_txTask() and exit..
    
     Port 0 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    
     Port 1 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    Cpsw_handleLinkDown:1655 
    Test complete: PASS
    =============================
     Enet Loopback: Iteration 5 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 1 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Received 5000 packets
    Delete EnetApp_rxTask() and exit..
    Transmitted 5000 packets 
    Delete EnetApp_txTask() and exit..
    
     Port 0 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    
     Port 1 Statistics
    -----------------------------------------
      rxGoodFrames            = 5000
      rxBcastFrames           = 5000
      rxOctets                = 2590000
      txGoodFrames            = 5000
      txBcastFrames           = 5000
      txOctets                = 2590000
      octetsFrames512to1023   = 10000
      netOctets               = 5180000
      txPri[0]                = 5000
      txPriBcnt[0]            = 2590000
    
    Cpsw_handleLinkDown:1655 
    Test complete: PASS
    Loopback application completed
    All tests have passed!!
    
    

    PHY 环回 (第二项测试不表明通过或失败。 这是否表示某种原因?)

     0: Internal MAC loopback 
     1: External PHY loopback 
     
     Enter option: 1
    =============================
     Enet Loopback: Iteration 1 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    EnetPhy_bindDriver:1828 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Cpsw_handleLinkUp:1629 
    

    2.我将 CCS12.5与  MCU_PLUS_SDK_am263px_09_01_00_20配合使用。  我使用了 DevBoot 模式。 BTW、我认为图片标题"no boot mode"没有标签。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    1.您使用的 syscfg 版本是什么? 理想情况下应为1.18

    MAC 环回测试结果似乎正常、但我看到您的 PHY 环回测试结果有问题

    测试应通过此处所示的输出: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/latest/exports/docs/api_guide_am263px/EXAMPLES_ENET_CPSW_LOOPBACK.html#autotoc_md1866

    Kier、这似乎是硬件设置的一些问题。 开箱即用示例工作正常、我在最后验证了 enet_lwip_cpsw、enet_loopback 示例。

    我建议您检查以下各项:

    1.确保 sycfg 版本正确

    2.确保为 AM263Px 设备提供正确的电源

    3.确保正确的硬件设置。

    您能检查一下并回来吗? 然后我们可以进一步讨论。

    此致、
    Shaunak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    1.您能告诉我所用示例的 syscfg 版本吗? 在最新的 syscfg 版本中有一些器件数据更改。

    2.另一种可以尝试的方法是通过 SBL 空引导模式而不是 CCS 加载示例? 如果您不熟悉这个、请告诉我。 来共享这些步骤。

    此致、

    苏尔比

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Shaunak:

    1. SysConfig 版本1.18.0

    2.我使用 Thunderbolt 底座提供的 USB-C 电源。 不指示电源状态不佳。

    3.对于回送测试,我应该检查哪些硬件设置?

    我尝试了 同事的板。 结果相同:

     
     0: Internal MAC loopback 
     1: External PHY loopback 
     
     Enter option: 1
    =============================
     Enet Loopback: Iteration 1 
    =============================
    CPSW_3G Test
    EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 
    EnetPhy_bindDriver:1828 
    PHY 0 is alive
    initQs() txFreePktInfoQ initialized with 16 pkts
    Cpsw_handleLinkUp:1629 
    
    

    这是我的电路板照片。 是否有任何跳线放置错误?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Surbhi:

    1. SysCfg 版本1.18.0。

    2、好的、我将尝试使用 SBL 引导、但这里的理论是什么? 引导源为什么会有什么不同?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    我们在使用 CCS GEL 文件加载 AM263P 板时遇到了问题。 GEL 文件无法设置 PLL 时钟、因此无法设置 RX 时钟、这就是为什么没有接收到数据的原因。 在电路板上刷写 SBL 为空值、并在删除 CCS GEL 文件后加载应用文件会有所帮助。

    如果有帮助、请告诉我。

    此致、

    苏尔比

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Surbhi:

    我在将程序刷写为由 SBL 引导时遇到困难。

    我设置 DEVBOOT 模式、循环通电、然后使用具有以下文件的 UNIFLASH:

    但是、刷写未完成:

    volume_downVerboseClearClose
    [07/02/2024, 08:55:16] [INFO] Cortex_R5_0: GEL Output: Gel files loading on R5F0 Complete
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: ***OnTargetConnect() Launched***
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: AM263Px Initialization Scripts Launched. Please Wait...
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: AM263Px_Cryst_Clock_Loss_Status() Launched
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Crystal Clock present
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: AM263Px_SOP_Mode() Launched
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: SOP MODE = 0x0000000B
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: DevBoot mode
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: AM263Px_Read_Device_Type() Launched
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: EFuse Device Type Value = 0x000000AA
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: AM263Px_dual_or_lockstep_mode() Launched
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: r5fss0 = 0x00000101
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: r5fss1 = 0x00000100
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS0 is in Lockstep mode
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS1 is in Lockstep mode
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: MSS_CTRL Control Registers Unlocked
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: MSS_TOP_RCM Control Registers Unlocked
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: MSS_RCM Control Registers Unlocked
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: MSS_IOMUX Control Registers Unlocked
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: TOP_CTRL Control Registers Unlocked
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: *** R5FSS0 Reset DualCore ***
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: ***R5FSS1 Reset DualCore ***
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5F ROM Eclipse
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS0_0 Released
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS0_1 Released
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS1_0 Released
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: R5FSS1_1 Released
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: L2 Mem Init Complete
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: MailBox Mem Init Complete
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: *********** R5FSS0/1 Dual Core mode Configured********
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: PER PLL Configuration Complete
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: SYS_CLK DIVBY2
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: CLK Programmed R5F=400MHz and SYS_CLK=200MHz
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: *** Enabling Peripheral Clocks ***
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling RTI[0:3] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling RTI_WDT[0:3] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling UART[0:5]/LIN[0:5] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling QSPI Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling I2C Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling TRACE Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling MCAN[0:3] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling MMCSD Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling MCSPI[0:4] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling CONTROLSS Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling CPTS Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling RGMI[5,50,250] Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling XTAL_TEMPSENSE_32K Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: Enabling XTAL_MMC_32K Clocks
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: GEL Output: ***All IP Clocks are Enabled***
    [07/02/2024, 08:55:17] [INFO] Cortex_R5_0: AM263Px
    [07/02/2024, 08:55:18] [INFO] Cortex_R5_0: Writing 1 chunk at offset 0x0
    [07/02/2024, 08:55:39] [ERROR] Cortex_R5_0: Run failed...
    [07/02/2024, 08:55:39] [ERROR] Cortex_R5_0: File Loader: Memory write failed: Timed out waiting for target to halt while executing am263px_flasher.out
    [07/02/2024, 08:55:39] [INFO] Cortex_R5_0: Writing 1 chunk at offset 0x0
    [07/02/2024, 08:56:00] [ERROR] Cortex_R5_0: Run failed...

    同时、我会收到"无法重置闪存!! 0"的终端窗口中。

    "你干嘛啊?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    您能否将器件从 AM263Px 更改为 AM263Px (串行)、将引导模式更改为 UART 引导模式(SW6->1000)。 加载 sbl_null.release.tiimage。

    在 CCS 中、双击 AM263px-cc 目标配置、在高级部分中选择 Cortex_R5_0、并删除初始化脚本字段中的 CSP GEL 文件路径。

    重新加载并运行应用二进制文件。

    此致、
    苏尔比

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Surbhi / Shaunak、

    您能否确认您是如何测试 Enet PHY 环回的。 它在 DevBoot 中是否工作?  如果是、那么我花精力使用 SBL 是很小的、因为引导模式不能成为原因。

    谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    它在发布之前在 DEV 引导模式下进行了测试。 此外、在测试时还在电路板上刷写 SBL NULL、然后将.out 二进制文件旁扫。

    SBL 可能不是问题、但 GEL 脚本可能会出现问题。 正如 Surbhi 所述、GEL 文件错误地配置 PLL 时钟以及 Rx 时钟时会出现问题。 因为我们看到 PHY 环回发生故障、所以这在这里似乎也是个问题。  

    不使用 UNIFLASH 工具、刷写 SBL NULL 的另一种更快速的方法是:

    1.关闭电源并将器件设置为 UART 引导模式

    2.在您的 SDK 中,打开  tools/boot/ 文件夹,然后在此处启动您的命令提示符

    3.使用下面共享的命令将 SBL NULL 刷写到您的器件中(将 具有正确的 COM 端口)

    python uart_uniflash.py -p COM<xx> --cfg=sbl_prebuilt\am263px-cc\default_sbl_null.cfg

    4.关闭电源并将设备设置为 OSPI 引导模式。 打开电源。

    5.在 CCS 终端中、您现在应该会看到 SBL NULL 日志、而一旦您连接到内核、就加载.out 二进制应用程序。

    6.运行 PHY 环回测试

    此致、

    Shaunak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Kier:

    在开发引导模式下、一些 PLL 时钟未通过 GEL 文件脚本进行设置。

    为了实现简单的解决方法、请将引导模式更改为 OSPI 引导模式 SW6 (1100)、并按原样加载二进制文件。

    我已经和核心 MCU 团队沟通过、这是优先级问题、devboot 将很快修复。 它会让您了解最新情况。

    请求、

    苏尔比