Design your traces too small ... maybe reverse the voltage going to your MCU. We’ve all cooked a part or two over the years. But what about making a PCB that gets hot on purpose?
Figure 3 shows the brief overview of the test setup. Figure 3: Test Setup Block Diagram The setup consists of USB Tester, PCB board, host PC and the target DUT. The DUT can be based on any target MCU ...