cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK 5.0 User code wont execute

jonatan blom
Associate
Posted on June 14, 2018 at 10:50

Hi,

I�m developing an application using Nucleo-f446re and MCSKD, but the program never reaches the 

user code while loop. I have made a super simple example that tries to turn on user LED on PA5. I generated the code from mcsdk and added a line in the while loop to turn on the led. If I run the debugger in TrueSTUDIO it stops debugging after the lines below (from MX_NVIC_Init()), if I comment out these lines the program runs. What do they do and how do I resolve this? Also what is the correct way to use MCSDK when you are done with  motor control workbench and don�t need those UI parts anymore?    

HAL_NVIC_SetPriority(TIM1_BRK_TIM9_IRQn, 4, 1);

HAL_NVIC_EnableIRQ(TIM1_BRK_TIM9_IRQn);

#mcsdk
0 REPLIES 0