Console debug not working with MCUExpresso 10.0.2 and OM13092 board

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

Console debug not working with MCUExpresso 10.0.2 and OM13092 board

2,715件の閲覧回数
jean-lucbuisson
Contributor I

Hi everybody,

I just replay the run/debug sample video for OM13092 board and MCUExpresso 10.0.2

I import the GPIO example from SDK board, exactly like video show.

Every thing is working fine, the software is running in debug mode, when I push the button, led light, ...

except I can't see the "printf" in debug console.

I try "Quick settings=>SDK Debug console=>Semihostconsole"

I have verified the related "define"

No way

OS: Windows 7 32 bits.

Thank you for your help 

JL

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,649件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Jean,

When you import SDKv2.x example, do not choose "Redirect printf/scanf to UART",

the printf will shows on Console window. While ,if you enable it , it will print to UART.

Please check whether this can help you .

pastedImage_1.png


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,649件の閲覧回数
jean-lucbuisson
Contributor I

Hi Alice,

Thank's for your reply.

I don't validate this option, only "Redirect SDK PRINTF to C Library printf"

I retry to be sure but no result.

I think I have selected the good options, but ...

My settings :

   Preprocessor: SDK_DEBUGCONSOLE=0

   Libraries:  fsl_power_lib and Redlib (semihost-nf)

No result at this time, I can't see "printf" in console view.

May be it is necessary to have a particulary console view ?

I use the default probe : "LPC-LINK2 CMSIS-DAP V5.182" and the USB link as seen in the demo video, is it OK ?

Any idea ?

Greatest thank's

JL

0 件の賞賛
返信

1,649件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi,

Sorry I haven't this board, and how about configure this   Preprocessor: SDK_DEBUGCONSOLE=0 to "1" ?
Which SDK version do you used ? Could you please show the code about printf.

I'm thinking it is better to print to UART terminal.

BR

Alice

0 件の賞賛
返信