AnsweredAssumed Answered

FreeRTOS project using fsl_shell and freertos_uart_frdmk64f example

Question asked by aes_mike on Jan 13, 2017
Latest reply on Jan 18, 2017 by xiangjun.rong

We have a test project using KDS 3.2.0 and KSDK 2.0.0 for the K64F.  See attached zip file.


We created a new project that includes FreeRTOS and we are attempting to use fsl_shell.  We are using the demo project freertos_uart_frdmk64f as a guide in terms of communications with UART. 


Anyway, when we run this code we get a hard fault.


If we remove "NVIC_SetPriority( UART0_RX_TX_IRQn, 5 );" in the beginning of main, then we get      configASSERT( ucCurrentPriority >= ucMaxSysCallPriority );  in the function vPortValidateInterruptPriority().


 Any suggestions on what we are doing wrong?


I am new to FreeRTOS and so still learning.  We have done lots of bare metal projects using KDS 1.3.0 with good success.  For our target board we are running a bare-metal project and that works just fine.

Original Attachment has been moved to: