Hi everyone,
I'm using ses IDE to debug via J-link on nRF52840 DK.
I'm debbuging CDC ACM example (I haven't changed it) but when I debug: ret = app_usbd_cdc_acm_write(&m_app_cdc_acm, m_tx_buffer, size) I have that ret is not NRF_SUCCESS,
Why?
BR
Hi everyone,
I'm using ses IDE to debug via J-link on nRF52840 DK.
I'm debbuging CDC ACM example (I haven't changed it) but when I debug: ret = app_usbd_cdc_acm_write(&m_app_cdc_acm, m_tx_buffer, size) I have that ret is not NRF_SUCCESS,
Why?
BR
Yes, I have DEBUG defined in my preprocessor defines.
How can I view the logger output?
Sorry but I'm new at programming with SES
BR
Hello,
alexlöddeköpinge said:Yes, I have DEBUG defined in my preprocessor defines.
Great!
alexlöddeköpinge said:How can I view the logger output?
The USB CDC ACM example uses the UART logger backend by default.
Are you familiar with using serial terminals?
If you open a serial terminal, like PuTTY or Termite, and open the port to which the device is connected, then you should see outputs by the device when it is running. It will print some messages as the application initializing, and then again if it encounters some error or receives data through the USB.
Please let me know if you are not able to see the messages outputted by the device to the logger.
alexlöddeköpinge said:Sorry but I'm new at programming with SES
Welcome! No need to apologize, we've all been new to it at some point! :)
Please do not hesitate to ask if you should encounter any issues or questions!
Best regards,
Karl
Hello,
alexlöddeköpinge said:Yes, I have DEBUG defined in my preprocessor defines.
Great!
alexlöddeköpinge said:How can I view the logger output?
The USB CDC ACM example uses the UART logger backend by default.
Are you familiar with using serial terminals?
If you open a serial terminal, like PuTTY or Termite, and open the port to which the device is connected, then you should see outputs by the device when it is running. It will print some messages as the application initializing, and then again if it encounters some error or receives data through the USB.
Please let me know if you are not able to see the messages outputted by the device to the logger.
alexlöddeköpinge said:Sorry but I'm new at programming with SES
Welcome! No need to apologize, we've all been new to it at some point! :)
Please do not hesitate to ask if you should encounter any issues or questions!
Best regards,
Karl