DbgConsole_TryGetchar in SDK 2.9 iMXRT1062

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DbgConsole_TryGetchar in SDK 2.9 iMXRT1062

1,159件の閲覧回数
krzysztofglinie
Contributor I
I can't find DbgConsole_TryGetchar in SDK 2.9. Does it still exist? How can i implement non-blocking debug console without DbgConsole_TryGetchar and without Free RTOS?
0 件の賞賛
返信
3 返答(返信)

1,148件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @krzysztofglinie,

In the SDK, if you set the following define, the DbgConsole_TryGetchar should be available:

DEBUG_CONSOLE_TRANSFER_NON_BLOCKING

Best Regards,

Alexis Andalon

0 件の賞賛
返信

1,127件の閲覧回数
Nouchi
Senior Contributor II

Hello,

Actually no, because of a macro in fsl_debug_console.h :

#if (defined(DEBUG_CONSOLE_TRANSFER_NON_BLOCKING)) 
#error DEBUG_CONSOLE_TRANSFER_NON_BLOCKING should not be defined. Remove DEBUG_CONSOLE_TRANSFER_NON_BLOCKING from the project setting or defines.
#endif

 

Regards,

Emmanuel

0 件の賞賛
返信

760件の閲覧回数
Scrat
Contributor I

I had the same problem.

If someone happens to be in the same situation: 

I had to check the box "Enable Non-blocking mode" in the device configuration tool for the UART used for the console. Then I was allowed to set DEBUG_CONSOLE_TRANSFER_NON_BLOCKING then it worked.

Different MCU, different SDK, but it may apply to others also.

0 件の賞賛
返信