HardFault on Network IP address change Nucleo-H723ZG Platform

Sean Liming 4,591 Reputation points
2023-06-07T19:41:41.1266667+00:00

Trying posting this again:

I am using the STM32Cube (IDE 1.12.0) tools to develop a simple network application in Azure RTOS on the Nucleo-H723G platform. I successfully imported and ran the online workshop NetX Duo Webserver project. The project is based on an older Azure RTOS package set. I created a new project with the latest packages, and enabled all the Azure RTOS and MCU setting equivelent to the workshop example. The firmware pops a hardfaul on the nx_ip_address_change_notify. Specifically, the tx_mutex_get is where the fault occures. What should I be looking for in this hardfauly to determine the root cause?

One item to note: If I download and run the workshop firmware, and then install my firmware, the new firmware runs. If the board is powered down and then powered back up, the firmware faults.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
331 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sean Liming 4,591 Reputation points
    2023-06-09T05:20:30.4666667+00:00

    @LeelaRajeshSayana-MSFT and @bo chen

    Removed Ethernet initialization, which got past the Hardfault. Now, the code fails on the DHCP semaphore. It appears the network stack never sends out the request for an address, and the call back on the semaphore is never made.

    Still no resolution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.