Console debug not working with MCUExpresso 10.0.2 and OM13092 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Console debug not working with MCUExpresso 10.0.2 and OM13092 board

2,501 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

1,435 Views
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 Kudos
Reply

1,435 Views
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 Kudos
Reply

1,435 Views
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 Kudos
Reply