AnsweredAssumed Answered

UART problem with FRDMKL03 (with KDSK + PE + FreeRTOS)

Question asked by vcanuel on Nov 28, 2014
Latest reply on Nov 30, 2014 by Mark Butcher

Hi,

 

I am trying to setup an environment under KDS with the new FRDMKL03. For that, I use Processor Expert to setup everything.

 

My goal is simple : output the stout to uart (which runs fine with demos provided).

 

I have tried it in 2 ways.

 

1/ Use Hal UART directly

 

But It hungs up on LPUART_HAL_IsTxDataRegEmpty (always false).

 

Capture d’écran 2014-11-28 à 16.36.33.png

 

2 / Use fsl_debug_console.

 

But it does not solve my issue, and hangs up on Reserved 45_IRQHandler(). ( issue occurs even if I printf first or wait for task creation)

 

Capture d’écran 2014-11-28 à 13.04.06.png

 

Capture d’écran 2014-11-28 à 12.44.18.png.

How do I correct this ? Do i have to import a specific .c in my path to handle this or correct my setup in PE ?


Thanks in advance,

 

P.S : My project uses FreeRTOS and KSDK.

Outcomes