You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for this, no doubt saved me a tonne of time messing about.
I just had one thing missing after following the guide which looking back at it i see you had set but seemingly not listed in the config steps.
CubeMX creates config where Middleware->FREERTOS_M7->Config Parameters(tab)->LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY deafults to 5
and System Core->NVIC1->NVIC(tab)->Ether Global Priority defaults to 0. This results in calls to osDelay never returning, and sitting in vPortValidateInterruptPriority().
Without this step the DHCP server sees a Request, sends an Offer, but then the board hangs and never sends an ACK, won't reply to pings, and indeed any call to osDelay() just gets stuck as above.
I also had to disable USB device which was enabled by default and prevented setting the clock configuration to anything remotely fast - as the boards are not fitted with an HSE (X2) and thus rely on the HSI by default. As I will be using USB eventually too I have ordered an XTAL for X2.
The text was updated successfully, but these errors were encountered:
First off, thanks for this, no doubt saved me a tonne of time messing about.
I just had one thing missing after following the guide which looking back at it i see you had set but seemingly not listed in the config steps.
CubeMX creates config where Middleware->FREERTOS_M7->Config Parameters(tab)->LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY deafults to 5
and System Core->NVIC1->NVIC(tab)->Ether Global Priority defaults to 0. This results in calls to osDelay never returning, and sitting in vPortValidateInterruptPriority().
Without this step the DHCP server sees a Request, sends an Offer, but then the board hangs and never sends an ACK, won't reply to pings, and indeed any call to osDelay() just gets stuck as above.
I also had to disable USB device which was enabled by default and prevented setting the clock configuration to anything remotely fast - as the boards are not fitted with an HSE (X2) and thus rely on the HSI by default. As I will be using USB eventually too I have ordered an XTAL for X2.
The text was updated successfully, but these errors were encountered: