This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 DK DEBUGGER

Hello everyone.

I have a nRF52840 DK that I am working with.

1.)  When I plug into the USB port J2 (MCU interface) I am able to connect to the board program/debug using the Segger Embedded Studio (SES).

2.) But when I do this I have no access to the virtual COM port that I am using for logging - this seems to also use the port J2.

3.)  If I flash the board, close SES and power cycle the nRF52840 DK, I am then able to see the data on the COM port to my PC from the connection to J2 on the dev board.

4.) Question :  it possible to use the USB based debugger on J2 and receive the serial logging information at the same time? ( I thought there might be a way to do this with an additional window within the debugger.)

Thank you for your comments.

-Mike  

  • I have not heard of any issue of opening a serial port window (e.g. tera term) while debugging in SES. This is very common setup.

    Can it be that you are mixing UART with RTT? If you are using the logger module you can choose between UART and RTT as backend to output logging, when using RTT the logging will be displayed in SES while debugging.

    You may in any case try to update for instance nrf command line tools, maybe there is an update that affect what you experience. Do you see the same if you use for instance use the UART example as-is?

    Are you using an USB hub? Maybe try to connect to a USB port on the PC directly for a try.

    Kenneth

  • Thank you for the response Kenneth.

    I made the assumption that since the USB port was being used by the debugging session in SES that the port would not be available for logging to the virtual COM port simultaneously.

    But it turns out that this does work.  I am indeed able to running the debugging session via USB and with that same connection to the PC, open up a terminal program and view my logging.

    Thanks for the post!

    -Mike

Related