How to enable KW41Z BLE Examples semihost debug console?

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

How to enable KW41Z BLE Examples semihost debug console?

772 Views
ashish_patel
Contributor II

Hi,

There is setup of KW41Z based BLE SDK on MCUXPresso IDE.

How could I enable the semihost debug console for ble examples?

The few examples are imported into IDE but when I check "quick setting" > "SDK Debug Console" > there are two options "Semihost Console" and "UART Console" and both are disabled and also "quick setting" > "Set library/header type" > options are also disabled. How should I enable all the options and run any project debug console? 

Please find the attached the images for the above cases.

KW41Z Firmware Details

  • SDK version - 2.2.0
  • Manifest version - 3.0.0
  • Library -  _ble_4-2_host_peripheral_cm0p , _ble_kw41z_controller

Preprocessor

  • SDK_DEBUGCONSOLE=1
  • CR_INTEGER_PRINTF
  • DEBUG
  • And more which are required

I have followed the post of this community before creating the examples in IDE.

"Implement debug output to ble example frdm-kw41z "

So please provide the solution as soon as possible.

Thanks in advance.

Regards,

Ashish

Labels (2)
Tags (2)
1 Reply

545 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Ashish Patel 

Connectivity Sofware implement its own SerialManager drivers, it doesn't use the SDK Debug Console, and therefore it doesn't use the Semihosting debug console. In addition to this, the examples are implemented to work with the normal UART communication.

Hope this helps

Best regards

Jorge Alcala