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.

[参考译文] TM4C1294NCPDT:如何使 R5F 具有由 DHCP 分配的动态 IP 地址

Guru**** 2545520 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1021588/tm4c1294ncpdt-hhow-to-make-r5f-have-a-dynamic-ip-address-allocated-by-dhcp

器件型号:TM4C1294NCPDT

大家好、

我们在中找到它

ra\vision_apps\apps\basic_demos\app_tirtos\BIOS_cfg\ndk.cfg (psdk2.0)

我们现在使用静态 IP 地址、但当我们将 enableStaticIp 的值设置为零时、DHCP 函数将不起作用。

那么、如何为 R5F 启用 DHCP 功能。

相关信息

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

    您好!

     首先、TM4C129中使用的内核是 Cortex-M4F、而不是 Cortex-R5F。  

     对于 DHCP、您可以通过单击 GUI 中的"自动获取 IP 地址"复选框在 NDK 中启用 DHCP。  

    我建议您参考 TI-RTOS 中的 TCP 示例。 您可以从 CCS 内的 Resource Explorer 中下载 TI-RTOS NDK 示例。 请参阅下面的内容。 所有这些以太网示例都使用 DHCP。