I’m using the STM32L476 discovery kit to test an application where a battery-powered product powers up a USB memory stick, connects to it, writes some data, and then shuts the stick down again, removing power. I've used the STM32 Cube to generate the...