AnsweredAssumed Answered

lpcxpresso54608_rtos_examples_freertos_usart

Question asked by JohnU on Jun 14, 2017
Latest reply on Jun 20, 2017 by JohnU

Hi,

 

"lpcxpresso54608_rtos_examples_freertos_usart" debug problem

 

The example works fine if it is just resumed in debug mode.

When any breakpoint is added or step over used inside uart_task() the debug hangs on eg. USART_RTOS_Init() or USART_RTOS_Send(). Suspend does not work then.

On "Terminate" I get "Connection is shut down" after long time.

When I restart debugging again I get the error:

"Flash Driver V.2 dynamic startup ignored - driver Init provided no info in STATUS. op Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc13 - No supported SPIFI device..."

 

Less important debug topic in SDK usart examples:

In examples "lpcxpresso54608_driver_examples_usart_interrupt_transfer" and "lpcxpresso54608_driver_examples_usart_interrupt_rb_transfer" I observed an another issue during debuging.

Callback is often not noticed during step over "while (txOnGoing) {}". The simplest workaround is set a breakpoint after the loop before the loop is reached.

 

SDK_2.x_LPCXpresso54608 2.2.0

MCUXpresso IDE v10.0.0 [Build 344] [2017-03-21]

Eval Board OM13092 / LPCXpresso54608 rev.B

 

best regards

J.

Outcomes