cancel
Showing results for 
Search instead for 
Did you mean: 

Hard Fault in Azure RTOS NetX Duo NUCLEO-F7 with newly upgraded CubeIDE V1.12

MHoop.1
Senior

Once again.....trying to implement an Azure RTOS NX TCP Server application on the F7 Nucleo board (since H7 processors will not be available any time soon). I ran into a hard fault at the HAL_GetTick instruction below:

  /*-------------------------------- PLL Configuration -----------------------*/
  /* Check the parameters */
  assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
  if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  {
    /* Check if the PLL is used as system clock or not */
    if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL)
    {
      if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
      {
        /* Check the parameters */
        assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource));
        assert_param(IS_RCC_PLLM_VALUE(RCC_OscInitStruct->PLL.PLLM));
        assert_param(IS_RCC_PLLN_VALUE(RCC_OscInitStruct->PLL.PLLN));
        assert_param(IS_RCC_PLLP_VALUE(RCC_OscInitStruct->PLL.PLLP));
        assert_param(IS_RCC_PLLQ_VALUE(RCC_OscInitStruct->PLL.PLLQ));
 
        /* Disable the main PLL. */
        __HAL_RCC_PLL_DISABLE();
 
        /* Get Start Tick */
        tickstart = HAL_GetTick(); <<<<<<<< Hard Fault >>>>>>

This is using a newly updated CubeIDE (V1.12) and imported example code.

Any sage advice?

thx

Mikeh

1 ACCEPTED SOLUTION

Accepted Solutions
MHoop.1
Senior

Sorry....operator error. Plugged in the wrong Nucleo board. With the correct Nucleo board I am able to get the basic example running with no problem.

View solution in original post

1 REPLY 1
MHoop.1
Senior

Sorry....operator error. Plugged in the wrong Nucleo board. With the correct Nucleo board I am able to get the basic example running with no problem.