Hi,
I'm looking at the zephyr cdc_acm_composite example.
Is it possible to configure zephyr logging module to use the second usb as output?
Br
Hi,
I'm looking at the zephyr cdc_acm_composite example.
Is it possible to configure zephyr logging module to use the second usb as output?
Br
Hello,
Our nRF52840 dongle had one USB output port. I am not sure what would you like to mean when you say ''second usb''. Though nRF52840 DK has 2 USB outputs. Did you mean the DK?
Thanking you.
Best Regards,
Kazi Afroza Sultana
Sorry was poorly explained by me. The cdc acm composite example creates two com ports from the dongle, I was wondering if there was any example that uses one of the uart/com-ports for the logging module?
I guess there is more to it than just setting:
Sorry was poorly explained by me. The cdc acm composite example creates two com ports from the dongle, I was wondering if there was any example that uses one of the uart/com-ports for the logging module?
I guess there is more to it than just setting:
Hello,
This is the example https://docs.zephyrproject.org/latest/reference/usb/uds_cdc_acm.html#console-over-cdc-acm-uart you can look at.
Best Regards,
Kazi Afroza Sultana
Hi, thank you! This worked, now I got both logging and printk working, printing to either uart0 or uart1.
Is there a way to differentiate the two of them? Make logging output to uart1 and printk output to uart0?
Since I only have the dongle and no debug alternatives my goal is to use uart1 for logging and debugging, and uart0 for the actual application. I can probably use the zephyr UART API for uart0/application but the functionality of printk makes everything much easier.
Hi,
Dongle is not designed for debugging. You can find the tutorial of dongle here nRF52840 Dongle Programming Tutorial - Getting Started - nRF5 SDK guides - Nordic DevZone (nordicsemi.com). You better try this with nRF52840 DK.
Best Regards,
Kazi Afroza Sultana