<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis Software Development KitのトピックFreeRTOS project using fsl_shell and freertos_uart_frdmk64f example</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FreeRTOS-project-using-fsl-shell-and-freertos-uart-frdmk64f/m-p/615719#M6412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a test project using KDS 3.2.0 and KSDK 2.0.0 for the K64F.&amp;nbsp; See attached zip file.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We created a new project that includes FreeRTOS and we are attempting to use fsl_shell.&amp;nbsp; We are using the demo project freertos_uart_frdmk64f as a guide in terms of communications with UART.&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, when we run this code we get a hard fault.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we remove "NVIC_SetPriority( UART0_RX_TX_IRQn, 5 );" in the beginning of main, then we get&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; configASSERT( ucCurrentPriority &amp;gt;= ucMaxSysCallPriority );&amp;nbsp; in the function vPortValidateInterruptPriority().&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any suggestions on what we are doing wrong?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to FreeRTOS and so still learning.&amp;nbsp; We have done lots of bare metal projects using KDS 1.3.0 with good success.&amp;nbsp; For our target board we are running a bare-metal project and that works just fine.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338702"&gt;Test_RTOS_fsl_shell.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 14:12:45 GMT</pubDate>
    <dc:creator>aes_mike</dc:creator>
    <dc:date>2017-01-13T14:12:45Z</dc:date>
    <item>
      <title>FreeRTOS project using fsl_shell and freertos_uart_frdmk64f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FreeRTOS-project-using-fsl-shell-and-freertos-uart-frdmk64f/m-p/615719#M6412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a test project using KDS 3.2.0 and KSDK 2.0.0 for the K64F.&amp;nbsp; See attached zip file.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We created a new project that includes FreeRTOS and we are attempting to use fsl_shell.&amp;nbsp; We are using the demo project freertos_uart_frdmk64f as a guide in terms of communications with UART.&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, when we run this code we get a hard fault.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we remove "NVIC_SetPriority( UART0_RX_TX_IRQn, 5 );" in the beginning of main, then we get&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; configASSERT( ucCurrentPriority &amp;gt;= ucMaxSysCallPriority );&amp;nbsp; in the function vPortValidateInterruptPriority().&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any suggestions on what we are doing wrong?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to FreeRTOS and so still learning.&amp;nbsp; We have done lots of bare metal projects using KDS 1.3.0 with good success.&amp;nbsp; For our target board we are running a bare-metal project and that works just fine.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338702"&gt;Test_RTOS_fsl_shell.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 14:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FreeRTOS-project-using-fsl-shell-and-freertos-uart-frdmk64f/m-p/615719#M6412</guid>
      <dc:creator>aes_mike</dc:creator>
      <dc:date>2017-01-13T14:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS project using fsl_shell and freertos_uart_frdmk64f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FreeRTOS-project-using-fsl-shell-and-freertos-uart-frdmk64f/m-p/615720#M6413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Aes,&lt;/P&gt;&lt;P&gt;Pls refer to the example:&lt;/P&gt;&lt;P&gt;C:\DriverE\Freescale\SDK2.0_FRDM_K64F\boards\frdmk64f\rtos_examples\freertos_dspi\kds&lt;/P&gt;&lt;P&gt;As the configMAX_SYSCALL_INTERRUPT_PRIORITY is set up as 5, you should set the peripheral interrupt greater than 5.&lt;/P&gt;&lt;P&gt;How about using the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_SetPriority(UART0_RX_TX_IRQn, 6);&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 08:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FreeRTOS-project-using-fsl-shell-and-freertos-uart-frdmk64f/m-p/615720#M6413</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-01-18T08:49:52Z</dc:date>
    </item>
  </channel>
</rss>

