Unable to keep serial port open after reset - USBD_VCOM library

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User21105
Level 1
Level 1
Hi all, I'm new to microcontroller programming.

I'm writing an app based on the USBD_VCOM library, running on XMC4800 Relax kit.
I'm using Putty and Windows10 as master for my USB-COM communication.

Looks like I can't open putty before I launch the debug session.
This makes sense and I believe has to do with the fact that the enumeration (and therefore the association of the COM number is carried out by "DAVE_Init(void)")
So if I don't launch the program, there is nothing for Putty to connect with.

My question is:
would it be possible open Putty first on the expected COM port (which is always the same) and only then start my application?


I'm happy to change my terminal sw should Putty be inadequate for any reason.

Thanks and regards,
Alessandro
0 Likes
0 Replies