I am developing a board that will need both USB and battery power options, non switched. I put this schematic together that I think is right, but I want to make sure I'm not going to blow the chip. I'm using an STM32F405 100 pin. The nets in the Power Schematic are VIN (From USB), up to VUSB (goes to PA09 on MCU) and then 3.3V output after the LDO regulator
Is this the proper schematic for a USB / Battery powered MCU? I think with this design I can use either 3, or 4 AAs without having to worry about the excess voltage on the VUSB net. The 3.3v should be protected by the LDO, and each power input from each other by the diodes.
I just want to make sure my placement of the components is correct and will not blow my chip if it's being powered by either, and often times both if I'm programming via USB.
*EDIT Something like this?
*EDIT 2 Here are the updates after comments.
*EDIT 3 VBus directly to VIN. Is this what you meant?